-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Implicit key type conversion for join using step in pipeline #19885
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
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
4c36cd1
Add converting step for 'join using'
vdimir f5b9801
Fix converting right key type in join using
vdimir d15c1a2
Fix TableJoin, upd 01675_join_implicit_cast
vdimir 435f63f
Calculate common type for join using in TreeRewriter
vdimir 4203dd5
Give up on name mismatch in inferJoinKeyCommonType
vdimir 9b79ab2
Fix style in appendJoin
vdimir cd7d958
Add tests to 01720_join_implicit_cast - switch, use_nulls
vdimir a378bd0
Perform implicit type conversion for JOIN ON keys
vdimir 3a7eddc
Remove addRequiredLeftColumn, some tests for join on different types
vdimir 456414b
Fix converting join on keys, move actions into TableJoin
vdimir 1e37d7c
Add comments to TableJoin::inferJoinKeyCommonType
vdimir ab0719c
More tests for join on key type convert
vdimir dc9e660
Remove 'error' from comment from 01710_join_use_nulls
vdimir 1a26310
Split test join_implicit_cast (due to timeouts in flaky checks)
vdimir 7b8b77f
Add tests to join_implicit_cast checks column name clash
vdimir 4c6cde4
Merge remote-tracking branch 'upstream/master' into join-cast-types-v2
vdimir b7c7c97
Merge branch 'master' into join-cast-types-v2
vdimir e6406c3
Refactor join: make IJoin implementations independent from TableJoin
vdimir b0f6f30
Revert "Refactor join: make IJoin implementations independent from Ta…
vdimir 5c18bbe
Clean converting-related fields in TableJoin::resetCollected
vdimir 4a8708f
Clean subqueries_for_sets before second analyze in InterpreterSelectQ…
vdimir 3da3794
Add test for cast join on keys with second analyze
vdimir 354757d
Add logging for need_analyze_again in InterpreterSelectQuery
vdimir cc770ad
Fixes for join key inferring
vdimir File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 we split
joined_block_actionsinto separate variables not to usemergehere? Now it consist from createJoinedBlockActions and additional converting step. @KochetovNicolaiThere 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.
As I understand, this actions are applied to right part of join. And we don't use separate step for this actions for now. So, I think it is ok to merge.