@squadbase/connectors 0.0.14 → 0.0.15
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/dist/index.js +16 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -154,7 +154,7 @@ var snowflakeSetup = new ConnectorSetup({
|
|
|
154
154
|
#### \u30B9\u30C6\u30C3\u30D71: \u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u9078\u629E
|
|
155
155
|
1. \`SHOW DATABASES\` \u3092\u5B9F\u884C\u3057\u3066\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u4E00\u89A7\u3092\u53D6\u5F97\u3059\u308B
|
|
156
156
|
2. \u7D50\u679C\u306B\u5FDC\u3058\u3066\u5206\u5C90:
|
|
157
|
-
- **\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u304C2\u3064\u4EE5\u4E0A**: \`askUserQuestion\`\uFF08multiSelect: true\uFF09\u3067\u30E6\u30FC\u30B6\u30FC\u306B\u63D0\u793A\u3057\u3001\u4F7F\u7528\u3059\u308B\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u3092\u9078\u629E\u3055\u305B\u308B
|
|
157
|
+
- **\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u304C2\u3064\u4EE5\u4E0A**: \`askUserQuestion\`\uFF08multiSelect: true\uFF09\u3067\u30E6\u30FC\u30B6\u30FC\u306B\u63D0\u793A\u3057\u3001\u4F7F\u7528\u3059\u308B\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u3092\u9078\u629E\u3055\u305B\u308B\u3002**\u53D6\u5F97\u3057\u305F\u5168\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u3092\u9078\u629E\u80A2\u306B\u542B\u3081\u308B\u3053\u3068\u3002\u4EFB\u610F\u306B\u30D5\u30A3\u30EB\u30BF\u3084\u7701\u7565\u3092\u3057\u3066\u306F\u306A\u3089\u306A\u3044**
|
|
158
158
|
- **\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u304C1\u3064\u3060\u3051**: askUserQuestion \u306F\u4F7F\u308F\u305A\u81EA\u52D5\u63A1\u7528\u3002\u300C\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9 X \u3092\u81EA\u52D5\u9078\u629E\u3057\u307E\u3057\u305F\u300D\u30681\u6587\u3060\u3051\u66F8\u304F
|
|
159
159
|
|
|
160
160
|
#### \u30B9\u30C6\u30C3\u30D72: \u30B9\u30AD\u30FC\u30DE\u9078\u629E\uFF08\u30C6\u30FC\u30D6\u30EB\u7BC4\u56F2\u306E\u6307\u5B9A\u3092\u542B\u3080\uFF09
|
|
@@ -164,12 +164,13 @@ var snowflakeSetup = new ConnectorSetup({
|
|
|
164
164
|
- \`{schema}\uFF08\u5168\u30C6\u30FC\u30D6\u30EB\uFF09\` \u2014 description: "{database}.{schema} \u5185\u306E\u5168\u30C6\u30FC\u30D6\u30EB\u3092\u4F7F\u7528"
|
|
165
165
|
- \`{schema}\uFF08\u7279\u5B9A\u30C6\u30FC\u30D6\u30EB\u3092\u9078\u629E\uFF09\` \u2014 description: "{database}.{schema} \u5185\u306E\u7279\u5B9A\u30C6\u30FC\u30D6\u30EB\u306E\u307F\u4F7F\u7528"
|
|
166
166
|
- \u30B9\u30AD\u30FC\u30DE\u304C1\u3064\u3060\u3051\u306E\u5834\u5408\u3082\u3001\u300C\u5168\u30C6\u30FC\u30D6\u30EB\u300D\u3068\u300C\u7279\u5B9A\u30C6\u30FC\u30D6\u30EB\u3092\u9078\u629E\u300D\u306E2\u3064\u306E\u9078\u629E\u80A2\u3092\u63D0\u793A\u3059\u308B\u3053\u3068
|
|
167
|
+
- **INFORMATION_SCHEMA \u4EE5\u5916\u306E\u5168\u30B9\u30AD\u30FC\u30DE\u3092\u9078\u629E\u80A2\u306B\u542B\u3081\u308B\u3053\u3068\u3002\u4EFB\u610F\u306B\u30D5\u30A3\u30EB\u30BF\u3084\u7701\u7565\u3092\u3057\u3066\u306F\u306A\u3089\u306A\u3044**
|
|
167
168
|
|
|
168
169
|
#### \u30B9\u30C6\u30C3\u30D73: \u30C6\u30FC\u30D6\u30EB\u9078\u629E\uFF08\u300C\u7279\u5B9A\u30C6\u30FC\u30D6\u30EB\u3092\u9078\u629E\u300D\u304C\u9078\u3070\u308C\u305F\u30B9\u30AD\u30FC\u30DE\u306E\u307F\uFF09
|
|
169
170
|
6. \u300C\u5168\u30C6\u30FC\u30D6\u30EB\u300D\u304C\u9078\u3070\u308C\u305F\u30B9\u30AD\u30FC\u30DE\u306F\u30C6\u30FC\u30D6\u30EB\u9078\u629E\u3092\u30B9\u30AD\u30C3\u30D7\u3057\u3001\u5168\u30C6\u30FC\u30D6\u30EB\u3092\u5BFE\u8C61\u3068\u3059\u308B
|
|
170
171
|
7. \u300C\u7279\u5B9A\u30C6\u30FC\u30D6\u30EB\u3092\u9078\u629E\u300D\u304C\u9078\u3070\u308C\u305F\u30B9\u30AD\u30FC\u30DE\u306B\u5BFE\u3057\u3066\u306E\u307F \`SHOW TABLES IN SCHEMA {database}.{schema}\` \u3092\u5B9F\u884C\u3057\u3066\u30C6\u30FC\u30D6\u30EB\u4E00\u89A7\u3092\u53D6\u5F97\u3059\u308B
|
|
171
172
|
8. \u7D50\u679C\u306B\u5FDC\u3058\u3066\u5206\u5C90:
|
|
172
|
-
- **\u30C6\u30FC\u30D6\u30EB\u304C2\u3064\u4EE5\u4E0A**: \`askUserQuestion\`\uFF08multiSelect: true\uFF09\u3067\u30E6\u30FC\u30B6\u30FC\u306B\u63D0\u793A\u3057\u3001\u4F7F\u7528\u3059\u308B\u30C6\u30FC\u30D6\u30EB\u3092\u9078\u629E\u3055\u305B\u308B\u3002description \u306B\u306F\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u540D.\u30B9\u30AD\u30FC\u30DE\u540D\u3092\u8A18\u8F09\u3059\u308B
|
|
173
|
+
- **\u30C6\u30FC\u30D6\u30EB\u304C2\u3064\u4EE5\u4E0A**: \`askUserQuestion\`\uFF08multiSelect: true\uFF09\u3067\u30E6\u30FC\u30B6\u30FC\u306B\u63D0\u793A\u3057\u3001\u4F7F\u7528\u3059\u308B\u30C6\u30FC\u30D6\u30EB\u3092\u9078\u629E\u3055\u305B\u308B\u3002description \u306B\u306F\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u540D.\u30B9\u30AD\u30FC\u30DE\u540D\u3092\u8A18\u8F09\u3059\u308B\u3002**\u53D6\u5F97\u3057\u305F\u5168\u30C6\u30FC\u30D6\u30EB\u3092\u9078\u629E\u80A2\u306B\u542B\u3081\u308B\u3053\u3068\u3002\u4EFB\u610F\u306B\u30D5\u30A3\u30EB\u30BF\u3084\u7701\u7565\u3092\u3057\u3066\u306F\u306A\u3089\u306A\u3044**
|
|
173
174
|
- **\u30C6\u30FC\u30D6\u30EB\u304C1\u3064\u3060\u3051**: askUserQuestion \u306F\u4F7F\u308F\u305A\u81EA\u52D5\u63A1\u7528
|
|
174
175
|
|
|
175
176
|
#### \u30B9\u30C6\u30C3\u30D74: \u4FDD\u5B58
|
|
@@ -195,7 +196,7 @@ Follow these steps to set up the Snowflake connection.
|
|
|
195
196
|
#### Step 1: Database Selection
|
|
196
197
|
1. Run \`SHOW DATABASES\` to get the list of databases
|
|
197
198
|
2. Branch based on results:
|
|
198
|
-
- **2 or more databases**: Present them to the user via \`askUserQuestion\` (multiSelect: true) and let them select which databases to use
|
|
199
|
+
- **2 or more databases**: Present them to the user via \`askUserQuestion\` (multiSelect: true) and let them select which databases to use. **Include ALL databases from the query results as options. Do NOT filter or omit any databases**
|
|
199
200
|
- **Exactly 1 database**: Do NOT call askUserQuestion. Auto-select it. Just write "Auto-selected database X" in one sentence
|
|
200
201
|
|
|
201
202
|
#### Step 2: Schema Selection (including table scope)
|
|
@@ -205,12 +206,13 @@ Follow these steps to set up the Snowflake connection.
|
|
|
205
206
|
- \`{schema} (all tables)\` \u2014 description: "Use all tables in {database}.{schema}"
|
|
206
207
|
- \`{schema} (select specific tables)\` \u2014 description: "Use only specific tables in {database}.{schema}"
|
|
207
208
|
- Even if there is only 1 schema, present both "all tables" and "select specific tables" options
|
|
209
|
+
- **Include ALL schemas except INFORMATION_SCHEMA as options. Do NOT filter or omit any schemas**
|
|
208
210
|
|
|
209
211
|
#### Step 3: Table Selection (only for schemas where "select specific tables" was chosen)
|
|
210
212
|
6. For schemas where "all tables" was chosen, skip table selection and include all tables
|
|
211
213
|
7. For schemas where "select specific tables" was chosen, run \`SHOW TABLES IN SCHEMA {database}.{schema}\` to get the table list
|
|
212
214
|
8. Branch based on results:
|
|
213
|
-
- **2 or more tables**: Present them to the user via \`askUserQuestion\` (multiSelect: true) and let them select which tables to use. Include database.schema in the description
|
|
215
|
+
- **2 or more tables**: Present them to the user via \`askUserQuestion\` (multiSelect: true) and let them select which tables to use. Include database.schema in the description. **Include ALL tables from the query results as options. Do NOT filter or omit any tables**
|
|
214
216
|
- **Exactly 1 table**: Do NOT call askUserQuestion. Auto-select it
|
|
215
217
|
|
|
216
218
|
#### Step 4: Save
|
|
@@ -234,7 +236,7 @@ var parameters7 = {
|
|
|
234
236
|
account: new ParameterDefinition({
|
|
235
237
|
slug: "account",
|
|
236
238
|
name: "Snowflake Account",
|
|
237
|
-
description: "The Snowflake account identifier (e.g., xy12345
|
|
239
|
+
description: "The Snowflake account identifier in ORGNAME-ACCOUNTNAME format (e.g., myorg-xy12345).",
|
|
238
240
|
envVarBaseKey: "SNOWFLAKE_ACCOUNT",
|
|
239
241
|
type: "text",
|
|
240
242
|
secret: false,
|
|
@@ -519,7 +521,7 @@ var parameters8 = {
|
|
|
519
521
|
account: new ParameterDefinition({
|
|
520
522
|
slug: "account",
|
|
521
523
|
name: "Snowflake Account",
|
|
522
|
-
description: "The Snowflake account identifier (e.g., xy12345
|
|
524
|
+
description: "The Snowflake account identifier in ORGNAME-ACCOUNTNAME format (e.g., myorg-xy12345).",
|
|
523
525
|
envVarBaseKey: "SNOWFLAKE_ACCOUNT",
|
|
524
526
|
type: "text",
|
|
525
527
|
secret: false,
|
|
@@ -1154,13 +1156,13 @@ var bigquerySetup = new ConnectorSetup({
|
|
|
1154
1156
|
- **\u305D\u308C\u4EE5\u5916\u306E\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8**:
|
|
1155
1157
|
1. \`SELECT schema_name FROM INFORMATION_SCHEMA.SCHEMATA\` \u3092\u5B9F\u884C\u3057\u3066\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u4E00\u89A7\u3092\u53D6\u5F97\u3059\u308B
|
|
1156
1158
|
2. \u7D50\u679C\u306B\u5FDC\u3058\u3066\u5206\u5C90:
|
|
1157
|
-
- **\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u304C2\u3064\u4EE5\u4E0A**: \`askUserQuestion\`\uFF08multiSelect: true\uFF09\u3067\u30E6\u30FC\u30B6\u30FC\u306B\u63D0\u793A\u3057\u3001\u4F7F\u7528\u3059\u308B\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u3092\u9078\u629E\u3055\u305B\u308B
|
|
1159
|
+
- **\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u304C2\u3064\u4EE5\u4E0A**: \`askUserQuestion\`\uFF08multiSelect: true\uFF09\u3067\u30E6\u30FC\u30B6\u30FC\u306B\u63D0\u793A\u3057\u3001\u4F7F\u7528\u3059\u308B\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u3092\u9078\u629E\u3055\u305B\u308B\u3002**\u53D6\u5F97\u3057\u305F\u5168\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u3092\u9078\u629E\u80A2\u306B\u542B\u3081\u308B\u3053\u3068\u3002\u4EFB\u610F\u306B\u30D5\u30A3\u30EB\u30BF\u3084\u7701\u7565\u3092\u3057\u3066\u306F\u306A\u3089\u306A\u3044**
|
|
1158
1160
|
- **\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u304C1\u3064\u3060\u3051**: askUserQuestion \u306F\u4F7F\u308F\u305A\u81EA\u52D5\u63A1\u7528\u3002\u300C\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8 X \u3092\u81EA\u52D5\u9078\u629E\u3057\u307E\u3057\u305F\u300D\u30681\u6587\u3060\u3051\u66F8\u304F
|
|
1159
1161
|
|
|
1160
1162
|
#### \u30B9\u30C6\u30C3\u30D73: \u30C6\u30FC\u30D6\u30EB\u9078\u629E
|
|
1161
1163
|
3. \u9078\u629E\u3055\u308C\u305F\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u306B\u5BFE\u3057\u3066 \`SELECT table_name FROM \\\`{project}.{dataset}.INFORMATION_SCHEMA.TABLES\\\`\` \u3092\u5B9F\u884C\u3057\u3066\u30C6\u30FC\u30D6\u30EB\u4E00\u89A7\u3092\u53D6\u5F97\u3059\u308B\uFF08\u8907\u6570\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u306E\u5834\u5408\u306F UNION ALL \u3067\u4E00\u62EC\u53D6\u5F97\uFF09
|
|
1162
1164
|
4. \u7D50\u679C\u306B\u5FDC\u3058\u3066\u5206\u5C90:
|
|
1163
|
-
- **\u30C6\u30FC\u30D6\u30EB\u304C2\u3064\u4EE5\u4E0A**: \`askUserQuestion\`\uFF08multiSelect: true\uFF09\u3067\u30E6\u30FC\u30B6\u30FC\u306B\u63D0\u793A\u3057\u3001\u4F7F\u7528\u3059\u308B\u30C6\u30FC\u30D6\u30EB\u3092\u9078\u629E\u3055\u305B\u308B\u3002description \u306B\u306F\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u540D\u3092\u8A18\u8F09\u3059\u308B
|
|
1165
|
+
- **\u30C6\u30FC\u30D6\u30EB\u304C2\u3064\u4EE5\u4E0A**: \`askUserQuestion\`\uFF08multiSelect: true\uFF09\u3067\u30E6\u30FC\u30B6\u30FC\u306B\u63D0\u793A\u3057\u3001\u4F7F\u7528\u3059\u308B\u30C6\u30FC\u30D6\u30EB\u3092\u9078\u629E\u3055\u305B\u308B\u3002description \u306B\u306F\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u540D\u3092\u8A18\u8F09\u3059\u308B\u3002**\u53D6\u5F97\u3057\u305F\u5168\u30C6\u30FC\u30D6\u30EB\u3092\u9078\u629E\u80A2\u306B\u542B\u3081\u308B\u3053\u3068\u3002\u4EFB\u610F\u306B\u30D5\u30A3\u30EB\u30BF\u3084\u7701\u7565\u3092\u3057\u3066\u306F\u306A\u3089\u306A\u3044**
|
|
1164
1166
|
- **\u30C6\u30FC\u30D6\u30EB\u304C1\u3064\u3060\u3051**: askUserQuestion \u306F\u4F7F\u308F\u305A\u81EA\u52D5\u63A1\u7528
|
|
1165
1167
|
|
|
1166
1168
|
#### \u30B9\u30C6\u30C3\u30D74: \u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u5B8C\u4E86
|
|
@@ -1193,13 +1195,13 @@ Follow these steps to set up the BigQuery connection.
|
|
|
1193
1195
|
- **Otherwise**:
|
|
1194
1196
|
1. Run \`SELECT schema_name FROM INFORMATION_SCHEMA.SCHEMATA\` to get the list of datasets
|
|
1195
1197
|
2. Branch based on results:
|
|
1196
|
-
- **2 or more datasets**: Present them to the user via \`askUserQuestion\` (multiSelect: true) and let them select which datasets to use
|
|
1198
|
+
- **2 or more datasets**: Present them to the user via \`askUserQuestion\` (multiSelect: true) and let them select which datasets to use. **Include ALL datasets from the query results as options. Do NOT filter or omit any datasets**
|
|
1197
1199
|
- **Exactly 1 dataset**: Do NOT call askUserQuestion. Auto-select it. Just write "Auto-selected dataset X" in one sentence
|
|
1198
1200
|
|
|
1199
1201
|
#### Step 3: Table Selection
|
|
1200
1202
|
3. For the selected dataset(s), run \`SELECT table_name FROM \\\`{project}.{dataset}.INFORMATION_SCHEMA.TABLES\\\`\` to get the table list (use UNION ALL for multiple datasets)
|
|
1201
1203
|
4. Branch based on results:
|
|
1202
|
-
- **2 or more tables**: Present them to the user via \`askUserQuestion\` (multiSelect: true) and let them select which tables to use. Include the dataset name in the description
|
|
1204
|
+
- **2 or more tables**: Present them to the user via \`askUserQuestion\` (multiSelect: true) and let them select which tables to use. Include the dataset name in the description. **Include ALL tables from the query results as options. Do NOT filter or omit any tables**
|
|
1203
1205
|
- **Exactly 1 table**: Do NOT call askUserQuestion. Auto-select it
|
|
1204
1206
|
|
|
1205
1207
|
#### Step 4: Complete Setup
|
|
@@ -1463,13 +1465,13 @@ var bigquerySetup2 = new ConnectorSetup({
|
|
|
1463
1465
|
- **\u305D\u308C\u4EE5\u5916\u306E\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8**:
|
|
1464
1466
|
1. \`SELECT schema_name FROM INFORMATION_SCHEMA.SCHEMATA\` \u3092\u5B9F\u884C\u3057\u3066\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u4E00\u89A7\u3092\u53D6\u5F97\u3059\u308B
|
|
1465
1467
|
2. \u7D50\u679C\u306B\u5FDC\u3058\u3066\u5206\u5C90:
|
|
1466
|
-
- **\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u304C2\u3064\u4EE5\u4E0A**: \`askUserQuestion\`\uFF08multiSelect: true\uFF09\u3067\u30E6\u30FC\u30B6\u30FC\u306B\u63D0\u793A\u3057\u3001\u4F7F\u7528\u3059\u308B\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u3092\u9078\u629E\u3055\u305B\u308B
|
|
1468
|
+
- **\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u304C2\u3064\u4EE5\u4E0A**: \`askUserQuestion\`\uFF08multiSelect: true\uFF09\u3067\u30E6\u30FC\u30B6\u30FC\u306B\u63D0\u793A\u3057\u3001\u4F7F\u7528\u3059\u308B\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u3092\u9078\u629E\u3055\u305B\u308B\u3002**\u53D6\u5F97\u3057\u305F\u5168\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u3092\u9078\u629E\u80A2\u306B\u542B\u3081\u308B\u3053\u3068\u3002\u4EFB\u610F\u306B\u30D5\u30A3\u30EB\u30BF\u3084\u7701\u7565\u3092\u3057\u3066\u306F\u306A\u3089\u306A\u3044**
|
|
1467
1469
|
- **\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u304C1\u3064\u3060\u3051**: askUserQuestion \u306F\u4F7F\u308F\u305A\u81EA\u52D5\u63A1\u7528\u3002\u300C\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8 X \u3092\u81EA\u52D5\u9078\u629E\u3057\u307E\u3057\u305F\u300D\u30681\u6587\u3060\u3051\u66F8\u304F
|
|
1468
1470
|
|
|
1469
1471
|
#### \u30B9\u30C6\u30C3\u30D73: \u30C6\u30FC\u30D6\u30EB\u9078\u629E
|
|
1470
1472
|
3. \u9078\u629E\u3055\u308C\u305F\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u306B\u5BFE\u3057\u3066 \`SELECT table_name FROM \\\`{project}.{dataset}.INFORMATION_SCHEMA.TABLES\\\`\` \u3092\u5B9F\u884C\u3057\u3066\u30C6\u30FC\u30D6\u30EB\u4E00\u89A7\u3092\u53D6\u5F97\u3059\u308B\uFF08\u8907\u6570\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u306E\u5834\u5408\u306F UNION ALL \u3067\u4E00\u62EC\u53D6\u5F97\uFF09
|
|
1471
1473
|
4. \u7D50\u679C\u306B\u5FDC\u3058\u3066\u5206\u5C90:
|
|
1472
|
-
- **\u30C6\u30FC\u30D6\u30EB\u304C2\u3064\u4EE5\u4E0A**: \`askUserQuestion\`\uFF08multiSelect: true\uFF09\u3067\u30E6\u30FC\u30B6\u30FC\u306B\u63D0\u793A\u3057\u3001\u4F7F\u7528\u3059\u308B\u30C6\u30FC\u30D6\u30EB\u3092\u9078\u629E\u3055\u305B\u308B\u3002description \u306B\u306F\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u540D\u3092\u8A18\u8F09\u3059\u308B
|
|
1474
|
+
- **\u30C6\u30FC\u30D6\u30EB\u304C2\u3064\u4EE5\u4E0A**: \`askUserQuestion\`\uFF08multiSelect: true\uFF09\u3067\u30E6\u30FC\u30B6\u30FC\u306B\u63D0\u793A\u3057\u3001\u4F7F\u7528\u3059\u308B\u30C6\u30FC\u30D6\u30EB\u3092\u9078\u629E\u3055\u305B\u308B\u3002description \u306B\u306F\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u540D\u3092\u8A18\u8F09\u3059\u308B\u3002**\u53D6\u5F97\u3057\u305F\u5168\u30C6\u30FC\u30D6\u30EB\u3092\u9078\u629E\u80A2\u306B\u542B\u3081\u308B\u3053\u3068\u3002\u4EFB\u610F\u306B\u30D5\u30A3\u30EB\u30BF\u3084\u7701\u7565\u3092\u3057\u3066\u306F\u306A\u3089\u306A\u3044**
|
|
1473
1475
|
- **\u30C6\u30FC\u30D6\u30EB\u304C1\u3064\u3060\u3051**: askUserQuestion \u306F\u4F7F\u308F\u305A\u81EA\u52D5\u63A1\u7528
|
|
1474
1476
|
|
|
1475
1477
|
#### \u30B9\u30C6\u30C3\u30D74: \u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u5B8C\u4E86
|
|
@@ -1502,13 +1504,13 @@ Follow these steps to set up the BigQuery connection.
|
|
|
1502
1504
|
- **Otherwise**:
|
|
1503
1505
|
1. Run \`SELECT schema_name FROM INFORMATION_SCHEMA.SCHEMATA\` to get the list of datasets
|
|
1504
1506
|
2. Branch based on results:
|
|
1505
|
-
- **2 or more datasets**: Present them to the user via \`askUserQuestion\` (multiSelect: true) and let them select which datasets to use
|
|
1507
|
+
- **2 or more datasets**: Present them to the user via \`askUserQuestion\` (multiSelect: true) and let them select which datasets to use. **Include ALL datasets from the query results as options. Do NOT filter or omit any datasets**
|
|
1506
1508
|
- **Exactly 1 dataset**: Do NOT call askUserQuestion. Auto-select it. Just write "Auto-selected dataset X" in one sentence
|
|
1507
1509
|
|
|
1508
1510
|
#### Step 3: Table Selection
|
|
1509
1511
|
3. For the selected dataset(s), run \`SELECT table_name FROM \\\`{project}.{dataset}.INFORMATION_SCHEMA.TABLES\\\`\` to get the table list (use UNION ALL for multiple datasets)
|
|
1510
1512
|
4. Branch based on results:
|
|
1511
|
-
- **2 or more tables**: Present them to the user via \`askUserQuestion\` (multiSelect: true) and let them select which tables to use. Include the dataset name in the description
|
|
1513
|
+
- **2 or more tables**: Present them to the user via \`askUserQuestion\` (multiSelect: true) and let them select which tables to use. Include the dataset name in the description. **Include ALL tables from the query results as options. Do NOT filter or omit any tables**
|
|
1512
1514
|
- **Exactly 1 table**: Do NOT call askUserQuestion. Auto-select it
|
|
1513
1515
|
|
|
1514
1516
|
#### Step 4: Complete Setup
|