-
Notifications
You must be signed in to change notification settings - Fork 7k
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 'set' skip index not working with IN, indexHint(), and subqueries #62083
Conversation
This is an automated comment for commit c22a4b7 with description of existing statuses. It's updated for the latest CI running ⏳ Click here to open a full report in a separate page
Successful checks
|
*storage = actions_clone->getOutputs(); | ||
result_dag_or_null->mergeNodes(std::move(*actions_clone)); |
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.
Will the node pointers copied to store
remain valid after actions are passed to mergeNodes
?
Okay, the function does not modify the pointers so should be fine.
04164d6
to
a666fed
Compare
@al13n321, fuzzers have found a lot of errors. |
5c0983b
to
478aa31
Compare
The failed test is unrelated ( EDIT: #64716 |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fixed 'set' skip index not working with IN and indexHint()
Example:
Without the fix it outputs
1000000
(i.e. reads all 1M rows), with the fix32768
(i.e. reads 4 granules, as expected).Also works with subqueries now:
indexHint()
got broken some time before that.