MaxGekk commented on code in PR #38861:
URL: https://github.com/apache/spark/pull/38861#discussion_r1038746826
##########
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:
Can we re-use the error class `NUM_COLUMNS_MISMATCH` in the case? If not,
would it possible to make it more generic to cover the case too.
--
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]