Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[client-v2, jdbc-v2] Client should detect server compression and use proper decompression algorithm

Open
#3,120 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
50/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
databases

Research direction

Start by locating the client HTTP response decompression path and the handling of the compress and decompress query parameters. Verify how server payloads are currently decoded, then make completion mean that payloads identified by ZSTD or LZ4 magic numbers can be read when HTTP compression is enabled; add or update tests for both algorithms.

Written by the indexing model from the issue text.

Description

Description

There is a change in upcoming ClickHouse version https://github.com/ClickHouse/ClickHouse/pull/108786
which switches to ZSTD(3) for disk and network.

In case of HTTP this is compression requested by compress query parameter (decompress is sent by client to indicate that payload is compressed).

What should be done

  • ZSTD compression library is added or existing used
  • when client reads payload it should detect magic number of ZSTD and LZ4 sent by server
  • if http compression and compress=1 is enabled it should be possible to read payload from server
Dominant language
Java
Stars
1.6k
Forks
637
Avg merge
2d 17h
Merged PRs (30d)
29

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ClickHouse/clickhouse-java

All issues in ClickHouse/clickhouse-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.