mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-11-14 14:56:54 +00:00
I hereby agree to the terms of the [GreptimeDB CLA](https://github.com/GreptimeTeam/.github/blob/main/CLA.md). ## Refer to a related PR or issue link (optional) ## What's changed and what's your intention? This PR adds a `max_row_group_row_count` region option for the Mito engine and wires it through region options, alter handling, flush, and Parquet bulk memtable writing so SST row group sizing can be controlled per region. It also updates inverted index row selection logic so selected row ranges are split correctly across Parquet row group boundaries, and adds SQL/engine tests for creating and flushing regions with the new option. Validation: not run in this session; this PR was created from the existing branch state. ## PR Checklist Please convert it to a draft if some of the following conditions are not met. - [x] I have written the necessary rustdoc comments. - [x] I have added the necessary unit tests and integration tests. - [ ] This PR requires documentation updates. - [x] API changes are backward compatible. - [x] Schema or data changes are backward compatible.