clickhouse-java icon indicating copy to clipboard operation
clickhouse-java copied to clipboard

com.clickhouse.client.ClickHouseException#getErrorCode returns wrong code

Open pan3793 opened this issue 1 year ago • 0 comments

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.

pan3793 avatar Feb 20 '24 06:02 pan3793