@clickzetta/cz-cli-darwin-x64 0.3.91 → 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.
Files changed (69) hide show
  1. package/bin/cz-cli +0 -0
  2. package/bin/skills/clickzetta-ai-function/SKILL.md +109 -0
  3. package/bin/skills/clickzetta-ai-function/eval_cases.jsonl +4 -0
  4. package/bin/skills/clickzetta-ai-function/references/ai-function-ddl.md +106 -0
  5. package/bin/skills/clickzetta-batch-sync-pipeline/SKILL.md +124 -124
  6. package/bin/skills/clickzetta-batch-sync-pipeline/eval_cases.jsonl +5 -5
  7. package/bin/skills/clickzetta-bi-connect/SKILL.md +79 -78
  8. package/bin/skills/clickzetta-bi-connect/references/bi-tools.md +56 -56
  9. package/bin/skills/clickzetta-cdc-sync-pipeline/SKILL.md +386 -382
  10. package/bin/skills/clickzetta-cdc-sync-pipeline/eval_cases.jsonl +5 -5
  11. package/bin/skills/clickzetta-data-ingest-pipeline/SKILL.md +73 -212
  12. package/bin/skills/clickzetta-data-science/SKILL.md +57 -56
  13. package/bin/skills/clickzetta-data-science/references/bitmap-profile.md +38 -38
  14. package/bin/skills/clickzetta-data-science/references/data-patterns.md +16 -16
  15. package/bin/skills/clickzetta-data-science/references/setup.md +28 -28
  16. package/bin/skills/clickzetta-data-science/references/stats-functions.md +44 -44
  17. package/bin/skills/clickzetta-data-science/references/write-and-infer.md +22 -22
  18. package/bin/skills/clickzetta-data-science/references/zettapark-api.md +32 -32
  19. package/bin/skills/clickzetta-dw-modeling/SKILL.md +1 -1
  20. package/bin/skills/clickzetta-external-function/SKILL.md +51 -109
  21. package/bin/skills/clickzetta-external-function/eval_cases.jsonl +4 -4
  22. package/bin/skills/clickzetta-external-function/references/external-function-ddl.md +39 -77
  23. package/bin/skills/clickzetta-java-sdk/SKILL.md +49 -48
  24. package/bin/skills/clickzetta-java-sdk/eval_cases.jsonl +12 -12
  25. package/bin/skills/clickzetta-java-sdk/references/bulkload.md +34 -34
  26. package/bin/skills/clickzetta-java-sdk/references/realtime.md +44 -44
  27. package/bin/skills/clickzetta-kafka-ingest-pipeline/SKILL.md +273 -507
  28. package/bin/skills/clickzetta-kafka-ingest-pipeline/references/kafka-pipe-syntax.md +197 -231
  29. package/bin/skills/clickzetta-oss-ingest-pipeline/SKILL.md +231 -304
  30. package/bin/skills/clickzetta-realtime-sync-pipeline/SKILL.md +180 -179
  31. package/bin/skills/clickzetta-realtime-sync-pipeline/eval_cases.jsonl +5 -5
  32. package/bin/skills/clickzetta-semantic-view/SKILL.md +74 -72
  33. package/bin/skills/clickzetta-semantic-view/eval_cases.jsonl +12 -12
  34. package/bin/skills/clickzetta-semantic-view/references/semantic-view-reference.md +75 -75
  35. package/bin/skills/clickzetta-sql-migration/SKILL.md +128 -0
  36. package/bin/skills/clickzetta-sql-migration/eval_cases.jsonl +10 -0
  37. package/bin/skills/clickzetta-sql-migration/references/ddl-reference.md +350 -0
  38. package/bin/skills/clickzetta-sql-migration/references/dml-differences.md +192 -0
  39. package/bin/skills/clickzetta-sql-migration/references/dml-reference.md +279 -0
  40. package/bin/skills/{clickzetta-sql-syntax-guide → clickzetta-sql-migration}/references/dql-reference.md +128 -128
  41. package/bin/skills/clickzetta-sql-migration/references/function-mapping.md +194 -0
  42. package/bin/skills/clickzetta-sql-migration/references/functions-reference.md +372 -0
  43. package/bin/skills/clickzetta-sql-migration/references/implicit-type-conversion.md +143 -0
  44. package/bin/skills/clickzetta-sql-migration/references/migration-databricks.md +260 -0
  45. package/bin/skills/{clickzetta-sql-syntax-guide → clickzetta-sql-migration}/references/migration-snowflake.md +112 -112
  46. package/bin/skills/clickzetta-sql-migration/references/vs-snowflake.md +346 -0
  47. package/bin/skills/clickzetta-sql-migration/references/vs-spark.md +229 -0
  48. package/bin/skills/clickzetta-studio-task-manager/SKILL.md +326 -329
  49. package/bin/skills/clickzetta-table-lineage/SKILL.md +57 -55
  50. package/bin/skills/clickzetta-table-lineage/eval_cases.jsonl +1 -1
  51. package/bin/skills/clickzetta-table-lineage/references/normalize_func.sql +5 -5
  52. package/bin/skills/clickzetta-table-lineage/references/table_cost.sql +6 -6
  53. package/bin/skills/clickzetta-table-lineage/references/table_relation.sql +2 -2
  54. package/bin/skills/clickzetta-volume-manager/SKILL.md +186 -100
  55. package/bin/skills/clickzetta-volume-manager/references/volume-ddl.md +153 -52
  56. package/package.json +1 -1
  57. package/bin/skills/clickzetta-dynamic-table/best-practices/scheduling-guide.md +0 -135
  58. package/bin/skills/clickzetta-dynamic-table/dt-creator/references/dt-declaration-strategy.md +0 -185
  59. package/bin/skills/clickzetta-dynamic-table/dt-creator/references/refresh-history-guide.md +0 -260
  60. package/bin/skills/clickzetta-dynamic-table/dynamic-table-alter/SKILL.md +0 -191
  61. package/bin/skills/clickzetta-sql-syntax-guide/SKILL.md +0 -249
  62. package/bin/skills/clickzetta-sql-syntax-guide/eval_cases.jsonl +0 -3
  63. package/bin/skills/clickzetta-sql-syntax-guide/references/ddl-reference.md +0 -350
  64. package/bin/skills/clickzetta-sql-syntax-guide/references/dml-reference.md +0 -279
  65. package/bin/skills/clickzetta-sql-syntax-guide/references/functions-reference.md +0 -372
  66. package/bin/skills/clickzetta-sql-syntax-guide/references/migration-databricks.md +0 -260
  67. package/bin/skills/clickzetta-sql-syntax-guide/references/vs-snowflake.md +0 -346
  68. package/bin/skills/clickzetta-sql-syntax-guide/references/vs-spark.md +0 -229
  69. /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
