Add support for CORRESPONDING option in set operations#25260
Merged
Conversation
3bb218f to
46271ec
Compare
Praveen2112
reviewed
Mar 10, 2025
46271ec to
2e81b33
Compare
Member
Author
|
Changing to draft as I missed logic to handle different number of columns between left and right relations. |
martint
requested changes
Mar 11, 2025
2d07dd1 to
f239bc6
Compare
|
This pull request has gone a while without any activity. Ask for help on #core-dev on Trino slack. |
Member
Author
|
@martint Gentle reminder. |
martint
reviewed
Apr 16, 2025
52b71bb to
13d2159
Compare
13d2159 to
935d79c
Compare
martint
approved these changes
Apr 23, 2025
Member
There was a problem hiding this comment.
Add examples for cases where the columns in the left and right table don't match exactly but have at least one common column.
935d79c to
d6cfd3d
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Add support for CORRESPONDING option in set operations.
The option matches columns by name instead of by position:
The option is defined in SQL spec
P.508-509 in ISO_IEC_9075-2(E)_Foundation explains this option.
Release notes