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


##########
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:
   Can we name the primary key? Like: A primary key <keyName> already exists 
for <tableName>. Only one primary key can be created per table.



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

Reply via email to