aleksandr-chernousov-db commented on code in PR #53198:
URL: https://github.com/apache/spark/pull/53198#discussion_r2559277116


##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -7334,6 +7334,15 @@
     ],
     "sqlState" : "P0001"
   },
+  "USER_SPECIFIED_AND_ACTUAL_SCHEMA_MISMATCH" : {
+    "message" : [
+      "The user-specified schema doesn't match the actual schema:",
+      "user-specified: <schema>, actual: <actualSchema>. If you're using",
+      "DataFrameReader.schema API or creating a table, please do not specify 
the schema.",
+      "Or if you're scanning an existed table, please drop it and re-create 
it."
+    ],
+    "sqlState" : "42KD7"

Review Comment:
   Oh, right, my bad
   Fixed



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to