srielau commented on code in PR #57081:
URL: https://github.com/apache/spark/pull/57081#discussion_r3554004916


##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -8142,8 +8142,8 @@
   },
   "UNSUPPORTED_EXPR_FOR_OPERATOR" : {
     "message" : [
-      "A query operator contains one or more unsupported expressions.",
-      "Consider to rewrite it to avoid window functions, aggregate functions, 
and generator functions in the WHERE clause.",
+      "The query operator <operator> contains one or more unsupported 
expressions.",

Review Comment:
   OK, then use a nested error condition to "roll them up". And you can always 
have "OTHER" catch up where you expose the the node.



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