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
data-typesArea: type names, value encoding and decoding, row mapping, data formatsenhancementjdbcModule: the JDBC driver (jdbc-v2; with legacy: the v1 driver)
Recommendation: Keep open — maintainer decision
jdbc-v2 rejects a Null response, and on ClickHouse 26.8+ the default format header hides FORMAT Null from the server. A maintainer decides whether support covers only connections with format= (empty) or also the default format that DataGrip and DBeaver use.
Status on main: Not supported on main — a program ran SELECT number FROM numbers(1000000) FORMAT Null on 8480ca001. jdbc-v2 executeQuery() and execute() throw SQLException: Only RowBinaryWithNameAndTypes and JSONEachRow are supported for output format, but received format 'Null' on ClickHouse 26.3.66.4, and on 26.11.2.4 with format= (empty). On 26.11.2.4 with the default format, executeQuery() reads all 1,000,000 rows with no error. client-v2 query() gets the Null response when it sends no format header.
Breaking change: No — can be done without a break.
Analysis:StatementImpl.java:325-331 accepts only binary formats and JSONEachRow, and ClickHouseFormat.java:70 declares Null as not binary, so jdbc-v2 throws. client-v2 sends X-ClickHouse-Format: RowBinaryWithNamesAndTypes by default (HttpAPIClientHelper.java:954-963), and since 26.8 the server uses that header in place of the query's FORMAT clause (docs/features.md:18): the server then sends all rows.
Automated triage by Polyglot AI. A maintainer makes the final decision.
data-typesArea: type names, value encoding and decoding, row mapping, data formatsenhancementjdbcModule: the JDBC driver (jdbc-v2; with legacy: the v1 driver)
Activity
polyglotAI-bot commentedon Nov 27, 2026
Recommendation: Keep open — maintainer decision
jdbc-v2 rejects a
Nullresponse, and on ClickHouse 26.8+ the default format header hidesFORMAT Nullfrom the server. A maintainer decides whether support covers only connections withformat=(empty) or also the defaultformatthat DataGrip and DBeaver use.main: Not supported on main — a program ranSELECT number FROM numbers(1000000) FORMAT Nullon8480ca001. jdbc-v2executeQuery()andexecute()throwSQLException: Only RowBinaryWithNameAndTypes and JSONEachRow are supported for output format, but received format 'Null'on ClickHouse 26.3.66.4, and on 26.11.2.4 withformat=(empty). On 26.11.2.4 with the defaultformat,executeQuery()reads all 1,000,000 rows with no error. client-v2query()gets theNullresponse when it sends no format header.FORMATclause on 26.8+.Analysis:
StatementImpl.java:325-331accepts only binary formats andJSONEachRow, andClickHouseFormat.java:70declaresNullas not binary, so jdbc-v2 throws. client-v2 sendsX-ClickHouse-Format: RowBinaryWithNamesAndTypesby default (HttpAPIClientHelper.java:954-963), and since 26.8 the server uses that header in place of the query'sFORMATclause (docs/features.md:18): the server then sends all rows.Automated triage by Polyglot AI. A maintainer makes the final decision.