[feat](fe) Show inverted index storage format for partitions#65776
Open
hoshinojyunn wants to merge 1 commit into
Open
[feat](fe) Show inverted index storage format for partitions#65776hoshinojyunn wants to merge 1 commit into
hoshinojyunn wants to merge 1 commit into
Conversation
### What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary: SHOW PARTITIONS did not expose the configured inverted-index storage format or allow users to filter partitions by it. SHOW TABLET STORAGE FORMAT also omitted the inverted-index format and could not inspect Cloud tablets. Add the format column to partition output and filtering, return the tablet schema format from local and Cloud BEs, and include per-tablet and aggregate inverted-index format results. The Cloud regression now writes to every dynamic partition before validating the tablet output, because Cloud tablets are materialized on first write.
### Release note
SHOW PARTITIONS now reports and filters by InvertedIndexStorageFormat. SHOW TABLET STORAGE FORMAT reports inverted-index storage formats for local and Cloud tablets.
### Check List (For Author)
- Test: Regression test
- source ~/.venv/bin/activate && export LOCAL_DORIS_PATH=/mnt/disk1/ganderun/partition_index_format_observability/tmp && ./run-regression-test.sh --run -d cloud_p0 -s test_cloud_show_inverted_index_storage_format -runMode=cloud
- Behavior changed: Yes (SHOW PARTITIONS and SHOW TABLET STORAGE FORMAT expose inverted-index storage formats, including Cloud mode)
- Does this need documentation: No
hoshinojyunn
requested review from
924060929,
englefly,
gavinchou,
morrySnow and
starocean999
as code owners
July 17, 2026 15:36
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary:
Original
inverted_index_storage_formattable property was not visible inSHOW PARTITIONS, this will increase testing costs for subsequent modifications to the partitioned inverted index rolling upgrade. For now, we'll focus on adding observability functionality to the partitioned inverted index format..SHOW TABLET STORAGE FORMATcan also serve as an observable interface.This PR adds
InvertedIndexStorageFormattoSHOW PARTITIONSand supports filtering by that column. It also extendsSHOW TABLET STORAGE FORMATto report per-tablet inverted-index formats inVERBOSEmode and aggregateInvertedIndexV2CountandInvertedIndexV3Countvalues. The local and cloud both return the required schema format information now.Example:
Example results (relevant columns):
Release note
SHOW PARTITIONSnow displays and filters byInvertedIndexStorageFormat.SHOW TABLET STORAGE FORMATnow reports inverted-index storage formats for local and Cloud tablets.Check List (For Author)
Test
regression-test/suites/cloud_p0/test_partition_cloud_inverted_index_format.groovyShowPartitionsCommandTest.javaBehavior changed:
SHOW PARTITIONSandSHOW TABLET STORAGE FORMATexpose inverted-index storage formats, including Cloud mode.Does this need documentation?
Check List (For Reviewer who merge this PR)