-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for unquoted Postgres identifiers (fix for #74) #75
Conversation
…table containing uppercase characters
…e case insensitive
@redcatbear @andrehacker : Please review, since this change introduces a generalized error handling approach and a lot of naming decisions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have some remarks, makes sense to talk about this.
.../virtualschema-jdbc-adapter/src/main/java/com/exasol/adapter/jdbc/JdbcAdapterProperties.java
Outdated
Show resolved
Hide resolved
.../virtualschema-jdbc-adapter/src/main/java/com/exasol/adapter/jdbc/JdbcAdapterProperties.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed with findings.
...virtualschema-jdbc-adapter/src/main/java/com/exasol/adapter/dialects/AbstractSqlDialect.java
Outdated
Show resolved
Hide resolved
...adapter/virtualschema-jdbc-adapter/src/main/java/com/exasol/adapter/dialects/SqlDialect.java
Outdated
Show resolved
Hide resolved
...adapter/virtualschema-jdbc-adapter/src/main/java/com/exasol/adapter/dialects/SqlDialect.java
Show resolved
Hide resolved
...virtualschema-jdbc-adapter/src/main/java/com/exasol/adapter/dialects/AbstractSqlDialect.java
Show resolved
Hide resolved
...virtualschema-jdbc-adapter/src/main/java/com/exasol/adapter/dialects/AbstractSqlDialect.java
Show resolved
Hide resolved
...ma-jdbc-adapter/src/test/java/com/exasol/adapter/dialects/impl/PostgreSQLSqlDialectTest.java
Show resolved
Hide resolved
...ma-jdbc-adapter/src/test/java/com/exasol/adapter/dialects/impl/PostgreSQLSqlDialectTest.java
Outdated
Show resolved
Hide resolved
...ma-jdbc-adapter/src/test/java/com/exasol/adapter/dialects/impl/PostgreSQLSqlDialectTest.java
Outdated
Show resolved
Hide resolved
...tualschema-jdbc-adapter/src/test/java/com/exasol/adapter/jdbc/JdbcAdapterPropertiesTest.java
Outdated
Show resolved
Hide resolved
...tualschema-jdbc-adapter/src/test/java/com/exasol/adapter/jdbc/JdbcAdapterPropertiesTest.java
Show resolved
Hide resolved
Thanks for the review! I will first unifiy the two error handling properties and add consistency checks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As long as issue tickets exist for the findings where the refactorings are postponed, I am fine.
…ES_UPPERCASE_TABLES
Final naming is: |
Review delegated to @redcatbear
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made some comments, feel free to merge consider or not (i.e. approved)
Unqouted identifiers are supported for the postgres dialect.
An error is raised during virtual schema creation (or refresh) if postgres identifiers contain uppercase characters. Schema creation can be enforced by setting the
ignore_error_list
property toPOSTGRES_IGNORE_UPPERCASE_TABLES
.