morrySnow commented on code in PR #26014:
URL: https://github.com/apache/doris/pull/26014#discussion_r1374143882


##########
fe/fe-core/src/main/java/org/apache/doris/catalog/AggregateFunction.java:
##########
@@ -58,7 +58,8 @@ public class AggregateFunction extends Function {
             FunctionSet.ARRAY_AGG, FunctionSet.COLLECT_LIST, 
FunctionSet.COLLECT_SET);
 
     public static ImmutableSet<String> 
ALWAYS_NULLABLE_AGGREGATE_FUNCTION_NAME_SET =
-            ImmutableSet.of("stddev_samp", "variance_samp", "var_samp", 
"percentile_approx");
+            ImmutableSet.of("stddev_samp", "variance_samp", "var_samp", 
"percentile_approx", "first_value",
+                    "last_value");

Review Comment:
   lag, min, max, avg, sum in window function also should be always nullable



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to