Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Later
-
3.1.0
-
None
-
None
Description
FIRST_VALUE is an ANSI window function.
But the current implement of FIRST_VALUE in Spark is an aggregate function.
Although FIRST_VALUE could be used as window function.
But it is an aggregate function in fact and will lead to users to mistakenly think that FIRST_VALUE is an aggregate function that can be used.
Users can use FIRST now.