add least and greatest functions#8100
Conversation
e254f1e to
72fc7d6
Compare
Codecov Report
@@ Coverage Diff @@
## master #8100 +/- ##
============================================
+ Coverage 64.71% 71.31% +6.59%
+ Complexity 4306 4302 -4
============================================
Files 1572 1624 +52
Lines 82006 84108 +2102
Branches 12330 12591 +261
============================================
+ Hits 53071 59978 +6907
+ Misses 25166 20024 -5142
- Partials 3769 4106 +337
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
this deprecation warning will not appear to users of sql, so probably we need a release note or a doc update
There was a problem hiding this comment.
We could just remove the deprecation and tolerate some duplication. What do you think?
There was a problem hiding this comment.
We should deprecate them as they are not standard sql. Let's add some release note in the PR description
There was a problem hiding this comment.
min/max were never actually possible to use in SQL because they clashed with the aggregation function. Ingestion transforms aren't specified in SQL, so I'm not sure they really need to be SQL compliant.
.../org/apache/pinot/core/operator/transform/function/TupleSelectionTransformFunctionsTest.java
Outdated
Show resolved
Hide resolved
pinot-common/src/main/java/org/apache/pinot/common/function/TransformFunctionType.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
We should deprecate them as they are not standard sql. Let's add some release note in the PR description
...a/org/apache/pinot/core/operator/transform/function/SelectTupleElementTransformFunction.java
Outdated
Show resolved
Hide resolved
...a/org/apache/pinot/core/operator/transform/function/SelectTupleElementTransformFunction.java
Outdated
Show resolved
Hide resolved
...a/org/apache/pinot/core/operator/transform/function/SelectTupleElementTransformFunction.java
Outdated
Show resolved
Hide resolved
218aaa5 to
c3816b7
Compare
c291d5c to
885b010
Compare
Jackie-Jiang
left a comment
There was a problem hiding this comment.
LGTM with minor comments
Closes #8085
Closes #8084
Parameter type promotion logic is as follows: