-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix] (inverted index) Disallow variant columns from using inverted index format v1 #43599
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
run buildall |
TPC-H: Total hot run time: 51945 ms
|
fe/fe-core/src/main/java/org/apache/doris/analysis/IndexDef.java
Outdated
Show resolved
Hide resolved
run buildall |
regression-test/data/inverted_index_p2/test_variant_index_format_v1.out
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/analysis/IndexDef.java
Outdated
Show resolved
Hide resolved
...e-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/info/IndexDefinition.java
Outdated
Show resolved
Hide resolved
5cccd9c
to
d7bd773
Compare
run buildall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ndex format v1 (apache#43599) Problem Summary: 1. When the inverted index of a variant column uses storage format v1, schema changes can cause some segments to lack corresponding index files. 2. By using storage format v2 for inverted indexes, all indexes correspond to a single file, and the corresponding files will always exist regardless of whether the variant includes subcolumn indexes. When creating an inverted index for a variant column, file format v1 is not supported
…ndex format v1 (apache#43599) ### What problem does this PR solve? Problem Summary: 1. When the inverted index of a variant column uses storage format v1, schema changes can cause some segments to lack corresponding index files. 2. By using storage format v2 for inverted indexes, all indexes correspond to a single file, and the corresponding files will always exist regardless of whether the variant includes subcolumn indexes. ### Release note When creating an inverted index for a variant column, file format v1 is not supported
…ndex format v1 (apache#43599) Problem Summary: 1. When the inverted index of a variant column uses storage format v1, schema changes can cause some segments to lack corresponding index files. 2. By using storage format v2 for inverted indexes, all indexes correspond to a single file, and the corresponding files will always exist regardless of whether the variant includes subcolumn indexes. When creating an inverted index for a variant column, file format v1 is not supported
…ndex format v1 (apache#43599) Problem Summary: 1. When the inverted index of a variant column uses storage format v1, schema changes can cause some segments to lack corresponding index files. 2. By using storage format v2 for inverted indexes, all indexes correspond to a single file, and the corresponding files will always exist regardless of whether the variant includes subcolumn indexes. When creating an inverted index for a variant column, file format v1 is not supported
…ndex format v1 (apache#43599) Problem Summary: 1. When the inverted index of a variant column uses storage format v1, schema changes can cause some segments to lack corresponding index files. 2. By using storage format v2 for inverted indexes, all indexes correspond to a single file, and the corresponding files will always exist regardless of whether the variant includes subcolumn indexes. When creating an inverted index for a variant column, file format v1 is not supported
What problem does this PR solve?
Problem Summary:
When the inverted index of a variant column uses storage format v1, schema changes can cause some segments to lack corresponding index files.
By using storage format v2 for inverted indexes, all indexes correspond to a single file, and the corresponding files will always exist regardless of whether the variant includes subcolumn indexes.
Release note
When creating an inverted index for a variant column, file format v1 is not supported
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)