-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[multistage] add calcite function catalog #9375
Conversation
pinot-common/src/main/java/org/apache/pinot/common/utils/request/RequestUtils.java
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #9375 +/- ##
============================================
+ Coverage 69.70% 69.80% +0.09%
- Complexity 4786 5094 +308
============================================
Files 1885 1885
Lines 100377 100387 +10
Branches 15275 15276 +1
============================================
+ Hits 69972 70079 +107
+ Misses 25454 25357 -97
Partials 4951 4951
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Does it handle the case if a function is overloaded? |
the limitation is still the same as current behavior
|
fd59bfe
to
9b95e89
Compare
9b95e89
to
6556553
Compare
@@ -86,6 +96,11 @@ public static void init() { | |||
*/ | |||
public static void registerFunction(Method method, boolean nullableParameters) { | |||
registerFunction(method.getName(), method, nullableParameters); | |||
|
|||
// Calcite ScalarFunctionImpl doesn't allow customized named functions. TODO: fix me. |
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.
What's the fix here?
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.
we will need to follow up items in #8597
Description
FunctionRegistry currently hosts lots of scalar functions. there are not registered with the Calcite catalog reader.
this PR registers
TODO