srielau commented on code in PR #37811: URL: https://github.com/apache/spark/pull/37811#discussion_r971174244
########## core/src/main/resources/error/error-classes.json: ########## @@ -400,6 +418,21 @@ ], "sqlState" : "42000" }, + "PARTITIONS_ALREADY_EXIST" : { + "message" : [ + "Cannot ADD or RENAME TO partition(s) <partition_list> in table <tableName> because they already exist.", + "Choose a different name, drop the existing partition, or add the IF NOT EXISTS clause to tolerate a pre-existing partition." + ], + "sqlState" : "42000" + }, + "PARTITIONS_NOT_FOUND" : { + "message" : [ + "The partition(s) <partition_list> cannot be found in table <tableName>.", Review Comment: ```suggestion "The partition(s) <partitionList> cannot be found in table <tableName>.", ``` -- 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