-
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
Correct sample_block in HashJoin for dict join with join_algorithm #23312
Conversation
We got error because with join_algorithm = auto we save key column into sample_block ClickHouse/src/Interpreters/HashJoin.cpp Lines 573 to 575 in 71c27a4
But dictionary_reader always uses HashJoin and return block without it. So, it leads to wrong indices ClickHouse/src/Interpreters/HashJoin.cpp Line 721 in 71c27a4
and out of bound error ClickHouse/src/Interpreters/HashJoin.cpp Line 738 in 71c27a4
|
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.
The fix looks alright.
@kitaisreal said that you are planning to implement a different fix. |
…in with join_algorithm
…in with join_algorithm
…in with join_algorithm
Backport #23312 to 21.5: Correct sample_block in HashJoin for dict join with join_algorithm
Backport #23312 to 21.3: Correct sample_block in HashJoin for dict join with join_algorithm
Backport #23312 to 21.4: Correct sample_block in HashJoin for dict join with join_algorithm
…in with join_algorithm
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):