mirror of
https://github.com/apache/superset.git
synced 2026-04-25 02:55:07 +00:00
fix(docs): Update Arc database connector documentation (#35805)
This commit is contained in:
committed by
GitHub
parent
cc6a5dc29a
commit
3d2ed363aa
@@ -49,7 +49,8 @@ are compatible with Superset.
|
||||
| [Apache Pinot](/docs/configuration/databases#apache-pinot) | `pip install pinotdb` | `pinot://BROKER:5436/query?server=http://CONTROLLER:5983/` |
|
||||
| [Apache Solr](/docs/configuration/databases#apache-solr) | `pip install sqlalchemy-solr` | `solr://{username}:{password}@{hostname}:{port}/{server_path}/{collection}` |
|
||||
| [Apache Spark SQL](/docs/configuration/databases#apache-spark-sql) | `pip install pyhive` | `hive://hive@{hostname}:{port}/{database}` |
|
||||
| [Arc (Basekick Labs)](/docs/configuration/databases#arc) | `pip install arc-superset-dialect` | `arc://{api_key}@{hostname}:{port}/{database}` |
|
||||
| [Arc - Apache Arrow](/docs/configuration/databases#arc-arrow) | `pip install arc-superset-arrow` | `arc+arrow://{api_key}@{hostname}:{port}/{database}` |
|
||||
| [Arc - JSON](/docs/configuration/databases#arc-json) | `pip install arc-superset-dialect` | `arc+json://{api_key}@{hostname}:{port}/{database}` |
|
||||
| [Ascend.io](/docs/configuration/databases#ascendio) | `pip install impyla` | `ascend://{username}:{password}@{hostname}:{port}/{database}?auth_mechanism=PLAIN;use_ssl=true` |
|
||||
| [Azure MS SQL](/docs/configuration/databases#sql-server) | `pip install pymssql` | `mssql+pymssql://UserName@presetSQL:TestPassword@presetSQL.database.windows.net:1433/TestSchema` |
|
||||
| [ClickHouse](/docs/configuration/databases#clickhouse) | `pip install clickhouse-connect` | `clickhousedb://{username}:{password}@{hostname}:{port}/{database}` |
|
||||
@@ -1259,17 +1260,31 @@ hive://hive@{hostname}:{port}/{database}
|
||||
|
||||
#### Arc
|
||||
|
||||
The recommended connector library is [arc-superset-dialect](https://pypi.org/project/arc-superset-dialect/). Install with `pip install arc-superset-dialect`.
|
||||
There are two ways to connect Superset to Arc:
|
||||
|
||||
**1. Arc with Apache Arrow (Recommended)**
|
||||
|
||||
The recommended connector library for Arc with Apache Arrow support is [arc-superset-arrow](https://pypi.org/project/arc-superset-arrow/).
|
||||
|
||||
The connection string looks like:
|
||||
|
||||
```
|
||||
arc://{api_key}@{hostname}:{port}/{database}
|
||||
arc+arrow://{api_key}@{hostname}:{port}/{database}
|
||||
```
|
||||
|
||||
##### Multi-Database Support
|
||||
**2. Arc with JSON**
|
||||
|
||||
Arc supports multiple databases (schemas) within a single instance. In Superset, each Arc database appears as a schema in the SQL Lab, and cross-database queries are supported using `database.table` syntax.
|
||||
Alternatively, you can use the JSON connector [arc-superset-dialect](https://pypi.org/project/arc-superset-dialect/).
|
||||
|
||||
The connection string looks like:
|
||||
|
||||
```
|
||||
arc+json://{api_key}@{hostname}:{port}/{database}
|
||||
```
|
||||
|
||||
Arc supports multiple databases (schemas) within a single instance. In Superset, each Arc database appears as a schema in the SQL Lab.
|
||||
|
||||
**Note:** The Arrow dialect (`arc-superset-arrow`) is recommended for production use as it provides 3-5x better performance using Apache Arrow IPC binary format.
|
||||
|
||||
#### SQL Server
|
||||
|
||||
|
||||
Reference in New Issue
Block a user