Add missing `Hash` output format to `ClickHouseFormat` enum (JDBC/DataGrip throws "No enum constant ... Hash")
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Start in clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseFormat.java and inspect how output formats are represented and parsed. Reproduce the JDBC/DataGrip failure with a SELECT ... FORMAT Hash query, then verify that Hash is recognized without the No enum constant error and that the query can be sent to ClickHouse.
Written by the indexing model from the issue text.
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 theClickHouseFormat enum, so the driver throws before the query is ever sent.
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 637
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ClickHouse/clickhouse-java
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ClickHouse/clickhouse-java#3143 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
ClickHouse/clickhouse-java#3111 ·
-
area:data-type bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ClickHouse/clickhouse-java#3098 · 1 comment ·
-
bug client-api-v2 test
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
ClickHouse/clickhouse-java#3076 ·
-
area:sql-parser bug client-v1
Difficulty 1/5 1-3 hours Newbie friendliness 92/100
ClickHouse/clickhouse-java#3066 ·
All issues in ClickHouse/clickhouse-java
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100