ClickHouse / ClickHouse/clickhouse-java
Add missing `Hash` output format to `ClickHouseFormat` enum (JDBC/DataGrip throws "No enum constant ... Hash")
Open
bug
client-api-v2
jdbc-v2
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 636
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 28
Description
### Use case
Running a `SELECT ... FORMAT Hash` query through the JDBC driver (e.g. from DataGrip) fails with:
No enum constant com.clickhouse.data.ClickHouseFormat.Hash
The `Hash` output format (https://clickhouse.com/docs/interfaces/formats/Hash) is supported by the ClickHouse server but is not present in the`ClickHouseFormat` [enum](https://github.com/ClickHouse/clickhouse-java/blob/main/clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseFormat.java), so the driver throws before the query is ever sent.
Contributor guide
Assessment
This issue has not been assessed yet.