yaooqinn commented on a change in pull request #27099: [SPARK-30335][SQL][DOCS]
Add a note first and last can be non-deterministic in SQL function docs as well
URL: https://github.com/apache/spark/pull/27099#discussion_r363282781
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/First.scala
##########
@@ -43,6 +43,10 @@ import org.apache.spark.sql.types._
> SELECT _FUNC_(col, true) FROM VALUES (NULL), (5), (20) AS tab(col);
5
""",
+ note = """
+ The function is non-deterministic because its results depends on order of
rows which
Review comment:
depend on the order of rows
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]