eric-maynard commented on code in PR #2762:
URL: https://github.com/apache/polaris/pull/2762#discussion_r2408970166
##########
persistence/relational-jdbc/src/main/java/org/apache/polaris/persistence/relational/jdbc/DatasourceOperations.java:
##########
@@ -396,7 +400,8 @@ public boolean isConstraintViolation(SQLException e) {
}
public boolean isRelationDoesNotExist(SQLException e) {
- return RELATION_DOES_NOT_EXIST.equals(e.getSQLState());
+ return RELATION_DOES_NOT_EXIST.equals(e.getSQLState())
+ || H2_RELATION_DOES_NOT_EXIST.equals(e.getSQLState());
Review Comment:
This is getting really gnarly, but it may be wise to track different error
code mappings like we track different schemas and then switch on them based on
`QUARKUS_DATASOURCE_DB_KIND`
--
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]