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


##########
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."
+    ],
+    "sqlState" : "42K0E"

Review Comment:
   Question: I wonder if there is a more appropriate error code, like `42P16`, 
for instance? It does seem more like an invalid table definition rather than an 
expression that is not valid in the context it is used.



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