Skip to content

[Integration Spec] Update docs/integration-jdbc.md - #3103

Merged
chernser merged 7 commits into
mainfrom
09/06/26/int_spec_jdbc_changes
Nov 17, 2026
Merged

chernser merged 7 commits into
mainfrom
09/06/26/int_spec_jdbc_changes

Conversation

@chernser

@chernser chernser commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Followup PR for comments.

https://github.com/ClickHouse/clickhouse-java/pull/2914/changes#r3594185661

Lets add step 8 in with:

    Docker setup for local clickhouse
    cloud environment - partners get credits to use
    reference to example test suites in our repo

we should make sure to highlight areas like:

    functional correctness: row count matches, data types, schema mismatch handling
    potential failure paths: idempotent inserts, retryable vs non-retryable, long operation failures
    latency vs throughput vs part count
    client_name, logging enabled
    cloud readiness: idle instance handling, long running query failures
    automated testing against the different channels in CH cloud for version support

Docker setup and cloud environment - added as "Development environment" section.
References to example test suites will be in another document. Currently we have many examples inline.

functional correctness - covered in Failure handling in Select and Insert operations
potential failure paths
- idempotent inserts - covered in "Idempotency — deduplication token"
- what is retryable - covered in failure handling section for each operation
- long operations failures

client_name - covered in "Workload identification" section

Checklist

Delete items not relevant to your PR:

  • Closes #
  • Unit and integration tests covering the common scenarios were added
  • A human-readable description of the changes was provided to include in CHANGELOG
  • For significant changes, documentation in https://github.com/ClickHouse/clickhouse-docs was updated with further explanations or tutorials

Note

Low Risk
Changes are limited to markdown documentation with no runtime or API modifications.

Overview
Docs-only follow-up to the JDBC integration spec, tightening guidance from review comments.

The integration index development-environment summary now labels the local vs Cloud recommendation and replaces a single Cloud doc link with a short set of references (OSS vs Cloud comparison, cloud architecture, and Cloud docs).

The JDBC integration guide gets copy and structure polish (integration path intro, config reference wording). The largest change is external user configuration: it explains separating connector config from driver properties, pinning/overriding properties last (with a toDriverProperties example using ClientConfigProperties and DriverProperties), and stronger validation/security notes. The schema mismatch (error code 33) section is updated for com.clickhouse.client.api.ServerException, explains walking wrapped exception chains (frameworks, pools, async), and replaces the handling snippet with a findServerException helper pattern.

Reviewed by Cursor Bugbot for commit 9c7f9f9. Bugbot is set up for automated code reviews on this repo. Configure here.

Comment thread docs/integration-index.md Resolved
Comment thread docs/integration-index.md Resolved
@chernser
chernser marked this pull request as ready for review October 15, 2026 23:08
@chernser
chernser requested a review from mzitnik as a code owner October 15, 2026 23:08

@laeg laeg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

few changes and suggestions please Sergey

Comment thread docs/integration-index.md Resolved
Comment thread docs/integration-jdbc.md Resolved
Comment thread docs/integration-jdbc.md Resolved
Comment thread docs/integration-jdbc.md Resolved
@mshustov
mshustov requested a review from laeg November 9, 2026 15:01

@laeg laeg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small bit and then LGTM

@chernser
chernser requested a review from laeg November 16, 2026 16:43

@security-ai-gate-reviewer security-ai-gate-reviewer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved by the AI review gate on 645729d. Details in the approver's comment on this pull request.

@security-ai-gate-reviewer

security-ai-gate-reviewer Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

AI review gate — auto-approved

9c7f9f956356 is approved by security-ai-gate-reviewer[bot], an automated identity, not a human. The approval stands on the required AI review: Cursor Bugbot concluded green on this commit and the AI review gate is SUCCESS (its own comment has the verdict), and the change touches no path that requires a human reviewer. It is bound to this commit: a new push dismisses it and the approver re-evaluates.

History (latest 5 heads, newest first)

  • 9c7f9f956356 approved — green: Cursor Bugbot
  • 645729d8cdbe approved — green: Cursor Bugbot

laeg
laeg previously approved these changes Nov 17, 2026
@chernser chernser closed this Nov 17, 2026
@chernser chernser reopened this Nov 17, 2026
@chernser
chernser requested a review from a team as a code owner November 17, 2026 16:37

@laeg laeg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🪨 ⭐

@github-actions

Copy link
Copy Markdown

AI review gate — Human approval in place of AI review

Approved on the head commit by laeg (write access, not the author), standing in for the AI review:

  • Cursor Bugbot is still reviewing this commit.

What to do:

  • Nothing to do yet if the review is running. The gate turns green when it finishes clean.
  • No review showing up? Post bugbot run as a new top-level PR comment. If that does nothing, Bugbot is probably not enabled for this repository: ask a repository administrator.

Evaluated at 9c7f9f95. This required workflow does not re-run on its own once the AI review later concludes — check the Cursor Bugbot check on this commit directly for its current state.

@security-ai-gate-reviewer security-ai-gate-reviewer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved by the AI review gate on 9c7f9f9. Details in the approver's comment on this pull request.

@chernser
chernser merged commit 6fde730 into main Nov 17, 2026
5 of 6 checks passed
@chernser
chernser deleted the 09/06/26/int_spec_jdbc_changes branch November 17, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants