srielau commented on code in PR #38490:
URL: https://github.com/apache/spark/pull/38490#discussion_r1014862790


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -668,6 +668,24 @@
       }
     }
   },
+  "LOCATION_ALREADY_EXISTS" : {
+    "message" : [
+      "Cannot create the location <location> because it already exists.",
+      "Choose a different path or remove the existing location."

Review Comment:
   I didn't mean to remove advise. I means to collect all the "facts" up front 
and then collect all the "advise" in the end.
   I.e. in the most trivial solution just move "Choose a different path or 
remove the existing location." int the suberror message.... Anyway, these are 
all nits... 



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