karenfeng commented on a change in pull request #33836:
URL: https://github.com/apache/spark/pull/33836#discussion_r717202777



##########
File path: core/src/main/resources/error/error-classes.json
##########
@@ -11,6 +15,18 @@
     "message" : [ "%s cannot be represented as Decimal(%s, %s)." ],
     "sqlState" : "22005"
   },
+  "CANNOT_CREATE_OBJECT_DUE_TO_FAILED_DIRECTORY_CREATION" : {
+    "message" : [ "Unable to CREATE %s %s as failed to create its directory 
%s." ]
+  },
+  "CANNOT_CREATE_PARTITION" : {

Review comment:
       "partition" is pretty overloaded in Spark, maybe we should make this 
`CANNOT_CREATE_PARTITION_PATH`. Then we should replace it for `CANNOT_DELETE 
PARTITION` and so on too.




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