panbingkun commented on code in PR #38861:
URL: https://github.com/apache/spark/pull/38861#discussion_r1040721306


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -876,6 +876,13 @@
     ],
     "sqlState" : "42000"
   },
+  "NOT_ENOUGH_DATA_COLUMNS" : {
+    "message" : [
+      "Cannot write to <tableName>, not enough data columns:",

Review Comment:
   I will open a new pr to make the error class NUM_COLUMNS_MISMATCH more 
generic.



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