cloud-fan commented on code in PR #43910:
URL: https://github.com/apache/spark/pull/43910#discussion_r1411953063
##########
common/utils/src/main/resources/error/error-classes.json:
##########
@@ -1846,6 +1846,29 @@
},
"sqlState" : "42000"
},
+ "INVALID_INVERSE_DISTRIBUTION_FUNCTION" : {
+ "message" : [
+ "Invalid inverse distribution function <funcName>."
+ ],
+ "subClass" : {
+ "DISTINCT_UNSUPPORTED" : {
+ "message" : [
+ "Cannot use DISTINCT with WITHIN GROUP."
+ ]
+ },
+ "PERCENTILE_PERCENTAGE_MISSING" : {
+ "message" : [
+ "Missing percentage."
Review Comment:
This doesn't seem like a thing to inverse distribution function. It should
be specific to certain functions and shouldn't be in this error class.
--
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]