MaxGekk commented on code in PR #44337:
URL: https://github.com/apache/spark/pull/44337#discussion_r1426275065


##########
common/utils/src/main/resources/error/error-classes.json:
##########
@@ -2750,6 +2750,12 @@
     ],
     "sqlState" : "42000"
   },
+  "NULL_INDEX" : {

Review Comment:
   The name confuses slightly. From my point of view, the error is about an 
invalid NULL value at the given position, how about:
   ```
   NULL_ROW_VALUE
   ```



##########
common/utils/src/main/resources/error/error-classes.json:
##########
@@ -2750,6 +2750,12 @@
     ],
     "sqlState" : "42000"
   },
+  "NULL_INDEX" : {
+    "message" : [
+      "Value at index <index> is null."

Review Comment:
   ```suggestion
         "Row value at the position <position> is NULL."
   ```



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