From 2ba265e29156d3d52296234694c0c08cbad12b27 Mon Sep 17 00:00:00 2001 From: Tanish Sahu <126809056+Tanishsahu13@users.noreply.github.com> Date: Mon, 30 Nov 2026 11:24:56 +0530 Subject: [PATCH 1/2] =?UTF-8?q?docs:=20correct=20session=20rows=20in=20the?= =?UTF-8?q?=20V1=20=E2=86=92=20V2=20migration=20guide=20(fixes=20#3469)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tanish Sahu <126809056+Tanishsahu13@users.noreply.github.com> --- docs/clickhouse-docs/client.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/clickhouse-docs/client.mdx b/docs/clickhouse-docs/client.mdx index 67dd0f753..b75ba13fe 100644 --- a/docs/clickhouse-docs/client.mdx +++ b/docs/clickhouse-docs/client.mdx @@ -1381,9 +1381,9 @@ Table below shows what old options are supported in the new client and their new | `ClickHouseHttpOption#AHC_RETRY_ON_FAILURE` | `Client.Builder#retryOnFailures` | | | `ClickHouseClientOption#FAILOVER` | ✗ | | | `ClickHouseClientOption#REPEAT_ON_SESSION_LOCK` | ✗ | | -| `ClickHouseClientOption#SESSION_ID` | ✗ | | -| `ClickHouseClientOption#SESSION_CHECK` | ✗ | | -| `ClickHouseClientOption#SESSION_TIMEOUT` | ✗ | | +| `ClickHouseClientOption#SESSION_ID` | `Client.Builder#setSessionId` | | +| `ClickHouseClientOption#SESSION_CHECK` | `Client.Builder#setSessionCheck` | | +| `ClickHouseClientOption#SESSION_TIMEOUT` | `Client.Builder#setSessionTimeout` | | @@ -1479,7 +1479,7 @@ Table below shows what old options are supported in the new client and their new | V1 Configuration | V2 Builder Method | Comments | |------------------|-------------------|----------| -| `ClickHouseDefaults#AUTO_SESSION` | ✗ | Session support will be reviewed | +| `ClickHouseDefaults#AUTO_SESSION` | ✗ | No automatic session; set one explicitly with `Client.Builder#setSessionId` | | `ClickHouseDefaults#BUFFERING` | ✗ | | | `ClickHouseDefaults#MAX_REQUESTS` | ✗ | | | `ClickHouseDefaults#ROUNDING_MODE` | | | From 9e4c849d0a131b6e75d7ce95240f831bc953dace Mon Sep 17 00:00:00 2001 From: Tanish Sahu <126809056+Tanishsahu13@users.noreply.github.com> Date: Mon, 30 Nov 2026 11:41:23 +0530 Subject: [PATCH 2/2] =?UTF-8?q?docs:=20correct=20session=20rows=20in=20the?= =?UTF-8?q?=20V1=20=E2=86=92=20V2=20migration=20guide=20(fixes=20#3469)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tanish Sahu <126809056+Tanishsahu13@users.noreply.github.com> --- history/latest/3469.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 history/latest/3469.md diff --git a/history/latest/3469.md b/history/latest/3469.md new file mode 100644 index 000000000..567154545 --- /dev/null +++ b/history/latest/3469.md @@ -0,0 +1,2 @@ +- **[docs]** Fixed the V1 → V2 migration guide: the `SESSION_ID`, `SESSION_CHECK` and `SESSION_TIMEOUT` rows now name the `Client.Builder` methods that support them, and the `AUTO_SESSION` comment no longer implies client-v2 has no sessions. + (https://github.com/ClickHouse/clickhouse-java/issues/3469)