dongjoon-hyun commented on code in PR #42737:
URL: https://github.com/apache/spark/pull/42737#discussion_r1312042732


##########
docs/sql-error-conditions.md:
##########
@@ -1299,6 +1299,12 @@ Cannot call function `<functionName>` because named 
argument references are not
 
 It is not allowed to use an aggregate function in the argument of another 
aggregate function. Please use the inner aggregate function in a sub-query.
 
+### NON_FOLDABLE_ARGUMENT
+
+[SQLSTATE: 22024](sql-error-conditions-sqlstates.html#class-22-data-exception)

Review Comment:
   Data exception category is also reasonable to me if there is no other proper 
one.



-- 
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