cloud-fan commented on code in PR #37011:
URL: https://github.com/apache/spark/pull/37011#discussion_r912887137


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -294,6 +300,18 @@
       "UDF class <className> doesn't implement any UDF interface"
     ]
   },
+  "NULLABLE_ARRAY_OR_MAP_ELEMENT" : {
+    "message" : [
+      "Array or map at <columnPath> contains nullable element while it's 
required to be non-nullable."
+    ],
+    "sqlState" : "42000"
+  },
+  "NULLABLE_COLUMN_OR_FIELD" : {
+    "message" : [
+      "Column or field <name> is nullable while it's required to be 
non-nullable."

Review Comment:
   the `<name>` will be a fully qualified name, which includes the column path.



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