- BI 工具和数据库客户端连接到 ClickZetta Lakehouse。覆盖 Apache Superset、
5
- TableauMetabaseDBeaverDataGrip、帆软 FineBI 等主流工具的完整连接配置,
6
- 包括 JDBC 连接字符串格式、SQLAlchemy URL 格式、驱动安装步骤。
7
- 当用户说"连接 Superset"、"Tableau 连接 Lakehouse"、"Metabase"、"DBeaver"、
8
- "DataGrip"、"BI 工具"、"JDBC 连接"、"SQLAlchemy 连接"、"帆软"、"FineBI"、
9
- "数据库客户端""可视化工具连接""BI 报表""PowerBI"、"Navicat"、
10
- "MySQL 协议连接"时触发。
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
- 阅读 [references/bi-tools.md](references/bi-tools.md) 了解各工具详细配置。
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 | 专用 .jar 驱动 |
24
+ | Tableau | JDBC + .taco plugin |
25
+ | Metabase | Dedicated .jar driver |
25
26
  | DBeaver / DataGrip | JDBC |
26
- | 帆软 FineBI | JDBC MySQL 协议 |
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
- - 驱动类:`com.clickzetta.client.jdbc.ClickZettaDriver`
45
- - 驱动下载:Maven `com.clickzetta:clickzetta-java` [sonatype](https://central.sonatype.com/artifact/com.clickzetta/clickzetta-java/versions)
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 URLSuperset / Python ORM
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
- # 访问 http://localhost:8088,账号 admin/clickzetta
70
+ # Visit http://localhost:8088, credentials: admin/clickzetta
70
71
  ```
71
72
 
72
- **配置数据库连接:**
73
- 1. Settings → Database Connections → + Database → 选择 **Other**
74
- 2. 填写 SQLAlchemy URI
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. JDBC JAR 放入 Tableau Drivers 目录
85
- 2. `.taco` 插件放入 Connectors 目录
86
- 3. 启动时加 `-DDisableVerifyConnectorPluginSignature=true`
87
- 4. 连接:到服务器更多 → **Lakehouse x 云器科技**
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
- 访问 `http://localhost:3000` → Admin Settings → Databases → Add a database → 选择 ClickZetta
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. 类名:`com.clickzetta.client.jdbc.ClickZettaDriver`
107
- 3. 添加 JDBC JAR
108
- 4. 新建连接粘贴 JDBC 连接字符串
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 协议连接(PowerBI / Navicat / 帆软)
113
+ ## MySQL Protocol (PowerBI / Navicat / FineBI)
113
114
 
114
- Lakehouse 支持通过 MySQL 协议连接,适用于不支持自定义 JDBC 驱动的工具。
115
+ Lakehouse supports MySQL protocol connections for tools that don't support custom JDBC drivers.
115
116
 
116
- **前置准备:**
117
- 1. 在管理中心为用户重置 MySQL 协议专用密码
118
- 2. 为用户设置默认计算集群(`ALTER USER username SET DEFAULT_VCLUSTER = default_ap`)
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
- **用户名格式:** `<instance_name>.<workspace_name>.<username>`
121
+ **Username format:** `<instance_name>.<workspace_name>.<username>`
121
122
 
122
- **连接参数:**
123
- - 主机:`<instance>.<region_id>.mysql.clickzetta.com`
124
- - 端口:`3306`
125
- - 用户名:`instance.workspace.username`(三段式拼接)
126
- - 密码:MySQL 协议专用密码(非 Lakehouse 登录密码)
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. 获取数据 → MySQL 数据库
131
- 2. 服务器:`instance.cn-shanghai-alicloud.mysql.clickzetta.com`
132
- 3. 用户名:`instance.workspace.username`
133
- 4. 密码:MySQL 协议专用密码
134
- 5. 数据连接模式选择 DirectQuery
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. 新建连接 → MySQL
139
- 2. 主机:`instance.cn-shanghai-alicloud.mysql.clickzetta.com`
140
- 3. 端口:`3306`
141
- 4. 用户名:`instance.workspace.username`
142
- 5. 密码:MySQL 协议专用密码
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
- ### 帆软 FineBI(MySQL 协议方式)
145
+ ### FineBI (MySQL protocol)
145
146
 
146
- 1. 管理系统数据连接新建数据连接 → MySQL
147
- 2. URL:`jdbc:mysql://instance.cn-shanghai-alicloud.mysql.clickzetta.com:3306/workspace`
148
- 3. 用户名:`instance.workspace.username`
149
- 4. 密码:MySQL 协议专用密码
147
+ 1. AdminData 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 协议连接有部分 SQL 语法限制,详见 [使用MySQL协议连接](https://www.yunqi.tech/documents/use-mysql-client)
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
- | 地域 | region_id |
158
+ | Region | region_id |
158
159
  |---|---|
159
- | 阿里云上海 | `cn-shanghai-alicloud` |
160
- | 腾讯云上海 | `ap-shanghai-tencentcloud` |
161
- | 腾讯云北京 | `ap-beijing-tencentcloud` |
162
- | AWS 新加坡 | `ap-southeast-1-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 连接失败 | 确认已安装 `clickzetta-connector`,URL 格式正确 |
171
- | Tableau 找不到 Lakehouse 连接器 | 确认 .taco 文件在正确目录,且启动时禁用签名校验 |
172
- | DBeaver 驱动加载失败 | 确认 JAR 包版本与 Lakehouse 版本匹配 |
173
- | 连接超时 | 检查网络,确认 instance/region_id 正确 |
174
- | 无权限查询 | 确认用户已被 `CREATE USER` 添加到工作空间,且有 `USE VCLUSTER` 权限 |
175
- | MySQL 协议连接失败 | 确认用户名为三段式格式(instance.workspace.username),密码为 MySQL 协议专用密码 |
176
- | PowerBI DirectQuery 报错 | 确认已设置用户默认计算集群(`ALTER USER ... SET DEFAULT_VCLUSTER`) |
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
- > 来源:https://www.yunqi.tech/documents/ecosystem-all
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 | 需安装 clickzetta-connector |
10
- | Tableau | JDBC + 插件 | 需下载 .taco 插件 |
11
- | Metabase | 专用驱动 | 需下载 .jar 驱动 |
12
- | DBeaver | JDBC | 通用数据库客户端 |
13
- | DataGrip | JDBC | JetBrains 数据库 IDE |
14
- | 帆软 FineBI | JDBC | 国产 BI 工具 |
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 驱动类:`com.clickzetta.client.jdbc.ClickZettaDriver`
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
- - 直接下载:https://central.sonatype.com/artifact/com.clickzetta/clickzetta-java/versions
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
- ### 快速启动(Docker
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
- # 访问 http://localhost:8088,默认账号 admin/clickzetta
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. 选择 **Other** 数据库类型
83
- 3. 填写 SQLAlchemy URI
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. 点击 TESTING CONNECTION 验证,通过后 CONNECT
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. 下载 JDBC 驱动 JAR
96
- 2. 下载 Tableau 插件:`clickzetta_jdbc-v0.0.1.taco`
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
- **放置 JDBC 驱动:**
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
- **放置 Tableau 插件(.taco 文件):**
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
- **启动 Tableau(禁用签名校验):**
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
- **连接:** 左侧导航到服务器更多 → Lakehouse x 云器科技填写服务器/用户名/密码
118
+ **Connect:** Left nav To Server More → Lakehouse x ClickZettaenter 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
- 驱动下载:`clickzetta.metabase-driver.jar`(联系云器技术支持获取)
135
+ Driver download: `clickzetta.metabase-driver.jar` (contact ClickZetta support)
136
136
 
137
- ### 配置连接
137
+ ### Configure Connection
138
138
 
139
- 1. 访问 `http://localhost:3000`
139
+ 1. Visit `http://localhost:3000`
140
140
  2. Admin Settings → Databases → Add a database
141
- 3. 选择 ClickZetta Lakehouse,填写连接信息
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
- - 驱动名称:`Clickzetta`
153
- - 类名:`com.clickzetta.client.jdbc.ClickZettaDriver`
154
- - URL 模板:`jdbc:clickzetta://{instanceName}.{service}/{workspaceName}?virtualCluster={vc_name}`
155
- 3. 选择库添加 JDBC JAR
156
- 4. 新建连接搜索 Clickzetta → 粘贴 JDBC 连接字符串填写用户名密码
150
+ 1. DatabaseDriver 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. LibrariesAdd the JDBC JAR
156
+ 4. New Connection search Clickzetta → paste JDBC connection string enter username/password
157
157
 
158
158
  ---
159
159
 
160
- ## 地域代码(region_id)速查
160
+ ## Region Code (region_id) Reference
161
161
 
162
- | 云厂商 | 地域 | region_id |
162
+ | Cloud Provider | Region | region_id |
163
163
  |---|---|---|
164
- | 阿里云 | 华东2(上海) | cn-shanghai-alicloud |
165
- | 腾讯云 | 华东(上海) | ap-shanghai-tencentcloud |
166
- | 腾讯云 | 华北(北京) | ap-beijing-tencentcloud |
167
- | 腾讯云 | 华南(广州) | ap-guangzhou-tencentcloud |
168
- | AWS | 中国(北京) | cn-north-1-aws |
169
- | 阿里云(新加坡) | 亚太东南1 | ap-southeast-1-alicloud |
170
- | AWS(新加坡) | 亚太(新加坡) | ap-southeast-1-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 |