ClickHouse / clickhouse-java

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

[client-v2] Fixes handling error when successful http status by error code header in response #1879

Closed chernser closed 3 weeks ago

chernser commented 3 weeks ago

Summary

Fixes the problem with case when server responds "200 OK" but then long running query fails and headers have exception code.

Linked to https://github.com/ClickHouse/clickhouse-java/issues/1821

Checklist

Delete items not relevant to your PR:

sonarcloud[bot] commented 3 weeks ago

Quality Gate Failed Quality Gate failed

Failed conditions
50.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud