Ma77Ball commented on code in PR #57261:
URL: https://github.com/apache/spark/pull/57261#discussion_r3987150455


##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -3633,8 +3633,20 @@
   },
   "INVALID_BUCKET_COUNT" : {
     "message" : [
-      "Number of buckets should be greater than 0 but less than or equal to 
bucketing.maxBuckets (`<bucketingMaxBuckets>`). Got `<numBuckets>`."
+      "Invalid number of buckets."
     ],
+    "subClass" : {
+      "NON_INTEGER_LITERAL" : {

Review Comment:
   Non-integer bucket count now returns `INVALID_PARAMETER_VALUE.INTEGER` 
(SQLSTATE 22023). `INVALID_BUCKET_COUNT` reverted to a flat condition (SQLSTATE 
22003) for the out-of-range case only.



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