You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have upgraded my jdbc client to 0.3.2 and my version of clickhouse is 21.10.2.15 to be up to date but I have the same error.
Any idea why there are two codes in the stack trace ?
Thanks for reporting the issue. It's a parsing issue as mentioned in #729 and it's been fixed in develop branch. In the upcoming new JDBC driver, it will try to extract error code from response header first, and then parse the error message.
Lastly, I want to mention that 1) ClickHouseErrorCode is outdated and you may want to check here; 2) consider to use SQLState instead of specific error code.
Activity
zhicwu commentedon Nov 4, 2021
Thanks for reporting the issue. It's a parsing issue as mentioned in #729 and it's been fixed in develop branch. In the upcoming new JDBC driver, it will try to extract error code from response header first, and then parse the error message.
Lastly, I want to mention that 1) ClickHouseErrorCode is outdated and you may want to check here; 2) consider to use SQLState instead of specific error code.
RonanMorgan commentedon Nov 8, 2021
thanks a lot !
zhicwu commentedon Nov 30, 2021
Fixed in new JDBC driver: