- ClickHouseByteBuffer can no longer be extended
- rename ClickHouseByteUtils methods by removing LE suffix
- change default databaseTerm from schema to catalog
- remove deprecated API load, dump and connect
- remove use_no_proxy settings
- Adding new proxy support #1338
- Add support for customer socket factory #1391
- use VarHandle in JDK 9+ to read/write numbers
- Establish secured connection with custom Trust Store file
- Change default HTTP Client to Apache HTTP client #1421
- Java client threw confusing error when query is invalid.
- JDBC Driver correctly processes
AggregateFunction(Nested(...))
columns - Incorrect parameter position
- Fix testing framework to support secured clickhouse server
- ClickHouseStatement.setMirroredOutput() for dumping ResultSet.
- ClickHouseResponse.records(Class<?>) for object mapping.
- Two new options(use_compilation & max_mapper_cache) reserved for future usage.
- Too many socket fds generated by Apache HttpClient.
- NoClassDefFoundError with clickhouse-apache-http-client-jdbc. #1319
- Nested array in tuple array is incorrectly deserialized. #1324
- client certificate password exposure in exception. #1331
- refactor data processors and response classes to ensure input stream remain intact before first read:
- move ClickHouseSimpleRecord to com.clickhouse.data
- stop reading input stream when instantiating ClickHouseDataProcessor
- remove createRecord() method in ClickHouseDataProcessor along with some duplicated code
- disable SQL rewrite for DELETE statement in ClickHouse 23.3+
- Slow when using Apache Http Client. #1320
- ClickHouseResponse.getInputStream may return closed input stream.
- ConcurrentModificationException may occure during deserialization. #1327
- ClickHouseSslContextProvider is not customizable. #1329
- flatten plugin 1.4.1 generated non-sense dependencies.
- replace JavaCC21 with CongoCC
- unable to convert empty string to default value when using text-based data format.
- r2dbc driver does not support most client options. #1299
- incorrect content from Lz4InputStream when using text-based data format #48446
- ClickHouseSqlStatement and *ParserHandler in JDBC driver were refactored to support
compression
andinfile
in insert statement.
- centralized configuration for JDBC driver using custom server setting
custom_jdbc_config
. - support
BEGIN TRANSACTION
,COMMIT
, andROLLBACK
in JDBC driver. #975 - new options for JDBC driver
- error while converting Nested values to Java maps.
- incorrect algorithm extracted from PEM. #1274
- transaction failure introduced 0.4.0.
- respect node-specific credentials. #1114
- USE statement does nothing. #1160
- executeBatch does not support on cluster anymore. #1261
- changed option names - #1203
- compress_alogrithm -> compress_algorithm
- decompress_alogrithm -> decompress_algorithm
- added source in shaded jar for IDE friendly. #1217
- iterable ClickHouseInputStream, which slightly improved performance of piping. #1238
- ClickHouseOutputStream.transferBytes() is deprecated and it will be removed in 0.5.
- read() and write() methods in ClickHouseClient - connect() is deprecated and it will be removed in 0.5.
- make all dependencies of JDBC driver optional, along with configuration for building native binary. #1247
- incorrect nested array value. #1221
- incorrect nested array values. #1223
- potential endless loop when handling batch update error. #1233
- exception when deserializing Array(FixedString(2)) from RowBinary. #1235
- deserialization failure of Nested data type. #1240 broken serde for Nested, which also impacted JSON. #1242
- fix 64bit bitmap serialization issue. #641, #874, #1141
- gRPC client may complete execution before closing response stream
- throw StreamCorruptedException instead of generic IOException when deserialization failed (mostly due to server error)
- refactored
JdbcTypeMapping
to make it extensible. #1075 - removed legacy driver
ru.yandex.*
.#1089 - removed most deprecated methods and class members
- refactored data processor(for serialization and deserialization) and added new classes for unsigned types. #1124
- refactored ClickHouseRequest/ClickHouseInputStream/ClickHouseOutputStream to better support compression. #1174, #1189
- extracted
clickhouse-data
fromclickhouse-client
along with new packages. #1197com.clickhouse.config // generic configuration com.clickhouse.data // data processing utilities com.clickhouse.logging // generic logging utility
- added jdk17 in pom and changed build instructions
mvn -Dj8 clean install # for jdk8, it was 'mvn clean install' mvn clean install # for jdk17, it was 'mvn -Drelease clean install'
- added R2DBC driver. #914
- enhanced ClickHouseClient for importing and exporting compressed file. #1004
- added new option
custom_settings
. #1059 - enhanced
ClickHouseRequestManager
to support query/session ID customization. #1074 - added Apache HTTP Client 5 to support socket options. #1146
- enhanced
clickhouse-grpc-client
to support request chunking and compressiondecompress_alogrithm
(request compression):BROTLI
[-1,11],BZ2
,DEFLATE
[0,9],GZIP
[-1,9],LZ4
[0,18],XZ
[0,9],ZSTD
[0,22]compress_alogrithm
(response decompression):DEFLATE
,LZ4
,ZSTD
Note: typo will be fixed in v0.4.1.
- enhanced
clickhouse-http-client
to support zstd compression for both request and responsedecompress_alogrithm
(request compression):LZ4
[0,18],ZSTD
[0,22]compress_alogrithm
(response decompression):BROTLI
,BZ2
,DEFLATE
,GZIP
,LZ4
,XZ
,ZSTD
Note: typo will be fixed in v0.4.1.
- added stream-based prepared statement. #1163
- browser-like client name (
select distinct http_user_agent from system.query_log
). #1182 - enhanced
ClickHouseRequest
by treating input stream andClickHouseWriter
equally. #1200
- not able to cancel query when there's session_id. #1035
- overflow error when handling BigInteger and BigDecimal in ClickHouseLongValue. #1040
- not handling SimpleAggregateFunction properly. #1054
- DELETE FROM was rewritten to ALTER TABLE DELETE even when lightweight deletion was enabled. #1063
- forced headless format for inserting. #1073
- missing the verb "be" in error messages. #1137
- write time field data loss precision. #1127
- fixed a few copy-paste error causing problem handling Geo types