-
Notifications
You must be signed in to change notification settings - Fork 145
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
Add other functions to SQL query validator #3304
Add other functions to SQL query validator #3304
Conversation
f414ef9
to
3d69b56
Compare
Signed-off-by: Tomoyuki Morita <moritato@amazon.com>
3d69b56
to
6722a2d
Compare
@@ -422,6 +423,51 @@ public enum FunctionType { | |||
"posexplode", | |||
"posexplode_outer", | |||
"stack")) | |||
.put( | |||
UNCATEGORIZED, |
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.
could u explain term "UNCATEGORIZED", why certain functions are classified as UNCATEGORIZED?
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.
Those functions were originally not covered since it was not listed in categorized list, but actually documented in full list. That's why I named it as uncategorized. (current categories are coming from the categorized list)
...c-query-core/src/main/java/org/opensearch/sql/spark/validator/SQLQueryValidationVisitor.java
Outdated
Show resolved
Hide resolved
...c-query-core/src/main/java/org/opensearch/sql/spark/validator/SQLQueryValidationVisitor.java
Show resolved
Hide resolved
Signed-off-by: Tomoyuki Morita <moritato@amazon.com>
Signed-off-by: Tomoyuki Morita <moritato@amazon.com>
Renamed |
* Add uncategorized functions to SQL query validator Signed-off-by: Tomoyuki Morita <moritato@amazon.com> * Fix variable name Signed-off-by: Tomoyuki Morita <moritato@amazon.com> * Fix name from uncategorized to other Signed-off-by: Tomoyuki Morita <moritato@amazon.com> --------- Signed-off-by: Tomoyuki Morita <moritato@amazon.com> (cherry picked from commit 4b60ab6) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Add uncategorized functions to SQL query validator * Fix variable name * Fix name from uncategorized to other --------- (cherry picked from commit 4b60ab6) Signed-off-by: Tomoyuki Morita <moritato@amazon.com> 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 Issues
Resolves #3237
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.