clickhouse-java
clickhouse-java copied to clipboard
com.clickhouse.client.ClickHouseException#getErrorCode returns wrong code
TL;DR - with the default configuration, when accessing ClickHouse 23.10 or above, the com.clickhouse.client.ClickHouseException#getErrorCode can not extract the error code correctly.
The issue can be reproduced with the latest 0.4, 0.5, 0.6 versions
The issue is detected in https://github.com/housepower/spark-clickhouse-connector/issues/286.