-
Notifications
You must be signed in to change notification settings - Fork 139
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
Enable Table Function and PromQL function #1719
Enable Table Function and PromQL function #1719
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1719 +/- ##
============================================
+ Coverage 97.30% 97.33% +0.03%
- Complexity 4326 4405 +79
============================================
Files 385 388 +3
Lines 10807 10935 +128
Branches 762 771 +9
============================================
+ Hits 10516 10644 +128
Misses 284 284
Partials 7 7
Flags with carried forward coverage won't be shown. Click here to find out more.
|
I forgot why we disabled this in PPL earlier? |
@dai-chen There was no UX on dashboards for table functions during 2.4 release. With spark sql we are building UX to handle table functions. |
-> { | ||
String argName = (arg.ident() != null) ? arg.ident().getText() : null; | ||
builder.add( | ||
new UnresolvedArgument(argName, |
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.
When argName
could be null
? Are you protected from NPE when it is used?
ppl/src/main/java/org/opensearch/sql/ppl/parser/AstBuilder.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>
a8d0ea2
585adba
to
fa3f6d9
Compare
Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>
fa3f6d9
to
65fdc83
Compare
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.
Awesome! @penghuo to signoff
* Enable PromQL function Signed-off-by: Vamsi Manohar <reddyvam@amazon.com> * Enable table function Signed-off-by: Vamsi Manohar <reddyvam@amazon.com> --------- Signed-off-by: Vamsi Manohar <reddyvam@amazon.com> (cherry picked from commit af7bccb)
Description
Enable Table function and promQL function. This also enables to build spark sql function.
Issues Resolved
#1019
Check List
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.