srielau commented on code in PR #37887:
URL: https://github.com/apache/spark/pull/37887#discussion_r990244457
##########
core/src/main/resources/error/error-classes.json:
##########
@@ -346,6 +346,18 @@
}
}
},
+ "INDEX_ALREADY_EXISTS" : {
+ "message" : [
+ "Cannot create the index because it already exists. <message>."
+ ],
+ "sqlState" : "42000"
+ },
+ "INDEX_NOT_FOUND" : {
+ "message" : [
+ "Cannot find the index. <message>."
Review Comment:
@MaxGekk I would love to. However this one is a wrapper for JDBC. The
message can be anything depending on the data source.
We will need a strategy on how to deal with these cases.
--
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]