MaxGekk commented on code in PR #39700:
URL: https://github.com/apache/spark/pull/39700#discussion_r1088668539
##########
core/src/main/resources/error/error-classes.json:
##########
@@ -1432,6 +1432,12 @@
},
"sqlState" : "0A000"
},
+ "UNSUPPORTED_EXPR_FOR_OPERATOR" : {
+ "message" : [
+ "Rewrite the query to avoid window functions, aggregate functions, and
generator functions in the WHERE clause.",
Review Comment:
Usually, we state the problem first of all, and then provide suggestions.
Could you change the error format to:
```suggestion
"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.",
```
--
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]