nchammas commented on code in PR #58759:
URL: https://github.com/apache/spark/pull/58759#discussion_r4204421035
##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -8146,6 +8146,12 @@
},
"sqlState" : "42601"
},
+ "TABLES_OR_VIEWS_NOT_IN_SAME_DATABASE" : {
+ "message" : [
+ "Cannot retrieve tables or views that do not belong to the same
database. Requested: <qualifiedTableNames>."
+ ],
+ "sqlState" : "0A000"
Review Comment:
Since the error state maps to "feature not supported", I would tweak the
message to use that wording.
For example: "Retrieving tables or views from more than one database is not
supported. Requested: `<qualifiedTableNames>`."
This also avoids the double negative of "cannot retrieve ... that do not
belong".
--
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]