gengliangwang commented on code in PR #50496: URL: https://github.com/apache/spark/pull/50496#discussion_r2025483061
########## common/utils/src/main/resources/error/error-conditions.json: ########## @@ -3941,6 +3947,12 @@ ], "sqlState" : "42P20" }, + "MULTIPLE_PRIMARY_KEYS" : { + "message" : [ + "Multiple primary keys are defined. Please ensure that only one primary key is defined for the table." Review Comment: Good question. What if there are multiple primary keys in a create table statement ``` CREATE TABLE t( i int primary key, j int primary key) ``` It doesn't make sense to name that `i` already exists -- 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