ClickHouse / ClickHouse/clickhouse-java

[jdbc-v2, client-v2] Accept `1` and `0` for boolean properties

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

Description

### Description

There is a number of boolean properties in the driver and the client. Currently they may be inconsistent and accept `1` along with `true`. For better user experience we need it consistent and documented.

Contributor guide

Open the contributing guide

Research direction

Start by inventorying boolean properties in the jdbc-v2 driver and client-v2 configuration, then compare how each currently parses values and where its documentation is defined. Done means the relevant properties consistently accept true, false, 1, and 0, with the supported values documented.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.