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
[feature] coalesce scalar #9487
Conversation
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.
LGTM
pinot-common/src/main/java/org/apache/pinot/common/function/scalar/ObjectFunctions.java
Outdated
Show resolved
Hide resolved
pinot-common/src/main/java/org/apache/pinot/common/function/scalar/ObjectFunctions.java
Outdated
Show resolved
Hide resolved
pinot-common/src/main/java/org/apache/pinot/common/function/scalar/ObjectFunctions.java
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #9487 +/- ##
=============================================
- Coverage 68.72% 25.93% -42.80%
+ Complexity 4860 44 -4816
=============================================
Files 1924 1913 -11
Lines 102425 102164 -261
Branches 15542 15516 -26
=============================================
- Hits 70392 26492 -43900
- Misses 26994 73005 +46011
+ Partials 5039 2667 -2372
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 |
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.
lgtm too also please rebase
I think this PR will do the ideal solution for function registry #9397 |
Support coalesce scalar.
Since we only register function with param count now and coalesce has various # of parameters, this PR hardcode 1-5 arguments for coalesce scalar.
Long term plan is to support function registry with var # of args.