Improvements
- [jdbc-v2] Now using Antlr4 to parse SQL statements to get meta information about it.
Invalid SQL still possible to execute if logic able to get all required information. (#2351) - [jdbc-v2] Now possible to use
RowBinaryWriterif enabled by propertycom.clickhouse.jdbc.internal.DriverProperties.BETA_ROW_BINARY_WRITER.
This works well for batches. Single statements may get no benefits. (#2316)
Bug Fixes
- [jdbc-v2] Fixed parsing prepared statement arguments. (#2348)
- [jdbc-v2] Fixed parsing role name when it contains
-. (#2325) - [jdbc-v2] Fixed failure when
INSERTdoesn't containVALUES. (#2283) - [jdbc-v2] Fixed parsing
INSERTstatement whenVALUESis in lower case. (#2354) - [client-v2] Fixed NPE when async operation is request while client was built without an executor.
In this case default JVM executor will be used. (#2355) - [client-v2, jdbc-v2] Fixed conversion of IP addresses. When IPv4 stored as IPv6 it is correctly converted
toInet6Address. Similar problem fixed for JDBC. (#2342) - [jdbc-v2] Fixed changing DB schema (DB name) on connection when
USEstatement executed. (#2137) - [client-v2] Fixed serializing POJO with primitive
booleanfields. (#2248)