-
Notifications
You must be signed in to change notification settings - Fork 147
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 partial udf #3363
base: feature/calcite-engine
Are you sure you want to change the base?
Add partial udf #3363
Conversation
Signed-off-by: xinyual <xinyual@amazon.com>
Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>
Signed-off-by: xinyual <xinyual@amazon.com>
Signed-off-by: Xinyuan Lu <xinyual@amazon.com>
Map opensearch math functions to calcite implementations
Signed-off-by: xinyual <xinyual@amazon.com>
Signed-off-by: xinyual <xinyual@amazon.com>
Signed-off-by: xinyual <xinyual@amazon.com>
Signed-off-by: xinyual <xinyual@amazon.com>
Signed-off-by: xinyual <xinyual@amazon.com>
Signed-off-by: xinyual <xinyual@amazon.com>
|
@@ -44,7 +44,7 @@ apply plugin: 'java' | |||
apply plugin: 'io.freefair.lombok' | |||
apply plugin: 'com.wiredforcode.spawn' | |||
|
|||
String baseVersion = "2.17.0" | |||
String baseVersion = "2.17.1" |
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.
revert this change
@@ -5,9 +5,16 @@ | |||
|
|||
package org.opensearch.sql.calcite.standalone; | |||
|
|||
import static org.opensearch.sql.legacy.TestsConstants.TEST_INDEX_BANK; | |||
import static org.opensearch.sql.legacy.TestsConstants.*; |
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.
Do not use *
in imports. (disable merging imports in IDE)
|
||
@Ignore | ||
@Test | ||
public void testDate() { |
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.
Move all functions related tests to a new CalcitePPLBuiltinFunctionIT
, this one is not for functions ITs.
@@ -0,0 +1,5 @@ | |||
package org.opensearch.sql.calcite.udf; |
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.
new file should include a copyright header
Description
In this PR we add several UDFs and UDAFs. We add implement for functions which exist in both index PPL and Spark PPL from #3310.
Briefly, we implement all math/string/condition functions list in #3310 plus percentile and take aggregation.
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.