cloud-fan commented on code in PR #47485:
URL: https://github.com/apache/spark/pull/47485#discussion_r1695344632
##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -2111,8 +2111,35 @@
},
"INVALID_EMPTY_LOCATION" : {
"message" : [
- "The location name cannot be empty string, but `<location>` was given."
+ "The location cannot be empty string or null."
Review Comment:
How about: `The location `<location>` cannot be empty string or null for`.
And in sub classes we just put message as `table.`, `partition.`, etc.
##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -2111,8 +2111,35 @@
},
"INVALID_EMPTY_LOCATION" : {
"message" : [
- "The location name cannot be empty string, but `<location>` was given."
+ "The location cannot be empty string or null."
Review Comment:
How about: `The location ``<location>`` cannot be empty string or null for`.
And in sub classes we just put message as `table.`, `partition.`, etc.
--
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]