Skip to content

Commit 8fb0f7e

Browse files
committed
docs: add datafusion, spark, and clickhouse examples
1 parent 01afd83 commit 8fb0f7e

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

docs/databases.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,20 @@ Connect to Amazon Redshift:
2525
databow --driver redshift --uri postgresql://localhost:5439 --option redshift.cluster_type=redshift-serverless --option redshift.workgroup_name=<WORKGROUP_NAME> --option redshift.db_name=sample_data_dev
2626
```
2727

28+
## Apache DataFusion
29+
30+
Install the Apache DataFusion driver with dbc:
31+
32+
```sh
33+
dbc install datafusion
34+
```
35+
36+
Connect to Apache DataFusion:
37+
38+
```sh
39+
databow --driver datafusion
40+
```
41+
2842
## Apache Doris
2943

3044
Install the Arrow Flight SQL driver with dbc:
@@ -39,6 +53,20 @@ Connect to Apache Doris:
3953
databow --driver flightsql --uri grpc://localhost:8070 --username root
4054
```
4155

56+
## Apache Spark
57+
58+
Install the Apache Spark driver with dbc:
59+
60+
```sh
61+
dbc install --pre spark
62+
```
63+
64+
Connect to Apache Spark:
65+
66+
```sh
67+
databow --driver spark --uri "spark://admin@localhost:15002?auth_type=none&api=connect"
68+
```
69+
4270
## BigQuery
4371

4472
Install the BigQuery driver with dbc:
@@ -67,6 +95,20 @@ Connect to Citus:
6795
databow --driver postgresql --uri postgresql://postgres:password@localhost:5432/postgres
6896
```
6997

98+
## ClickHouse
99+
100+
Install the ClickHouse driver with dbc:
101+
102+
```sh
103+
dbc install --pre clickhouse
104+
```
105+
106+
Connect to ClickHouse:
107+
108+
```sh
109+
databow --driver clickhouse --uri http://localhost:8123 --username user --password pass
110+
```
111+
70112
## Databricks
71113

72114
Install the Databricks driver with dbc:

0 commit comments

Comments
 (0)