-
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
[Improve]delete match_element_xx and add fe config for create inverted index on array #34766
[Improve]delete match_element_xx and add fe config for create inverted index on array #34766
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
clang-tidy review says "All clean, LGTM! 👍" |
@@ -1168,7 +1168,7 @@ nonReserved | |||
| MAP | |||
| MATCH_ALL | |||
| MATCH_ANY | |||
| MATCH_ELEMENT_EQ |
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.
delete others
@@ -2694,6 +2694,9 @@ public static boolean isNotCloudMode() { | |||
@ConfField(mutable = true, masterOnly = true) | |||
public static boolean enable_create_bitmap_index_as_inverted_index = false; | |||
|
|||
@ConfField(mutable = true) | |||
public static boolean enable_create_inverted_index_for_array = false; |
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.
If array_contains is OK, keep it true and disable index def with parser
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.
maybe we also need it for 2.1 because here depends on this pr: #32620 enable expr push down storage layer to pass inverted index , but this feature is not gonna to be in 2.1
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4
Outdated
Show resolved
Hide resolved
clang-tidy review says "All clean, LGTM! 👍" |
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.
may cause compability issue
clang-tidy review says "All clean, LGTM! 👍" |
run buildall |
TeamCity be ut coverage result: |
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. |
…pache#34683 apache#34076 (apache#35926) ## Proposed changes see also for branch-2.1: apache#35837 and master: apache#34766 apache#35086 apache#34683 apache#34076
Proposed changes
in this pr:
enable_create_inverted_index_for_array
array type which default is falseIssue Number: close #xxx
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...