Repository navigation
docs: correct session rows in the V1 → V2 migration guide - #3471
Merged
chernser merged 2 commits intoNov 30, 2026
Merged
Conversation
…kHouse#3469) Signed-off-by: Tanish Sahu <126809056+Tanishsahu13@users.noreply.github.com>
…kHouse#3469) Signed-off-by: Tanish Sahu <126809056+Tanishsahu13@users.noreply.github.com>
Contributor
|
@Tanishsahu13 much appreciate the change! |
chernser
approved these changes
Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #3469
The V1 → V2 migration guide (
docs/clickhouse-docs/client.mdx, tab "Timeouts & Retry") markedSESSION_ID,SESSION_CHECKandSESSION_TIMEOUTas ✗ (no V2 builder method), but client-v2 has had a builder method for each since 0.10.0:Client.Builder#setSessionId,#setSessionCheckand#setSessionTimeout(client-v2/src/main/java/com/clickhouse/client/api/Client.java:1079-1094onmain).Changes:
AUTO_SESSIONcomment in the "Miscellaneous" tab no longer says "Session support will be reviewed" — it now reads "No automatic session; set one explicitly withClient.Builder#setSessionId". The ✗ stays: client-v2 does not create a session by itself.history/latest/3469.mdchange record.How checked: verified the three builder methods exist on
mainat the cited lines and that the four stale cells were still atclient.mdx:1384-1386and1482before editing; the diff is exactly those four cells plus the new history file. No code changed, so no tests were run — the issue itself was verified against a live server by the reporter.Checklist
history/latest/3469.md)Note
Low Risk
Documentation and changelog only; no runtime or API code changes.
Overview
Updates the V1 → V2 migration guide in
docs/clickhouse-docs/client.mdxso session settings are documented correctly for client-v2.In the Timeouts & Retry mapping table,
SESSION_ID,SESSION_CHECK, andSESSION_TIMEOUTno longer show ✗; they now point toClient.Builder#setSessionId,#setSessionCheck, and#setSessionTimeout.In Miscellaneous, the
AUTO_SESSIONrow still shows no V2 equivalent (✗), but the comment is changed from “Session support will be reviewed” to clarifying that v2 does not auto-create sessions and sessions should be set explicitly via#setSessionId.A changelog entry was added in
history/latest/3469.mdfor issue #3469.Reviewed by Cursor Bugbot for commit 9e4c849. Bugbot is set up for automated code reviews on this repo. Configure here.