-
Notifications
You must be signed in to change notification settings - Fork 537
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
[jdbc] added some tests and fixes #1966
base: main
Are you sure you want to change the base?
Conversation
Quality Gate failedFailed conditions See analysis details on SonarQube Cloud Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE |
checkClosed(); | ||
StatementType type = parseStatementType(sql); | ||
|
||
if (type == StatementType.SELECT) { | ||
executeQuery(sql, settings); | ||
executeQuery(sql, settings); // keep open to allow getResultSet() |
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.
Do we eventually close it?
/** | ||
* JDBC driver specific properties. Do not include any ClickHouse client properties here. | ||
*/ | ||
public enum DriveProperties { |
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.
Shouldn't this be DriverProperties?
} | ||
|
||
private Connection getConnection() throws SQLException { | ||
return DriverManager.getConnection(getEndpointString(isCloud())); |
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.
In theory this could be restored to just the one line
Summary
Next things are done:
integration
to make them run while CI build and maveninstall
nullsAreSortedHigh
andsupportsCatalogsInIndexDefinitions
getTables
to return schema, typegetTableTypes
to return what is stored in DBgetColumns
correct types, flags, precision, decimal digits ...Relates to: #1974
Checklist
Delete items not relevant to your PR: