ClickHouse / ClickHouse/clickhouse-java

[client-v2] FixedString padding

Open
#2,929 0 comments 0 reactions 0 assignees View on GitHub
area:data-type area:docs client-api-v2
Dominant language
Java
Stars
1.6k
Forks
636
Avg merge
2d 23h
Merged PRs (30d)
29

Description

### Description

Exact number of bytes should be sent when writing a `FixedString`. When string has less number then client add padding `0`s . This behavior is not documented well.

Contributor guide

Open the contributing guide

Research direction

Start in the client-v2 FixedString writing path and trace how the declared string length is converted into bytes. Compare the output with the issue's expected exact length and zero padding, then add coverage or documentation that makes the resulting behavior verifiable.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.