MaxGekk commented on code in PR #38769: URL: https://github.com/apache/spark/pull/38769#discussion_r1030254794
########## core/src/main/resources/error/error-classes.json: ########## @@ -785,6 +779,13 @@ "Malformed Protobuf messages are detected in message deserialization. Parse Mode: <failFastMode>. To process malformed protobuf message as null result, try setting the option 'mode' as 'PERMISSIVE'." ] }, + "MISSING_AGGREGATION" : { + "message" : [ + "The non-aggregating expression <expression> is based on columns which are not participating in the GROUP BY clause.", + "Add the columns or the expression to the GROUP BY, aggregate the expression, or use \"any_value(<expression>)\" if you do not care which of the values within a group is returned." Review Comment: `expression` is quoted already, correct? How this `\"any_value(<expression>)\"` looks like `"any_value("...")"`? -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org