ClickHouse / clickhouse-java

ClickHouse Java Clients & JDBC Driver
https://clickhouse.com
Apache License 2.0
1.45k stars 535 forks source link

[client-v2] Fix handling HTTP error status codes #1875

Closed dizider closed 3 weeks ago

dizider commented 1 month ago

Summary

A HTTP requests to clickhouse which ended with server error (>500) throw a ServerException.

Checklist

Delete items not relevant to your PR:

Closes: #1874

CLAassistant commented 1 month ago

CLA assistant check
All committers have signed the CLA.

chernser commented 3 weeks ago

@dizider Thank you for the contribution! Will review shortly.