-
Notifications
You must be signed in to change notification settings - Fork 1k
ClickHouse JDBC URL support #13884
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
ClickHouse JDBC URL support #13884
Conversation
🔧 The result from spotlessApply was committed to the PR branch. |
@Override | ||
public Stream<? extends Arguments> provideArguments(ExtensionContext context) { | ||
return args( | ||
// https://clickhouse.com/docs/integrations/language-clients/java/jdbc#configuration |
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.
https://clickhouse.com/docs/integrations/language-clients/java/jdbc#configuration mentions that besides clickhouse
ch
could also be used. Should jdbc:ch://localhost:8123
also be handled?
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 the driver code ch
used as alias for clickhouse
but Connection metadata always return full prefix jdbc:clickhouse:
https://github.com/ClickHouse/clickhouse-java/blob/main/clickhouse-jdbc/src/main/java/com/clickhouse/jdbc/internal/ClickHouseConnectionImpl.java#L1141
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.
could you add a comment about this to the parsing logic to make clear that ch
doesn't need to be handled
🔧 The result from spotlessApply was committed to the PR branch. |
Resolves #13883