You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "sdairs (via GitHub)" <gi...@apache.org> on 2026/10/01 18:57:08 UTC

[PR] docs(databases): add ClickHouse Managed Postgres [superset]

sdairs opened a new pull request, #44870:
URL: https://github.com/apache/superset/pull/44870

   ### SUMMARY
   
   Hi 👋 I work for ClickHouse. Could we include ClickHouse Managed Postgres in Superset's PostgreSQL-compatible databases list?
   
   This adds a psycopg2 connection example with verified TLS, including where to find the connection details and download the instance CA certificate.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
   The PostgreSQL page gains a ClickHouse Managed Postgres entry under Compatible Databases.
   
   ### TESTING INSTRUCTIONS
   
   Run `cd docs && yarn build:full && yarn serve`, then open `/user-docs/databases/supported/postgresql/` and find the new entry under Compatible Databases.
   
   The generated connection string passed queries and table discovery against ClickHouse Managed Postgres over verified TLS. Connections with an untrusted CA or incorrect hostname were rejected. Formatting, Python type checks and metadata validation passed.
   
   The documentation build passed. The docs typecheck and link lint report the same failures on unchanged upstream.
   
   ### ADDITIONAL INFORMATION
   
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] docs(databases): add ClickHouse Managed Postgres [superset]

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #44870:
URL: https://github.com/apache/superset/pull/44870#issuecomment-5941604675

   ## [Codecov](https://app.codecov.io/gh/apache/superset/pull/44870?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   :white_check_mark: All modified and coverable lines are covered by tests.
   :white_check_mark: Project coverage is 81.66%. Comparing base ([`4911dbe`](https://app.codecov.io/gh/apache/superset/commit/4911dbe00b0abebe59af196452887b5e5b875a1c?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`f7c7402`](https://app.codecov.io/gh/apache/superset/commit/f7c74022ae0e0ae97a5bbde0cf6be4762194fa5f?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   :warning: Report is 9 commits behind head on master.
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #44870      +/-   ##
   ==========================================
   - Coverage   81.71%   81.66%   -0.05%     
   ==========================================
     Files        2978     2978              
     Lines      181613   181613              
     Branches    41983    41983              
   ==========================================
   - Hits       148402   148321      -81     
   - Misses      30489    30554      +65     
   - Partials     2722     2738      +16     
   ```
   
   | [Flag](https://app.codecov.io/gh/apache/superset/pull/44870/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [hive](https://app.codecov.io/gh/apache/superset/pull/44870/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `36.67% <ø> (ø)` | |
   | [mysql](https://app.codecov.io/gh/apache/superset/pull/44870/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
   | [presto](https://app.codecov.io/gh/apache/superset/pull/44870/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `38.57% <ø> (ø)` | |
   | [python](https://app.codecov.io/gh/apache/superset/pull/44870/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `85.80% <ø> (-0.08%)` | :arrow_down: |
   | [sqlite](https://app.codecov.io/gh/apache/superset/pull/44870/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `55.54% <ø> (ø)` | |
   | [unit](https://app.codecov.io/gh/apache/superset/pull/44870/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `78.81% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
   </details>
   
   [:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/superset/pull/44870?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).   
   :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
   - :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] docs(databases): add ClickHouse Managed Postgres [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #44870:
URL: https://github.com/apache/superset/pull/44870#issuecomment-5957461114

   **Bito Automatic Review Skipped – PR Already Merged**<br/><br/>Bito scheduled an automatic review for this pull request, but the review was skipped because this PR was merged before the review could be run.<br/>No action is needed if you didn't intend to review it. To get a review, you can type `/review` in a comment and save it


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] docs(databases): add ClickHouse Managed Postgres [superset]

Posted by "netlify[bot] (via GitHub)" <gi...@apache.org>.
netlify[bot] commented on PR #44870:
URL: https://github.com/apache/superset/pull/44870#issuecomment-5938443378

   ### <span aria-hidden="true">✅</span> Deploy Preview for *superset-docs-preview* ready!
   
   
   |  Name | Link |
   |:-:|------------------------|
   |<span aria-hidden="true">🔨</span> Latest commit | f7c74022ae0e0ae97a5bbde0cf6be4762194fa5f |
   |<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/projects/superset-docs-preview/deploys/6abead04135a07000984b91e |
   |<span aria-hidden="true">😎</span> Deploy Preview | [https://deploy-preview-44870--superset-docs-preview.netlify.app](https://deploy-preview-44870--superset-docs-preview.netlify.app) |
   |<span aria-hidden="true">📱</span> Preview on mobile | <details><summary> Toggle QR Code... </summary><br /><br />![QR Code](https://app.netlify.com/qr-code/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2RlcGxveS1wcmV2aWV3LTQ0ODcwLS1zdXBlcnNldC1kb2NzLXByZXZpZXcubmV0bGlmeS5hcHAifQ.HOTDCrrq1O45wN-9vYKdnKDrYjQm9F8nvhkm4jcsOTM)<br /><br />_Use your smartphone camera to open QR code link._</details> |
   |<span aria-hidden="true">🤖</span> Make changes | [Run an agent on this branch](https://app.netlify.com/projects/superset-docs-preview/agent-runs#DcrLDYAgDADQXXrWWOPfDRyj0EaNQgnowRh3l9s7vBdCVBcumAEKMJG83bJZbarsudtj0ztJ6cjTKlwGTdcaJeXLEk59Fs67JyPE2NZNRzgg4jS2ZqoFvh8) |
   ---
   <!-- [superset-docs-preview Preview](https://deploy-preview-44870--superset-docs-preview.netlify.app) -->
   _To edit notification comments on pull requests, go to your [Netlify project configuration](https://app.netlify.com/projects/superset-docs-preview/configuration/notifications#deploy-notifications)._


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] docs(databases): add ClickHouse Managed Postgres [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on code in PR #44870:
URL: https://github.com/apache/superset/pull/44870#discussion_r4163374548


##########
superset/db_engine_specs/postgres.py:
##########
@@ -626,6 +626,40 @@ class PostgresEngineSpec(BasicParametersMixin, PostgresBaseEngineSpec):
                 ],
                 "known_incompatibilities": AURORA_DATA_API_KNOWN_INCOMPATIBILITIES,
             },
+            {
+                "name": "ClickHouse Managed Postgres",
+                "description": "Managed PostgreSQL from ClickHouse.",
+                "logo": "clickhouse.png",
+                "homepage_url": "https://clickhouse.com/cloud/postgres",
+                "pypi_packages": ["psycopg2"],
+                "connection_string": (
+                    "postgresql+psycopg2://{username}:{password}"
+                    "@{host}:{port}/{database}?sslmode=verify-full"
+                    "&sslrootcert={ca_certificate_path}"
+                ),
+                "parameters": {
+                    "username": "Database user",
+                    "password": "URL-encoded database password",
+                    "host": "Direct PostgreSQL hostname from the Connect dialog",
+                    "port": "Port from the Connect dialog (default: 5432)",
+                    "database": "Database name",
+                    "ca_certificate_path": (
+                        "URL-encoded absolute path to the instance CA certificate "
+                        "on the Superset server"
+                    ),
+                },
+                "notes": (
+                    "In ClickHouse Cloud, open Connect with via PgBouncer turned "

Review Comment:
   ```suggestion
                       "In ClickHouse Cloud, open Connect with PgBouncer turned "
   ```



##########
docs/src/data/databases.json:
##########
@@ -6965,6 +6965,25 @@
             },
             "notes": "Uses the Data API for serverless access. Standard PostgreSQL connections also work with psycopg2.",
             "categories": ["Cloud - AWS", "Hosted Open Source"]
+          },
+          {
+            "name": "ClickHouse Managed Postgres",
+            "description": "Managed PostgreSQL from ClickHouse.",
+            "logo": "clickhouse.png",
+            "homepage_url": "https://clickhouse.com/cloud/postgres",
+            "pypi_packages": ["psycopg2"],
+            "connection_string": "postgresql+psycopg2://{username}:{password}@{host}:{port}/{database}?sslmode=verify-full&sslrootcert={ca_certificate_path}",
+            "parameters": {
+              "username": "Database user",
+              "password": "URL-encoded database password",
+              "host": "Direct PostgreSQL hostname from the Connect dialog",
+              "port": "Port from the Connect dialog (default: 5432)",
+              "database": "Database name",
+              "ca_certificate_path": "URL-encoded absolute path to the instance CA certificate on the Superset server"
+            },
+            "notes": "In ClickHouse Cloud, open Connect with via PgBouncer turned off. Download the instance-specific CA certificate from Settings and make it available to each Superset process that connects to the database. Use verify-full to verify the certificate and hostname.",

Review Comment:
   ```suggestion
               "notes": "In ClickHouse Cloud, open Connect with PgBouncer turned off. Download the instance-specific CA certificate from Settings and make it available to each Superset process that connects to the database. Use verify-full to verify the certificate and hostname.",
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] docs(databases): add ClickHouse Managed Postgres [superset]

Posted by "hainenber (via GitHub)" <gi...@apache.org>.
hainenber merged PR #44870:
URL: https://github.com/apache/superset/pull/44870


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] docs(databases): add ClickHouse Managed Postgres [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #44870:
URL: https://github.com/apache/superset/pull/44870#issuecomment-5952659241

   AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
   
   <details>
   <summary>
   Bito Usage Guide
   </summary>
   
   **Commands**
         
   Type the following command in the pull request comment and save the comment.
         
   - `/review` - Manually triggers an incremental AI Review.
   - `/review full` - Manually triggers a full AI Review.
   
   - `/pause` - Pauses automatic reviews on this pull request.
   - `/resume` - Resumes automatic reviews.
   - `/resolve` - Marks all Bito-posted review comments as resolved.
   - `/abort` - Cancels all in-progress reviews.
   
         
   Refer to the <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/available-commands" target="_blank" rel="noopener noreferrer">documentation</a> for additional commands.
         
   **Configuration**
   
   This repository uses `Superset` You can customize the agent settings <a href="https://alpha.bito.ai/home/ai-agents/code-review-agent" target="_blank" rel="noopener noreferrer">here</a> or contact your Bito workspace admin at evan@preset.io.
         
   **Documentation & Help**
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/getting-started/install-run-using-bito-cloud/create-or-customize-an-agent-instance" target="_blank" rel="noopener noreferrer">Customize agent settings</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/implementing-custom-code-review-rules" target="_blank" rel="noopener noreferrer">Review rules</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent" target="_blank" rel="noopener noreferrer">General documentation</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/faqs" target="_blank" rel="noopener noreferrer">FAQ</a>
   
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] docs(databases): add ClickHouse Managed Postgres [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #44870:
URL: https://github.com/apache/superset/pull/44870#issuecomment-5938415228

   AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] docs(databases): add ClickHouse Managed Postgres [superset]

Posted by "sdairs (via GitHub)" <gi...@apache.org>.
sdairs commented on PR #44870:
URL: https://github.com/apache/superset/pull/44870#issuecomment-5949600630

   thanks @rusackas. "via PgBouncer" was actually button text in the UI but that did read confusingly - updated to be more clear


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org