-
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) Fix match_regexp to correctly handle empty string patterns #39503
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H: Total hot run time: 38297 ms
|
@@ -406,15 +406,6 @@ Status FunctionMatchRegexp::execute_match(FunctionContext* context, const std::s | |||
VLOG_DEBUG << "begin to run FunctionMatchRegexp::execute_match, parser_type: " | |||
<< inverted_index_parser_type_to_string(inverted_index_ctx->parser_type); | |||
|
|||
if (match_query_str.empty()) { |
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.
should consider other query
TPC-H: Total hot run time: 38275 ms
|
b72af0f
to
4d9d5b9
Compare
run buildall |
TPC-H: Total hot run time: 38137 ms
|
TPC-DS: Total hot run time: 196443 ms
|
ClickBench: Total hot run time: 30.55 s
|
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 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
PR approved by at least one committer and no changes requested. |
…ng patterns (apache#39503) 1. Handle empty strings consistently for match_phrase with and without an index.
…ng patterns (#39503) 1. Handle empty strings consistently for match_phrase with and without an index.
Proposed changes