ClickHouse / clickhouse-java

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

[jdbc] The ClickHouseHttpConnection overrides `result_overflow_mode`. #1932

Open chernser opened 3 days ago

chernser commented 3 days ago

Description

There is a setting result_overflow_mode that controls what to do when result limit exceeded (doc). Current JDBC implementation doesn't let an user to override this settings. It is especially needed when use_query_cache is set. In such cases result_overflow_mode would be throw.

See also https://github.com/ClickHouse/ClickHouse/pull/69549 Query Cache https://clickhouse.com/docs/en/operations/query-cache#configuration-settings-and-usage