-
Notifications
You must be signed in to change notification settings - Fork 141
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
Disable join types in validators #3056
Conversation
Signed-off-by: Tomoyuki Morita <[email protected]>
…ange Signed-off-by: Tomoyuki Morita <[email protected]>
7e897d3
to
36858e3
Compare
CROSS_JOIN, | ||
LEFT_SEMI_JOIN, | ||
RIGHT_OUTER_JOIN, | ||
FULL_OUTER_JOIN, | ||
LEFT_ANTI_JOIN, |
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.
These JOIN types are disallowed even for S3 data source?
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.
Yes, limiting regardless of the data source.
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.
So we only limit these JOIN types due to performance/cost? Others like INNER JOIN, LEFT JOIN can still work?
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.
Yes, intention is only allowing INNER JOIN and LEFT OUTER JOIN.
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.
thx for the change
* Disable join types in validators Signed-off-by: Tomoyuki Morita <[email protected]> * Removed methods from SQLQueryValidationVisitor due to grammar file change Signed-off-by: Tomoyuki Morita <[email protected]> --------- Signed-off-by: Tomoyuki Morita <[email protected]> (cherry picked from commit ac8678c) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Disable join types in validators * Removed methods from SQLQueryValidationVisitor due to grammar file change --------- (cherry picked from commit ac8678c) Signed-off-by: Tomoyuki Morita <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Related: Implement SQL validation based on grammar element #3039
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.