itholic commented on code in PR #39258:
URL: https://github.com/apache/spark/pull/39258#discussion_r1058741274


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -851,6 +851,11 @@
       "Cannot name the managed table as <identifier>, as its associated 
location <location> already exists. Please pick a different table name, or 
remove the existing location first."
     ]
   },
+  "MALFORMED_CSV_RECORD" : {
+    "message" : [
+      "Malformed CSV record"

Review Comment:
   Thanks!
   I think we can provide the schema information, since it raised when schema 
mismatch.
   Just add some more informations to error message.



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