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


##########
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:
   I presume the goal of this PR is to improve an error message. If an error 
message improvement needs a follow up PR then this sounds more like a check-box 
PR to me.
   We should fix others that expose non-user facing gibberish as well. THAT 
coudl be a follow up. RIght now let's stop the bleed.



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