You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2022/08/25 13:35:40 UTC

[superset] branch master updated: chore: bump clickhouse-sqlalchemy 0.2.2 (#21195)

This is an automated email from the ASF dual-hosted git repository.

villebro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 994e1f6bdc chore: bump clickhouse-sqlalchemy 0.2.2 (#21195)
994e1f6bdc is described below

commit 994e1f6bdcad30000804343ec87159eee36c9ace
Author: EugeneTorap <ev...@gmail.com>
AuthorDate: Thu Aug 25 16:35:20 2022 +0300

    chore: bump clickhouse-sqlalchemy 0.2.2 (#21195)
---
 docs/docs/databases/clickhouse.mdx                  | 8 +++-----
 docs/docs/databases/installing-database-drivers.mdx | 2 +-
 setup.py                                            | 2 +-
 3 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/docs/docs/databases/clickhouse.mdx b/docs/docs/databases/clickhouse.mdx
index e717b60bf0..7afcc50c15 100644
--- a/docs/docs/databases/clickhouse.mdx
+++ b/docs/docs/databases/clickhouse.mdx
@@ -7,18 +7,16 @@ version: 1
 
 ## ClickHouse
 
-To use ClickHouse with Superset, you will need to add the following Python libraries:
+To use ClickHouse with Superset, you will need to add the following Python library:
 
 ```
-clickhouse-driver==0.2.0
-clickhouse-sqlalchemy==0.1.6
+clickhouse-sqlalchemy>=0.2.2
 ```
 
 If running Superset using Docker Compose, add the following to your `./docker/requirements-local.txt` file:
 
 ```
-clickhouse-driver>=0.2.0
-clickhouse-sqlalchemy>=0.1.6
+clickhouse-sqlalchemy>=0.2.2
 ```
 
 The recommended connector library for ClickHouse is
diff --git a/docs/docs/databases/installing-database-drivers.mdx b/docs/docs/databases/installing-database-drivers.mdx
index d7e9ce9c9c..c2dc1159e6 100644
--- a/docs/docs/databases/installing-database-drivers.mdx
+++ b/docs/docs/databases/installing-database-drivers.mdx
@@ -35,7 +35,7 @@ A list of some of the recommended packages.
 | [Ascend.io](/docs/databases/ascend)                       | `pip install impyla`                                                               | `ascend://{username}:{password}@{hostname}:{port}/{database}?auth_mechanism=PLAIN;use_ssl=true`             |
 | [Azure MS SQL](/docs/databases/sql-server)                | `pip install pymssql`                                                              | `mssql+pymssql://UserName@presetSQL:TestPassword@presetSQL.database.windows.net:1433/TestSchema`            |
 | [Big Query](/docs/databases/bigquery)                     | `pip install pybigquery`                                                           | `bigquery://{project_id}`                                                                                   |
-| [ClickHouse](/docs/databases/clickhouse)                  | `pip install clickhouse-driver==0.2.0 && pip install clickhouse-sqlalchemy==0.1.6` | `clickhouse+native://{username}:{password}@{hostname}:{port}/{database}`                                    |
+| [ClickHouse](/docs/databases/clickhouse)                  | `pip install clickhouse-sqlalchemy`                                                | `clickhouse+native://{username}:{password}@{hostname}:{port}/{database}`                                    |
 | [CockroachDB](/docs/databases/cockroachdb)                | `pip install cockroachdb`                                                          | `cockroachdb://root@{hostname}:{port}/{database}?sslmode=disable`                                           |
 | [Dremio](/docs/databases/dremio)                          | `pip install sqlalchemy_dremio`                                                    | `dremio://user:pwd@host:31010/`                                                                             |
 | [Elasticsearch](/docs/databases/elasticsearch)            | `pip install elasticsearch-dbapi`                                                  | `elasticsearch+http://{user}:{password}@{host}:9200/`                                                       |
diff --git a/setup.py b/setup.py
index 1ca612691b..411a184db0 100644
--- a/setup.py
+++ b/setup.py
@@ -131,7 +131,7 @@ setup(
             "pybigquery>=0.4.10",
             "google-cloud-bigquery>=2.4.0",
         ],
-        "clickhouse": ["clickhouse-sqlalchemy>=0.1.4, <0.2"],
+        "clickhouse": ["clickhouse-sqlalchemy>=0.2.2, <0.3"],
         "cockroachdb": ["cockroachdb>=0.3.5, <0.4"],
         "cors": ["flask-cors>=2.0.0"],
         "crate": ["crate[sqlalchemy]>=0.26.0, <0.27"],