cloud-fan commented on code in PR #48748:
URL: https://github.com/apache/spark/pull/48748#discussion_r1852050581


##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -1565,6 +1565,12 @@
     ],
     "sqlState" : "42710"
   },
+  "FUNCTION_AND_ORDER_EXPRESSION_MISMATCH" : {
+    "message" : [
+      "The arguments <functionArgs> of the function <functionName> do not 
match to ordering within group <orderExpr> when use DISTINCT."

Review Comment:
   how about
   `Function <funcName> is invoked with DISTINCT. The WITHIN GROUP ordering 
expressions must be picked from the function inputs, but got <orderingExpr>.`



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