Skip to content

CPP: CH Cloud Connect Example #596

Open

Description

@slabko
No description provided.

Activity

  1. polyglotAI-bot commented on Nov 17, 2026

    @polyglotAI-bot
    Collaborator

    Recommendation: Keep open — maintainer decision: write in the issue what is missing
    master already has a ClickHouse Cloud connection example, in the docs and in examples/. Write in the issue what the new example must add, for example settings from environment variables or a CI build of the example. If the current examples cover the request, close this issue as already supported.

    • Category: Docs
    • Status on master: Already supported — the docs and an example file on master (58453c2) show a TLS connection to ClickHouse Cloud on port 9440. Code reading; nothing ran.
    • Breaking change: No
    • Duplicates / related: None found

    Analysis: The issue has no body, so the requested scope is not clear. docs/index.mdx:70-84 shows a Cloud connection (SetHost("your.instance.clickhouse.cloud"), SetUser, SetPassword, SetSSLOptions({}), SetPort(9440)); this text is on master since commit 6156118 (2026-07-21). examples/Basic_001_SimpleConnectInsertSelect.cpp:14-19 uses the same options, then creates a table, inserts rows and selects them; it is on master since commit d930ec8 (2026-08-24), before this issue. With SetSSLOptions({}), the client loads the CA certificates from the default locations and sends SNI (clickhouse/client.h:167, :186). The example has the host, user and password as literals in the code, and no CMake target or CI job builds it: the workflows refer to examples/ only in docs_drift_check.yml. The README says that the client works with Cloud (README.md:15), but it does not link to the example.

    Automated triage by Polyglot AI. A maintainer makes the final decision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions