-
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
[bugfix](inverted index) temporary disable skip reading column data if it match inverted index #18065
Conversation
clang-tidy review says "All clean, LGTM! 👍" |
run buildall |
TeamCity pipeline, clickbench performance test 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 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. |
… if it match inverted index (apache#18065)" (apache#1545) The optimization for skip reading column data if it match inverted index and only used in WHERE clause may get wrong result for complex SQL. This PR temporary disable the optimization and later PRs will resolve the problem fundamentality. Fix http://jira.flywheels.com:8090/browse/CORE-1739 commit d1f34a3 Author: Kang <kxiao.tiger@gmail.com> Date: Mon Mar 27 11:29:42 2023 +0800 [bugfix](inverted index)temporary disable skip read column data if it match inverted index (apache#18065) The optimization for skip reading column data if it match inverted index and only used in WHERE clause may get wrong result for complex SQL. This PR temporary disable the optimization and later PRs will resolve the problem fundamentality. Co-authored-by: Kang <kxiao.tiger@gmail.com>
…x 17352 (apache#1565) commit 4e1e0ce Author: Kang <kxiao.tiger@gmail.com> Date: Fri Mar 31 10:01:34 2023 +0800 [bugfix](topn) fix topn optimzation wrong result for NULL values (apache#18121) 1. add PassNullPredicate to fix topn wrong result for NULL values 2. refactor RuntimePredicate to avoid using TCondition 3. refactor using ordering_exprs in fe and vsort_node Author: Kang <kxiao.tiger@gmail.com> Date: Mon Mar 27 11:29:42 2023 +0800 [bugfix](inverted index)temporary disable skip read column data if it match inverted index (apache#18065) The optimization for skip reading column data if it match inverted index and only used in WHERE clause may get wrong result for complex SQL. This PR temporary disable the optimization and later PRs will resolve the problem fundamentality. Author: Kang <kxiao.tiger@gmail.com> Date: Wed Mar 8 14:18:26 2023 +0800 [bugfix](jsonb) Fix create mv using jsonb key cause be crash (apache#17430) Author: Kang <kxiao.tiger@gmail.com> Date: Fri Mar 3 21:00:49 2023 +0800 [improvement](inverted index)use reference to avoid bitmap copy for performance (apache#17352) Query runtime is reduced from 10s to 1s for a MATCH query that match 40 million rows out of 44 million rows.
… match inverted index (apache#18065) The optimization for skip reading column data if it match inverted index and only used in WHERE clause may get wrong result for complex SQL. This PR temporary disable the optimization and later PRs will resolve the problem fundamentality.
…ta if it match inverted index (apache#18065)" This reverts commit d1f34a3.
… if it match inverted index (apache#18065)" (apache#1545) The optimization for skip reading column data if it match inverted index and only used in WHERE clause may get wrong result for complex SQL. This PR temporary disable the optimization and later PRs will resolve the problem fundamentality. Fix http://jira.flywheels.com:8090/browse/CORE-1739 commit d1f34a3 Author: Kang <kxiao.tiger@gmail.com> Date: Mon Mar 27 11:29:42 2023 +0800 [bugfix](inverted index)temporary disable skip read column data if it match inverted index (apache#18065) The optimization for skip reading column data if it match inverted index and only used in WHERE clause may get wrong result for complex SQL. This PR temporary disable the optimization and later PRs will resolve the problem fundamentality. Co-authored-by: Kang <kxiao.tiger@gmail.com>
…x 17352 (apache#1565) commit 4e1e0ce Author: Kang <kxiao.tiger@gmail.com> Date: Fri Mar 31 10:01:34 2023 +0800 [bugfix](topn) fix topn optimzation wrong result for NULL values (apache#18121) 1. add PassNullPredicate to fix topn wrong result for NULL values 2. refactor RuntimePredicate to avoid using TCondition 3. refactor using ordering_exprs in fe and vsort_node Author: Kang <kxiao.tiger@gmail.com> Date: Mon Mar 27 11:29:42 2023 +0800 [bugfix](inverted index)temporary disable skip read column data if it match inverted index (apache#18065) The optimization for skip reading column data if it match inverted index and only used in WHERE clause may get wrong result for complex SQL. This PR temporary disable the optimization and later PRs will resolve the problem fundamentality. Author: Kang <kxiao.tiger@gmail.com> Date: Wed Mar 8 14:18:26 2023 +0800 [bugfix](jsonb) Fix create mv using jsonb key cause be crash (apache#17430) Author: Kang <kxiao.tiger@gmail.com> Date: Fri Mar 3 21:00:49 2023 +0800 [improvement](inverted index)use reference to avoid bitmap copy for performance (apache#17352) Query runtime is reduced from 10s to 1s for a MATCH query that match 40 million rows out of 44 million rows.
Proposed changes
Issue Number: close #xxx
Problem summary
The optimization for skip reading column data if it match inverted index and only used in WHERE clause may get wrong result for complex SQL.
This PR temporary disable the optimization and later PRs will resolve the problem fundamentality.
Checklist(Required)
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...