Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

zhicwu
Copy link
Contributor

@zhicwu zhicwu commented Oct 6, 2021

This pull request is mainly for adding experimental new Java client as well as gRPC support. Please be aware that APIs are subject to change without any notice, until 0.4.0.

Key Changes

  • adaptive integration test and categorized test cases(under unit or integration group)
  • JPMS support(incomplete) along with multi-release jar file and JDK 17 support
  • use com.clickhouse as package name and maven group id
    Note: clickhouse-jdbc still uses ru.yandex as before, but it will be changed starting from 0.4.0.
  • more features being added into clickhouse-client module:
    • async execution(by default)
    • better support of RowBinary format, and more data types like Date32, Geo types, and nested data types etc.
    • fluent API with builder classes
    • named parameter support
    • stream API via ClickHouseResponse.recordStream()
  • experimental gRPC support in clickhouse-grpc-client
  • renamed clickhouse-native-client to clickhouse-tcp-client (still empty there :p)

Known Issues about the gRPC client

TODOs - will address in separate PRs

  • clickhouse-client
    • re-write ClickHouseCluster
    • sort out exceptions for better error handling
    • primitive array support
  • clickhouse-grpc-client
    • custom registry for compression/decompression
    • ssl/tls support
    • support extremes
    • shaded jar with only netty(for building native image later)
  • clickhouse-jdbc
    • change driver to com.clickhouse.jdbc.ClickHouseDriver but keep the old one as sub-class
    • refactor to build on top of clickhouse-client
    • switch to RowBinary format

@zhicwu
Copy link
Contributor Author

zhicwu commented Oct 7, 2021

Update:
Above two issues were fixed in #737.

@zhicwu
Copy link
Contributor Author

zhicwu commented Oct 7, 2021

JDBC driver stays the same(except changes for test cases) so it's not risky to merge this large PR. Besides, this will unblock future development work for 0.3.2 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Morty Proxy This is a proxified and sanitized view of the page, visit original site.