srielau commented on code in PR #38490: URL: https://github.com/apache/spark/pull/38490#discussion_r1014078710
########## 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." + ], + "subClass" : { Review Comment: Is this level of differentiation necessary? Aside the sub-error class partially repeats what the general test says. To make this message useful I think we should explain how/that the the table's directory name (?) is derived from the table name? -- 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