Skip to content

Conversation

zhicwu
Copy link
Contributor

@zhicwu zhicwu commented Apr 4, 2022

Changes:

  • support Object/JSON data type and fix ClickHouseColumn bug when parsing a tuple type #889
  • fix mybatis deserialize Map(String, Array (Nullable (DateTime64(3))) ) failed #886 by using ClickHouseOffsetDateTimeValue for DateTime value with timezone
  • fix Cannot accept String as Enum8 value #883 - now by default Enum is treated as number(instead of String) for insertion
  • throw BatchUpdateException only when executing in batch
  • support custom tls certificate and key - Support mTLS connections (key and CA signed cert) #523 & How to connect to TLS enabled ClickHouse? #897
  • support SimpleAggregateFunction
  • update gRPC client to accommodate server side changes - high memory usage and performance issue
    Note: Apache Commons Compress dependency was introduced in order to support framed LZ4 with block dependency.
  • merge stream related changes from 0.3.3 branch
    • breaking changes in Java client
      • return ClickHouseInputStream/ClickHouseOutputStream instead of plain InputStream/OutputStream
      • ClickHouseLZ4InputStream and ClickHouseLZ4OutputStream are removed
    • slightly improved performance and fewer memory consumption
      Benchmark (ops/s) Native JDBC 2.6.5 0.3.2-patch7 0.3.2-patch8
      Query.selectArrayOfUInt16 0.793 ± 0.117 1.900 ± 0.167 1.967 ± 0.159
      Query.selectDateTime32 46.118 ± 1.943 55.246 ± 3.234 57.230 ± 1.812
      Query.selectDecimal64 40.261 ± 2.093 49.354 ± 2.801 54.359 ± 1.758
      Query.selectInt8 100.930 ± 2.422 104.269 ± 4.216 108.232 ± 4.882
      Query.selectMapOfInt32 0.915 ± 0.086 1.646 ± 0.094 1.817 ± 0.104
      Query.selectString 37.372 ± 1.455 35.697 ± 1.457 38.293 ± 1.742
      Query.selectTupleOfInt16 0.802 ± 0.099 1.996 ± 0.110 1.666 ± 0.099
      Query.selectUInt64 46.926 ± 2.104 57.504 ± 2.603 63.769 ± 2.246
  • update benchmarks to cover more scenarios
  • enhance multi-format support

Hold commits until ClickHouse/ClickHouse#35906 resolved.

@zhicwu zhicwu merged commit 73d18ce into ClickHouse:develop Apr 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant