@clickzetta/cz-cli-darwin-x64 0.3.92 → 0.3.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cz-cli +0 -0
- package/bin/skills/clickzetta-ai-function/SKILL.md +109 -0
- package/bin/skills/clickzetta-ai-function/eval_cases.jsonl +4 -0
- package/bin/skills/clickzetta-ai-function/references/ai-function-ddl.md +106 -0
- package/bin/skills/clickzetta-batch-sync-pipeline/SKILL.md +124 -124
- package/bin/skills/clickzetta-batch-sync-pipeline/eval_cases.jsonl +5 -5
- package/bin/skills/clickzetta-bi-connect/SKILL.md +79 -78
- package/bin/skills/clickzetta-bi-connect/references/bi-tools.md +56 -56
- package/bin/skills/clickzetta-cdc-sync-pipeline/SKILL.md +386 -382
- package/bin/skills/clickzetta-cdc-sync-pipeline/eval_cases.jsonl +5 -5
- package/bin/skills/clickzetta-data-ingest-pipeline/SKILL.md +73 -212
- package/bin/skills/clickzetta-data-science/SKILL.md +57 -56
- package/bin/skills/clickzetta-data-science/references/bitmap-profile.md +38 -38
- package/bin/skills/clickzetta-data-science/references/data-patterns.md +16 -16
- package/bin/skills/clickzetta-data-science/references/setup.md +28 -28
- package/bin/skills/clickzetta-data-science/references/stats-functions.md +44 -44
- package/bin/skills/clickzetta-data-science/references/write-and-infer.md +22 -22
- package/bin/skills/clickzetta-data-science/references/zettapark-api.md +32 -32
- package/bin/skills/clickzetta-dw-modeling/SKILL.md +1 -1
- package/bin/skills/clickzetta-external-function/SKILL.md +51 -109
- package/bin/skills/clickzetta-external-function/eval_cases.jsonl +4 -4
- package/bin/skills/clickzetta-external-function/references/external-function-ddl.md +39 -77
- package/bin/skills/clickzetta-java-sdk/SKILL.md +49 -48
- package/bin/skills/clickzetta-java-sdk/eval_cases.jsonl +12 -12
- package/bin/skills/clickzetta-java-sdk/references/bulkload.md +34 -34
- package/bin/skills/clickzetta-java-sdk/references/realtime.md +44 -44
- package/bin/skills/clickzetta-kafka-ingest-pipeline/SKILL.md +273 -507
- package/bin/skills/clickzetta-kafka-ingest-pipeline/references/kafka-pipe-syntax.md +197 -231
- package/bin/skills/clickzetta-oss-ingest-pipeline/SKILL.md +231 -304
- package/bin/skills/clickzetta-realtime-sync-pipeline/SKILL.md +180 -179
- package/bin/skills/clickzetta-realtime-sync-pipeline/eval_cases.jsonl +5 -5
- package/bin/skills/clickzetta-semantic-view/SKILL.md +74 -72
- package/bin/skills/clickzetta-semantic-view/eval_cases.jsonl +12 -12
- package/bin/skills/clickzetta-semantic-view/references/semantic-view-reference.md +75 -75
- package/bin/skills/clickzetta-sql-migration/SKILL.md +128 -0
- package/bin/skills/clickzetta-sql-migration/eval_cases.jsonl +10 -0
- package/bin/skills/clickzetta-sql-migration/references/ddl-reference.md +350 -0
- package/bin/skills/clickzetta-sql-migration/references/dml-differences.md +192 -0
- package/bin/skills/clickzetta-sql-migration/references/dml-reference.md +279 -0
- package/bin/skills/{clickzetta-sql-syntax-guide → clickzetta-sql-migration}/references/dql-reference.md +128 -128
- package/bin/skills/clickzetta-sql-migration/references/function-mapping.md +194 -0
- package/bin/skills/clickzetta-sql-migration/references/functions-reference.md +372 -0
- package/bin/skills/clickzetta-sql-migration/references/implicit-type-conversion.md +143 -0
- package/bin/skills/clickzetta-sql-migration/references/migration-databricks.md +260 -0
- package/bin/skills/{clickzetta-sql-syntax-guide → clickzetta-sql-migration}/references/migration-snowflake.md +112 -112
- package/bin/skills/clickzetta-sql-migration/references/vs-snowflake.md +346 -0
- package/bin/skills/clickzetta-sql-migration/references/vs-spark.md +229 -0
- package/bin/skills/clickzetta-studio-task-manager/SKILL.md +326 -329
- package/bin/skills/clickzetta-table-lineage/SKILL.md +57 -55
- package/bin/skills/clickzetta-table-lineage/eval_cases.jsonl +1 -1
- package/bin/skills/clickzetta-table-lineage/references/normalize_func.sql +5 -5
- package/bin/skills/clickzetta-table-lineage/references/table_cost.sql +6 -6
- package/bin/skills/clickzetta-table-lineage/references/table_relation.sql +2 -2
- package/bin/skills/clickzetta-volume-manager/SKILL.md +186 -100
- package/bin/skills/clickzetta-volume-manager/references/volume-ddl.md +153 -52
- package/package.json +1 -1
- package/bin/skills/clickzetta-dynamic-table/best-practices/scheduling-guide.md +0 -135
- package/bin/skills/clickzetta-dynamic-table/dt-creator/references/dt-declaration-strategy.md +0 -185
- package/bin/skills/clickzetta-dynamic-table/dt-creator/references/refresh-history-guide.md +0 -260
- package/bin/skills/clickzetta-dynamic-table/dynamic-table-alter/SKILL.md +0 -191
- package/bin/skills/clickzetta-sql-syntax-guide/SKILL.md +0 -249
- package/bin/skills/clickzetta-sql-syntax-guide/eval_cases.jsonl +0 -3
- package/bin/skills/clickzetta-sql-syntax-guide/references/ddl-reference.md +0 -350
- package/bin/skills/clickzetta-sql-syntax-guide/references/dml-reference.md +0 -279
- package/bin/skills/clickzetta-sql-syntax-guide/references/functions-reference.md +0 -372
- package/bin/skills/clickzetta-sql-syntax-guide/references/migration-databricks.md +0 -260
- package/bin/skills/clickzetta-sql-syntax-guide/references/vs-snowflake.md +0 -346
- package/bin/skills/clickzetta-sql-syntax-guide/references/vs-spark.md +0 -229
- /package/bin/skills/{clickzetta-sql-syntax-guide → clickzetta-sql-migration}/LICENSE +0 -0
|
@@ -1,58 +1,59 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: clickzetta-bi-connect
|
|
3
3
|
description: |
|
|
4
|
-
|
|
5
|
-
Tableau
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
4
|
+
Connect BI tools and database clients to ClickZetta Lakehouse. Covers complete
|
|
5
|
+
connection setup for Apache Superset, Tableau, Metabase, DBeaver, DataGrip,
|
|
6
|
+
FineBI, and more — including JDBC connection string format, SQLAlchemy URL
|
|
7
|
+
format, and driver installation steps.
|
|
8
|
+
Trigger when user mentions: "connect Superset", "Tableau connect Lakehouse",
|
|
9
|
+
"Metabase", "DBeaver", "DataGrip", "BI tool", "JDBC connection",
|
|
10
|
+
"SQLAlchemy connection", "FineBI", "database client", "visualization tool",
|
|
11
|
+
"BI report", "PowerBI", "Navicat", "MySQL protocol connection".
|
|
11
12
|
Keywords: BI, Superset, Tableau, Metabase, DBeaver, DataGrip, FineBI, JDBC, connection
|
|
12
13
|
---
|
|
13
14
|
|
|
14
|
-
# ClickZetta BI
|
|
15
|
+
# ClickZetta BI Tool Connections
|
|
15
16
|
|
|
16
|
-
|
|
17
|
+
See [references/bi-tools.md](references/bi-tools.md) for detailed configuration per tool.
|
|
17
18
|
|
|
18
|
-
##
|
|
19
|
+
## Connection Method Quick Reference
|
|
19
20
|
|
|
20
|
-
|
|
|
21
|
+
| Tool | Connection Method |
|
|
21
22
|
|---|---|
|
|
22
23
|
| Apache Superset | SQLAlchemy URL |
|
|
23
|
-
| Tableau | JDBC + .taco
|
|
24
|
-
| Metabase |
|
|
24
|
+
| Tableau | JDBC + .taco plugin |
|
|
25
|
+
| Metabase | Dedicated .jar driver |
|
|
25
26
|
| DBeaver / DataGrip | JDBC |
|
|
26
|
-
|
|
|
27
|
-
| PowerBI | MySQL
|
|
28
|
-
| Navicat | MySQL
|
|
27
|
+
| FineBI | JDBC or MySQL protocol |
|
|
28
|
+
| PowerBI | MySQL protocol |
|
|
29
|
+
| Navicat | MySQL protocol |
|
|
29
30
|
| Python / ORM | SQLAlchemy |
|
|
30
31
|
|
|
31
32
|
---
|
|
32
33
|
|
|
33
|
-
## JDBC
|
|
34
|
+
## JDBC Connection String
|
|
34
35
|
|
|
35
36
|
```
|
|
36
37
|
jdbc:clickzetta://<instance>.<region_id>.api.clickzetta.com/<workspace>?username=<user>&password=<pwd>&schema=<schema>&virtualCluster=<vc_name>
|
|
37
38
|
```
|
|
38
39
|
|
|
39
|
-
|
|
40
|
+
**Example:**
|
|
40
41
|
```
|
|
41
42
|
jdbc:clickzetta://f8866243.cn-shanghai-alicloud.api.clickzetta.com/quick_start?username=alice&password=xxxx&schema=public&virtualCluster=default_ap
|
|
42
43
|
```
|
|
43
44
|
|
|
44
|
-
-
|
|
45
|
-
-
|
|
45
|
+
- Driver class: `com.clickzetta.client.jdbc.ClickZettaDriver`
|
|
46
|
+
- Driver download: Maven `com.clickzetta:clickzetta-java` or [sonatype](https://central.sonatype.com/artifact/com.clickzetta/clickzetta-java/versions)
|
|
46
47
|
|
|
47
48
|
---
|
|
48
49
|
|
|
49
|
-
## SQLAlchemy URL
|
|
50
|
+
## SQLAlchemy URL (Superset / Python ORM)
|
|
50
51
|
|
|
51
52
|
```
|
|
52
53
|
clickzetta://<username>:<password>@<instance>.<region_id>.api.clickzetta.com/<workspace>?schema=<schema>&vcluster=<vc_name>
|
|
53
54
|
```
|
|
54
55
|
|
|
55
|
-
|
|
56
|
+
Install:
|
|
56
57
|
```bash
|
|
57
58
|
pip uninstall -y clickzetta-sqlalchemy clickzetta-connector
|
|
58
59
|
pip install clickzetta-connector -U
|
|
@@ -62,16 +63,16 @@ pip install clickzetta-connector -U
|
|
|
62
63
|
|
|
63
64
|
## Apache Superset
|
|
64
65
|
|
|
65
|
-
**Docker
|
|
66
|
+
**Quick start with Docker:**
|
|
66
67
|
```bash
|
|
67
68
|
docker pull clickzetta/superset:2.1.0-1
|
|
68
69
|
docker run -p 8088:8088 clickzetta/superset:2.1.0-1
|
|
69
|
-
#
|
|
70
|
+
# Visit http://localhost:8088, credentials: admin/clickzetta
|
|
70
71
|
```
|
|
71
72
|
|
|
72
|
-
|
|
73
|
-
1. Settings → Database Connections → + Database →
|
|
74
|
-
2.
|
|
73
|
+
**Configure database connection:**
|
|
74
|
+
1. Settings → Database Connections → + Database → select **Other**
|
|
75
|
+
2. Enter SQLAlchemy URI:
|
|
75
76
|
```
|
|
76
77
|
clickzetta://username:password@instance.cn-shanghai-alicloud.api.clickzetta.com/workspace?vcluster=default_ap
|
|
77
78
|
```
|
|
@@ -81,10 +82,10 @@ docker run -p 8088:8088 clickzetta/superset:2.1.0-1
|
|
|
81
82
|
|
|
82
83
|
## Tableau
|
|
83
84
|
|
|
84
|
-
1.
|
|
85
|
-
2.
|
|
86
|
-
3.
|
|
87
|
-
4.
|
|
85
|
+
1. Place the JDBC JAR in the Tableau Drivers directory
|
|
86
|
+
2. Place the `.taco` plugin in the Connectors directory
|
|
87
|
+
3. Launch with `-DDisableVerifyConnectorPluginSignature=true`
|
|
88
|
+
4. Connect: To Server → More → **Lakehouse x ClickZetta**
|
|
88
89
|
|
|
89
90
|
---
|
|
90
91
|
|
|
@@ -96,81 +97,81 @@ docker cp clickzetta.metabase-driver.jar metabase:/plugins/
|
|
|
96
97
|
docker restart metabase
|
|
97
98
|
```
|
|
98
99
|
|
|
99
|
-
|
|
100
|
+
Visit `http://localhost:3000` → Admin Settings → Databases → Add a database → select ClickZetta
|
|
100
101
|
|
|
101
102
|
---
|
|
102
103
|
|
|
103
104
|
## DBeaver
|
|
104
105
|
|
|
105
|
-
1.
|
|
106
|
-
2.
|
|
107
|
-
3.
|
|
108
|
-
4.
|
|
106
|
+
1. Driver Manager → New Driver
|
|
107
|
+
2. Class name: `com.clickzetta.client.jdbc.ClickZettaDriver`
|
|
108
|
+
3. Add the JDBC JAR
|
|
109
|
+
4. New Connection → paste the JDBC connection string
|
|
109
110
|
|
|
110
111
|
---
|
|
111
112
|
|
|
112
|
-
## MySQL
|
|
113
|
+
## MySQL Protocol (PowerBI / Navicat / FineBI)
|
|
113
114
|
|
|
114
|
-
Lakehouse
|
|
115
|
+
Lakehouse supports MySQL protocol connections for tools that don't support custom JDBC drivers.
|
|
115
116
|
|
|
116
|
-
|
|
117
|
-
1.
|
|
118
|
-
2.
|
|
117
|
+
**Prerequisites:**
|
|
118
|
+
1. Reset the MySQL protocol password for the user in the admin console
|
|
119
|
+
2. Set the user's default virtual cluster (`ALTER USER username SET DEFAULT_VCLUSTER = default_ap`)
|
|
119
120
|
|
|
120
|
-
|
|
121
|
+
**Username format:** `<instance_name>.<workspace_name>.<username>`
|
|
121
122
|
|
|
122
|
-
|
|
123
|
-
-
|
|
124
|
-
-
|
|
125
|
-
-
|
|
126
|
-
-
|
|
123
|
+
**Connection parameters:**
|
|
124
|
+
- Host: `<instance>.<region_id>.mysql.clickzetta.com`
|
|
125
|
+
- Port: `3306`
|
|
126
|
+
- Username: `instance.workspace.username` (three-part format)
|
|
127
|
+
- Password: MySQL protocol password (not the Lakehouse login password)
|
|
127
128
|
|
|
128
129
|
### PowerBI
|
|
129
130
|
|
|
130
|
-
1.
|
|
131
|
-
2.
|
|
132
|
-
3.
|
|
133
|
-
4.
|
|
134
|
-
5.
|
|
131
|
+
1. Get Data → MySQL database
|
|
132
|
+
2. Server: `instance.cn-shanghai-alicloud.mysql.clickzetta.com`
|
|
133
|
+
3. Username: `instance.workspace.username`
|
|
134
|
+
4. Password: MySQL protocol password
|
|
135
|
+
5. Data connectivity mode: DirectQuery
|
|
135
136
|
|
|
136
137
|
### Navicat
|
|
137
138
|
|
|
138
|
-
1.
|
|
139
|
-
2.
|
|
140
|
-
3.
|
|
141
|
-
4.
|
|
142
|
-
5.
|
|
139
|
+
1. New Connection → MySQL
|
|
140
|
+
2. Host: `instance.cn-shanghai-alicloud.mysql.clickzetta.com`
|
|
141
|
+
3. Port: `3306`
|
|
142
|
+
4. Username: `instance.workspace.username`
|
|
143
|
+
5. Password: MySQL protocol password
|
|
143
144
|
|
|
144
|
-
###
|
|
145
|
+
### FineBI (MySQL protocol)
|
|
145
146
|
|
|
146
|
-
1.
|
|
147
|
-
2. URL
|
|
148
|
-
3.
|
|
149
|
-
4.
|
|
147
|
+
1. Admin → Data Connection → New Connection → MySQL
|
|
148
|
+
2. URL: `jdbc:mysql://instance.cn-shanghai-alicloud.mysql.clickzetta.com:3306/workspace`
|
|
149
|
+
3. Username: `instance.workspace.username`
|
|
150
|
+
4. Password: MySQL protocol password
|
|
150
151
|
|
|
151
|
-
> ⚠️ MySQL
|
|
152
|
+
> ⚠️ MySQL protocol connections have some SQL syntax limitations. See the [MySQL client connection guide](https://www.yunqi.tech/documents/use-mysql-client) for details.
|
|
152
153
|
|
|
153
154
|
---
|
|
154
155
|
|
|
155
|
-
##
|
|
156
|
+
## Common Region Codes
|
|
156
157
|
|
|
157
|
-
|
|
|
158
|
+
| Region | region_id |
|
|
158
159
|
|---|---|
|
|
159
|
-
|
|
|
160
|
-
|
|
|
161
|
-
|
|
|
162
|
-
| AWS
|
|
160
|
+
| Alibaba Cloud Shanghai | `cn-shanghai-alicloud` |
|
|
161
|
+
| Tencent Cloud Shanghai | `ap-shanghai-tencentcloud` |
|
|
162
|
+
| Tencent Cloud Beijing | `ap-beijing-tencentcloud` |
|
|
163
|
+
| AWS Singapore | `ap-southeast-1-aws` |
|
|
163
164
|
|
|
164
165
|
---
|
|
165
166
|
|
|
166
|
-
##
|
|
167
|
+
## Troubleshooting
|
|
167
168
|
|
|
168
|
-
|
|
|
169
|
+
| Issue | Solution |
|
|
169
170
|
|---|---|
|
|
170
|
-
| Superset
|
|
171
|
-
| Tableau
|
|
172
|
-
| DBeaver
|
|
173
|
-
|
|
|
174
|
-
|
|
|
175
|
-
| MySQL
|
|
176
|
-
| PowerBI DirectQuery
|
|
171
|
+
| Superset connection fails | Verify `clickzetta-connector` is installed and the URL format is correct |
|
|
172
|
+
| Tableau can't find the Lakehouse connector | Confirm the .taco file is in the correct directory and signature verification is disabled at launch |
|
|
173
|
+
| DBeaver driver fails to load | Verify the JAR version matches the Lakehouse version |
|
|
174
|
+
| Connection timeout | Check network; confirm instance and region_id are correct |
|
|
175
|
+
| Permission denied on query | Confirm the user was added via `CREATE USER` and has `USE VCLUSTER` permission |
|
|
176
|
+
| MySQL protocol connection fails | Confirm username is in three-part format (instance.workspace.username) and the MySQL protocol password is used |
|
|
177
|
+
| PowerBI DirectQuery error | Confirm the user's default virtual cluster is set (`ALTER USER ... SET DEFAULT_VCLUSTER`) |
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
# BI
|
|
1
|
+
# BI Tool Connection Reference
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> Source: https://www.yunqi.tech/documents/ecosystem-all
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Connection Method Overview
|
|
6
6
|
|
|
7
|
-
|
|
|
7
|
+
| Tool | Connection Method | Notes |
|
|
8
8
|
|---|---|---|
|
|
9
|
-
| Apache Superset | SQLAlchemy URL |
|
|
10
|
-
| Tableau | JDBC +
|
|
11
|
-
| Metabase |
|
|
12
|
-
| DBeaver | JDBC |
|
|
13
|
-
| DataGrip | JDBC | JetBrains
|
|
14
|
-
|
|
|
9
|
+
| Apache Superset | SQLAlchemy URL | Requires clickzetta-connector |
|
|
10
|
+
| Tableau | JDBC + plugin | Requires .taco plugin |
|
|
11
|
+
| Metabase | Dedicated driver | Requires .jar driver |
|
|
12
|
+
| DBeaver | JDBC | General-purpose database client |
|
|
13
|
+
| DataGrip | JDBC | JetBrains database IDE |
|
|
14
|
+
| FineBI | JDBC | BI tool |
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
|
18
|
-
## JDBC
|
|
18
|
+
## JDBC Connection String Format
|
|
19
19
|
|
|
20
20
|
```
|
|
21
21
|
jdbc:clickzetta://<instance_name>.<region_id>.api.clickzetta.com/<workspace_name>?username=<user>&password=<pwd>&schema=<schema>&virtualCluster=<vc_name>
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
Example:
|
|
25
25
|
```
|
|
26
26
|
jdbc:clickzetta://f8866243.cn-shanghai-alicloud.api.clickzetta.com/quick_start?username=alice&password=xxxx&schema=public&virtualCluster=default_ap
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
JDBC
|
|
29
|
+
JDBC driver class: `com.clickzetta.client.jdbc.ClickZettaDriver`
|
|
30
30
|
|
|
31
|
-
JDBC
|
|
31
|
+
JDBC driver download:
|
|
32
32
|
- Maven: `com.clickzetta:clickzetta-java`
|
|
33
|
-
-
|
|
33
|
+
- Direct download: https://central.sonatype.com/artifact/com.clickzetta/clickzetta-java/versions
|
|
34
34
|
|
|
35
35
|
---
|
|
36
36
|
|
|
37
|
-
## SQLAlchemy URL
|
|
37
|
+
## SQLAlchemy URL Format
|
|
38
38
|
|
|
39
39
|
```
|
|
40
40
|
clickzetta://<username>:<password>@<instance_name>.<region_id>.api.clickzetta.com/<workspace_name>?schema=<schema>&vcluster=<vc_name>
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
Example:
|
|
44
44
|
```
|
|
45
45
|
clickzetta://alice:xxxx@f8866243.cn-shanghai-alicloud.api.clickzetta.com/quick_start?schema=public&vcluster=default_ap
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
Install:
|
|
49
49
|
```bash
|
|
50
50
|
pip uninstall -y clickzetta-sqlalchemy clickzetta-connector && pip install clickzetta-connector -U
|
|
51
51
|
```
|
|
@@ -54,15 +54,15 @@ pip uninstall -y clickzetta-sqlalchemy clickzetta-connector && pip install click
|
|
|
54
54
|
|
|
55
55
|
## Apache Superset
|
|
56
56
|
|
|
57
|
-
###
|
|
57
|
+
### Quick Start (Docker)
|
|
58
58
|
|
|
59
59
|
```bash
|
|
60
60
|
docker pull clickzetta/superset:2.1.0-1
|
|
61
61
|
docker run -p 8088:8088 clickzetta/superset:2.1.0-1
|
|
62
|
-
#
|
|
62
|
+
# Visit http://localhost:8088, default credentials: admin/clickzetta
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
###
|
|
65
|
+
### Local Install
|
|
66
66
|
|
|
67
67
|
```bash
|
|
68
68
|
pip uninstall -y clickzetta-sqlalchemy clickzetta-connector
|
|
@@ -76,37 +76,37 @@ superset init
|
|
|
76
76
|
superset run -p 8088 --with-threads --reload --debugger
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
-
###
|
|
79
|
+
### Configure Database Connection
|
|
80
80
|
|
|
81
81
|
1. Settings → Database Connections → + Database
|
|
82
|
-
2.
|
|
83
|
-
3.
|
|
82
|
+
2. Select **Other** as the database type
|
|
83
|
+
3. Enter the SQLAlchemy URI:
|
|
84
84
|
```
|
|
85
85
|
clickzetta://username:password@instance.region.api.clickzetta.com/workspace?vcluster=default_ap
|
|
86
86
|
```
|
|
87
|
-
4.
|
|
87
|
+
4. Click TESTING CONNECTION to verify, then CONNECT
|
|
88
88
|
|
|
89
89
|
---
|
|
90
90
|
|
|
91
91
|
## Tableau
|
|
92
92
|
|
|
93
|
-
###
|
|
93
|
+
### Prerequisites
|
|
94
94
|
|
|
95
|
-
1.
|
|
96
|
-
2.
|
|
95
|
+
1. Download the JDBC driver JAR
|
|
96
|
+
2. Download the Tableau plugin: `clickzetta_jdbc-v0.0.1.taco`
|
|
97
97
|
|
|
98
|
-
###
|
|
98
|
+
### Installation
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
**Place the JDBC driver:**
|
|
101
101
|
- Windows: `C:\Program Files\Tableau\Drivers`
|
|
102
102
|
- macOS: `~/Library/Tableau/Drivers`
|
|
103
103
|
- Linux: `/opt/tableau/tableau_driver/jdbc`
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
**Place the Tableau plugin (.taco file):**
|
|
106
106
|
- Windows: `C:\Users\[User]\Documents\My Tableau Repository\Connectors`
|
|
107
107
|
- macOS: `/Users/[user]/Documents/My Tableau Repository/Connectors`
|
|
108
108
|
|
|
109
|
-
|
|
109
|
+
**Launch Tableau (disable signature verification):**
|
|
110
110
|
```bash
|
|
111
111
|
# macOS
|
|
112
112
|
/Applications/Tableau\ Desktop\ [version].app/Contents/MacOS/Tableau -DDisableVerifyConnectorPluginSignature=true
|
|
@@ -115,56 +115,56 @@ superset run -p 8088 --with-threads --reload --debugger
|
|
|
115
115
|
tableau.exe -DDisableVerifyConnectorPluginSignature=true
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
-
|
|
118
|
+
**Connect:** Left nav → To Server → More → Lakehouse x ClickZetta → enter server/username/password
|
|
119
119
|
|
|
120
120
|
---
|
|
121
121
|
|
|
122
122
|
## Metabase
|
|
123
123
|
|
|
124
|
-
### Docker
|
|
124
|
+
### Docker Deployment
|
|
125
125
|
|
|
126
126
|
```bash
|
|
127
127
|
docker pull metabase/metabase:v0.54.6
|
|
128
128
|
docker run -d -p 3000:3000 --name metabase metabase/metabase:v0.54.6
|
|
129
129
|
|
|
130
|
-
#
|
|
130
|
+
# Install the ClickZetta driver
|
|
131
131
|
docker cp clickzetta.metabase-driver.jar metabase:/plugins/clickzetta.metabase-driver.jar
|
|
132
132
|
docker restart metabase
|
|
133
133
|
```
|
|
134
134
|
|
|
135
|
-
|
|
135
|
+
Driver download: `clickzetta.metabase-driver.jar` (contact ClickZetta support)
|
|
136
136
|
|
|
137
|
-
###
|
|
137
|
+
### Configure Connection
|
|
138
138
|
|
|
139
|
-
1.
|
|
139
|
+
1. Visit `http://localhost:3000`
|
|
140
140
|
2. Admin Settings → Databases → Add a database
|
|
141
|
-
3.
|
|
141
|
+
3. Select ClickZetta Lakehouse and fill in connection details
|
|
142
142
|
4. Test connection → Save
|
|
143
143
|
|
|
144
144
|
---
|
|
145
145
|
|
|
146
146
|
## DBeaver
|
|
147
147
|
|
|
148
|
-
###
|
|
148
|
+
### Configuration Steps
|
|
149
149
|
|
|
150
|
-
1.
|
|
151
|
-
2.
|
|
152
|
-
-
|
|
153
|
-
-
|
|
154
|
-
- URL
|
|
155
|
-
3.
|
|
156
|
-
4.
|
|
150
|
+
1. Database → Driver Manager → New Driver
|
|
151
|
+
2. Fill in:
|
|
152
|
+
- Driver name: `Clickzetta`
|
|
153
|
+
- Class name: `com.clickzetta.client.jdbc.ClickZettaDriver`
|
|
154
|
+
- URL template: `jdbc:clickzetta://{instanceName}.{service}/{workspaceName}?virtualCluster={vc_name}`
|
|
155
|
+
3. Libraries → Add the JDBC JAR
|
|
156
|
+
4. New Connection → search Clickzetta → paste JDBC connection string → enter username/password
|
|
157
157
|
|
|
158
158
|
---
|
|
159
159
|
|
|
160
|
-
##
|
|
160
|
+
## Region Code (region_id) Reference
|
|
161
161
|
|
|
162
|
-
|
|
|
162
|
+
| Cloud Provider | Region | region_id |
|
|
163
163
|
|---|---|---|
|
|
164
|
-
|
|
|
165
|
-
|
|
|
166
|
-
|
|
|
167
|
-
|
|
|
168
|
-
| AWS |
|
|
169
|
-
|
|
|
170
|
-
| AWS
|
|
164
|
+
| Alibaba Cloud | East China 2 (Shanghai) | cn-shanghai-alicloud |
|
|
165
|
+
| Tencent Cloud | East China (Shanghai) | ap-shanghai-tencentcloud |
|
|
166
|
+
| Tencent Cloud | North China (Beijing) | ap-beijing-tencentcloud |
|
|
167
|
+
| Tencent Cloud | South China (Guangzhou) | ap-guangzhou-tencentcloud |
|
|
168
|
+
| AWS | China (Beijing) | cn-north-1-aws |
|
|
169
|
+
| Alibaba Cloud (Singapore) | Asia Pacific SE 1 | ap-southeast-1-alicloud |
|
|
170
|
+
| AWS (Singapore) | Asia Pacific (Singapore) | ap-southeast-1-aws |
|