zhangstar333 commented on code in PR #8877:
URL: https://github.com/apache/incubator-doris/pull/8877#discussion_r847915588


##########
fe/fe-core/src/main/java/org/apache/doris/catalog/FunctionSet.java:
##########
@@ -2336,6 +2336,10 @@ private void initAggregateBuiltins() {
                     prefix + OFFSET_FN_UPDATE_SYMBOL.get(t),
                     null, null, null, true));
 
+            addBuiltin(AggregateFunction.createAnalyticBuiltin(
+                     "nth_value", Lists.newArrayList(t, Type.BIGINT, t), t, t,

Review Comment:
   It seems that MySQL has no default value and directly returns null



##########
fe/fe-core/src/main/java/org/apache/doris/catalog/FunctionSet.java:
##########
@@ -2336,6 +2336,10 @@ private void initAggregateBuiltins() {
                     prefix + OFFSET_FN_UPDATE_SYMBOL.get(t),
                     null, null, null, true));
 
+            addBuiltin(AggregateFunction.createAnalyticBuiltin(
+                     "nth_value", Lists.newArrayList(t, Type.BIGINT, t), t, t,

Review Comment:
   It seems that MySQL has no default value and directly returns null



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to