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


##########
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:
   @MaxGekk Can I change the template of `NUM_COLUMNS_MISMATCH ` error message 
to "\<operator\> can only be performed on tables with the same number of 
columns, but the first table (\<tableName\>)'s columns(length: \<refLength\>): 
[refColumns], the (ordinal: \<invalidOrdinalNum\>)'s columns(length: 
\<invalidLength\>): [invalidColumns]." ?
   
   The original is "\<operator\> can only be performed on tables with the same 
number of columns, but the first table has \<refNumColumns\> columns and the 
\<invalidOrdinalNum\> table has \<invalidNumColumns\> columns."
   



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