@dbml/cli 3.11.0-alpha-0 → 3.12.0-alpha-0

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/dbml-error.log CHANGED
@@ -1,282 +1,149 @@
1
- 2024-08-07T02:44:57.506Z
2
- Error: Error: connect ECONNREFUSED 127.0.0.1:3306
3
- at _callee8$ (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:474:17)
4
- at tryCatch (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:1357)
5
- at Generator.<anonymous> (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:4174)
6
- at Generator.throw (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:2208)
7
- at asyncGeneratorStep (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:17:103)
8
- at _throw (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:18:291)
9
- at processTicksAndRejections (node:internal/process/task_queues:96:5)
10
-
11
- 2024-08-07T02:51:24.263Z
12
- Error: Error: MySQL connection error:
13
- at _callee8$ (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:485:17)
14
- at tryCatch (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:1357)
15
- at Generator.<anonymous> (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:4174)
16
- at Generator.throw (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:2208)
17
- at asyncGeneratorStep (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:17:103)
18
- at _throw (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:18:291)
19
- at processTicksAndRejections (node:internal/process/task_queues:96:5)
20
-
21
- 2024-08-07T02:52:34.901Z
22
- Error: Error: MySQL connection error: Error: connect ECONNREFUSED 127.0.0.1:3306
23
- at _callee8$ (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:485:17)
24
- at tryCatch (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:1357)
25
- at Generator.<anonymous> (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:4174)
26
- at Generator.throw (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:2208)
27
- at asyncGeneratorStep (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:17:103)
28
- at _throw (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:18:291)
29
- at processTicksAndRejections (node:internal/process/task_queues:96:5)
30
-
31
- 2024-08-07T02:53:35.536Z
32
- Error: Error: MySQL connection error: Error: connect ECONNREFUSED 127.0.0.1:3306
33
- at _callee8$ (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:485:17)
34
- at tryCatch (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:1357)
35
- at Generator.<anonymous> (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:4174)
36
- at Generator.throw (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:2208)
37
- at asyncGeneratorStep (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:17:103)
38
- at _throw (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:18:291)
39
- at processTicksAndRejections (node:internal/process/task_queues:96:5)
40
-
41
- 2024-08-12T04:39:12.767Z
42
- TypeError [ERR_INVALID_URL]: Invalid URL
43
- at new NodeError (node:internal/errors:387:5)
44
- at URL.onParseError (node:internal/url:565:9)
45
- at new URL (node:internal/url:641:5)
46
- at Function.parseUrl (/Users/huylm/code/dbx/dbml/node_modules/mysql2/lib/connection_config.js:263:23)
47
- at new ConnectionConfig (/Users/huylm/code/dbx/dbml/node_modules/mysql2/lib/connection_config.js:75:34)
48
- at Object.exports.createConnection (/Users/huylm/code/dbx/dbml/node_modules/mysql2/index.js:10:35)
49
- at createConnection (/Users/huylm/code/dbx/dbml/node_modules/mysql2/promise.js:252:31)
50
- at _callee$ (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/connectors/mysqlConnector.js:41:48)
51
- at tryCatch (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/connectors/mysqlConnector.js:14:1357)
52
- at Generator.<anonymous> (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/connectors/mysqlConnector.js:14:4174)
53
-
54
- 2024-08-25T16:18:11.612Z
55
- Error: Load credential error: ENOENT: no such file or directory, open 'bigquery'
56
- at loadCredentialFromFile (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/utils/credential-loader.js:13:19)
57
- at async fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/bigqueryConnector.js:256:27)
58
- at async connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
59
-
60
- 2024-08-26T04:32:24.565Z
61
- Error: Load credential error: ENOENT: no such file or directory, open 'bigquery'
62
- at loadCredentialFromFile (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/utils/credential-loader.js:13:19)
63
- at async fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/bigqueryConnector.js:259:27)
64
- at async connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
65
-
66
- 2024-08-26T09:05:40.128Z
67
- Error: Load credential error: ENOENT: no such file or directory, open '/Users/huylm/code/dbx/dbml/packages/dbml-connector/keys/bq-test-key.json'
68
- at loadCredentialFromFile (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/utils/credential-loader.js:13:19)
69
- at async fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/bigqueryConnector.js:259:27)
70
- at async connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
71
-
72
- 2024-08-26T09:06:55.525Z
73
- Error: Load credential error: ENOENT: no such file or directory, open '/Users/huylm/code/dbx/bq-test-key.json'
74
- at loadCredentialFromFile (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/utils/credential-loader.js:13:19)
75
- at async fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/bigqueryConnector.js:259:27)
76
- at async connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
77
-
78
- 2024-08-26T09:12:14.323Z
79
- Error: Load credential error: ENOENT: no such file or directory, open '/Users/huylm/Users/huylm/code/dbx/bq-test-key.json'
80
- at loadCredentialFromFile (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/utils/credential-loader.js:13:19)
81
- at async fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/bigqueryConnector.js:259:27)
82
- at async connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
83
-
84
- 2024-08-26T09:12:39.045Z
85
- Error: Load credential error: ENOENT: no such file or directory, open '/Users/huylm/code/dbx/dbml/packages/dbml-connector/keys/bq-test-key.json'
86
- at loadCredentialFromFile (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/utils/credential-loader.js:13:19)
87
- at async fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/bigqueryConnector.js:259:27)
88
- at async connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
89
-
90
- 2024-08-26T09:38:34.868Z
91
- Error: Unsupported connection format: unknown
92
- at Object.fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/connector.js:19:19)
93
- at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:51)
94
- at Object.db2dbml (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/index.js:66:26)
95
- at Object.<anonymous> (/Users/huylm/code/dbx/dbml/packages/dbml-cli/bin/db2dbml.js:4:19)
96
- at Module._compile (node:internal/modules/cjs/loader:1256:14)
97
- at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
98
- at Module.load (node:internal/modules/cjs/loader:1119:32)
99
- at Module._load (node:internal/modules/cjs/loader:960:12)
100
- at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
101
- at node:internal/main/run_main_module:23:47
102
-
103
- 2024-08-27T04:10:42.077Z
104
- InvalidParameterError: Invalid account. The specified value must be a valid subdomain string.
105
- at createError (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/errors.js:536:17)
106
- at exports.checkArgumentValid (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/errors.js:270:11)
107
- at consolidateHostAndAccount (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/connection/connection_config.js:82:12)
108
- at new ConnectionConfig (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/connection/connection_config.js:192:5)
109
- at createConnection (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/core.js:79:7)
110
- at Object.createConnection (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/core.js:102:16)
111
- at connectToSnowflake (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:69:48)
112
- at fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:260:24)
113
- at Object.fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/connector.js:17:61)
114
- at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:51)
115
-
116
- 2024-08-27T04:12:47.369Z
117
- InvalidParameterError: Invalid account. The specified value must be a valid subdomain string.
118
- at createError (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/errors.js:536:17)
119
- at exports.checkArgumentValid (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/errors.js:270:11)
120
- at consolidateHostAndAccount (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/connection/connection_config.js:82:12)
121
- at new ConnectionConfig (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/connection/connection_config.js:192:5)
122
- at createConnection (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/core.js:79:7)
123
- at Object.createConnection (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/core.js:102:16)
124
- at connectToSnowflake (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:69:48)
125
- at fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:261:24)
126
- at Object.fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/connector.js:17:61)
127
- at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:51)
128
-
129
- 2024-08-27T04:13:16.756Z
130
- Error: Test throw
131
- at connectToSnowflake (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:68:11)
132
- at fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:261:24)
133
- at Object.fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/connector.js:17:61)
134
- at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:51)
135
- at Object.db2dbml (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/index.js:58:26)
136
- at Object.<anonymous> (/Users/huylm/code/dbx/dbml/packages/dbml-cli/bin/db2dbml.js:4:19)
137
- at Module._compile (node:internal/modules/cjs/loader:1256:14)
138
- at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
139
- at Module.load (node:internal/modules/cjs/loader:1119:32)
140
- at Module._load (node:internal/modules/cjs/loader:960:12)
141
-
142
- 2024-09-17T09:27:49.220Z
143
- ConnectionError: Failed to connect to localhost:1433 - Could not connect (sequence)
144
- at /Users/huylm/code/dbx/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
145
- at Connection.onConnect (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:849:9)
146
- at Object.onceWrapper (node:events:629:26)
147
- at Connection.emit (node:events:514:28)
148
- at Connection.emit (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:970:18)
149
- at Connection.socketError (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:1351:12)
150
- at /Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:1144:14
151
- at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
152
-
153
- 2024-10-10T09:44:57.755Z
154
- ConnectionError: Login failed for user 'sa'.
155
- at /Users/huylm/code/dbx/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
156
- at Connection.onConnect (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:849:9)
157
- at Object.onceWrapper (node:events:629:26)
158
- at Connection.emit (node:events:514:28)
159
- at Connection.emit (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:970:18)
160
- at /Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:2363:18
161
- at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
162
-
163
- 2024-10-10T09:45:34.357Z
164
- RequestError: Incorrect syntax near the keyword 'WHERE'.
165
- at handleError (/Users/huylm/code/dbx/dbml/node_modules/mssql/lib/tedious/request.js:384:15)
166
- at Connection.emit (node:events:514:28)
167
- at Connection.emit (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:970:18)
168
- at RequestTokenHandler.onErrorMessage (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/token/handler.js:284:21)
169
- at Readable.<anonymous> (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/token/token-stream-parser.js:19:33)
170
- at Readable.emit (node:events:514:28)
171
- at addChunk (node:internal/streams/readable:324:12)
172
- at readableAddChunk (node:internal/streams/readable:297:9)
173
- at Readable.push (node:internal/streams/readable:234:10)
174
- at next (node:internal/streams/from:98:31)
175
-
176
- 2024-10-10T09:46:21.137Z
177
- RequestError: Incorrect syntax near the keyword 'WHERE'.
178
- at handleError (/Users/huylm/code/dbx/dbml/node_modules/mssql/lib/tedious/request.js:384:15)
179
- at Connection.emit (node:events:514:28)
180
- at Connection.emit (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:970:18)
181
- at RequestTokenHandler.onErrorMessage (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/token/handler.js:284:21)
182
- at Readable.<anonymous> (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/token/token-stream-parser.js:19:33)
183
- at Readable.emit (node:events:514:28)
184
- at addChunk (node:internal/streams/readable:324:12)
185
- at readableAddChunk (node:internal/streams/readable:297:9)
186
- at Readable.push (node:internal/streams/readable:234:10)
187
- at next (node:internal/streams/from:98:31)
188
-
189
- 2024-10-10T09:49:37.872Z
190
- RequestError: Incorrect syntax near the keyword 'WHERE'.
191
- at handleError (/Users/huylm/code/dbx/dbml/node_modules/mssql/lib/tedious/request.js:384:15)
192
- at Connection.emit (node:events:514:28)
193
- at Connection.emit (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:970:18)
194
- at RequestTokenHandler.onErrorMessage (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/token/handler.js:284:21)
195
- at Readable.<anonymous> (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/token/token-stream-parser.js:19:33)
196
- at Readable.emit (node:events:514:28)
197
- at addChunk (node:internal/streams/readable:324:12)
198
- at readableAddChunk (node:internal/streams/readable:297:9)
199
- at Readable.push (node:internal/streams/readable:234:10)
200
- at next (node:internal/streams/from:98:31)
201
-
202
- 2024-11-04T15:29:40.436Z
203
- Error: Error: Two endpoints have unequal number of fields
204
- at generateDatabase (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/databaseGenerator.js:115:11)
205
- at Object.generateDbml (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/import/index.js:17:58)
206
- at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:26:34)
207
- at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
208
-
209
- 2024-11-04T15:48:24.903Z
210
- Error: Error: Two endpoints have unequal number of fields
211
- at generateDatabase (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/databaseGenerator.js:115:11)
212
- at Object.generateDbml (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/import/index.js:17:58)
213
- at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:26:34)
214
- at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
215
-
216
- 2024-11-04T15:57:38.948Z
217
- Error: Error: Can't find field "fk_id_2" in table "table_same_fk_1"
218
- at generateDatabase (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/databaseGenerator.js:115:11)
219
- at Object.generateDbml (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/import/index.js:17:58)
220
- at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:26:34)
221
- at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
222
-
223
- 2024-11-06T08:24:27.523Z
224
- error: missing FROM-clause entry for table "t"
225
- at /Users/huylm/code/dbx/dbml/node_modules/pg/lib/client.js:526:17
226
- at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
227
- at async generateTablesAndFields (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/postgresConnector.js:159:35)
228
- at async Promise.all (index 0)
229
- at async fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/postgresConnector.js:421:17)
230
- at async connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
231
-
232
- 2024-11-06T08:24:57.974Z
233
- Error: Error: Can't find field "fk_id_2" in table "table_same_fk_1"
234
- at generateDatabase (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/databaseGenerator.js:115:11)
235
- at Object.generateDbml (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/import/index.js:17:58)
236
- at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:26:34)
237
- at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
238
-
239
- 2024-11-06T08:26:16.506Z
240
- Error: Error: Can't find field "fk_id_2" in table "table_same_fk_1"
241
- at generateDatabase (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/databaseGenerator.js:115:11)
242
- at Object.generateDbml (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/import/index.js:17:58)
243
- at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:26:34)
244
- at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
245
-
246
- 2024-11-06T08:31:18.922Z
247
- Error: Error: Can't find field "fk_id_2" in table "table_same_fk_1"
248
- at generateDatabase (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/databaseGenerator.js:115:11)
249
- at Object.generateDbml (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/import/index.js:17:58)
250
- at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:26:34)
251
- at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
252
-
253
- 2024-11-06T08:31:26.611Z
254
- Error: Error: Can't find field "test"."fk_id_2" in table "table_same_fk_1"
255
- at generateDatabase (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/databaseGenerator.js:115:11)
256
- at Object.generateDbml (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/import/index.js:17:58)
257
- at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:26:34)
258
- at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
259
-
260
- 2025-01-13T03:03:18.572Z
261
- Error: PostgreSQL connection error: error: database "dbml_debug" does not exist
262
- at getValidatedClient (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/postgresConnector.js:21:19)
263
- at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
264
- at async fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/postgresConnector.js:415:20)
265
- at async connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
266
-
267
- 2025-01-13T03:04:40.738Z
268
- error: missing FROM-clause entry for table "t"
269
- at /Users/huylm/code/dbx/dbml/node_modules/pg/lib/client.js:526:17
270
- at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
271
- at async generateTablesAndFields (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/postgresConnector.js:159:35)
272
- at async Promise.all (index 0)
273
- at async fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/postgresConnector.js:420:17)
274
- at async connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
275
-
276
- 2025-03-10T05:06:10.846Z
277
- Error: Error: Reference with the same endpoints already exists: "ref2"("ref21") references "ref1"("id1")
278
- at generateDatabase (/Users/huylm/code/work/dbml/packages/dbml-core/lib/parse/databaseGenerator.js:115:11)
279
- at Object.generateDbml (/Users/huylm/code/work/dbml/packages/dbml-core/lib/import/index.js:19:58)
280
- at connectionHandler (/Users/huylm/code/work/dbml/packages/dbml-cli/lib/cli/connector.js:26:34)
281
- at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
1
+ 2025-04-01T07:08:08.524Z
2
+ undefined
3
+
4
+ 2025-04-01T07:08:43.730Z
5
+ undefined
6
+
7
+ 2025-04-01T08:47:47.872Z
8
+ MissingParameterError: A password must be specified.
9
+ at createError (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/errors.js:535:17)
10
+ at exports.checkArgumentExists (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/errors.js:248:11)
11
+ at new ConnectionConfig (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/connection/connection_config.js:184:14)
12
+ at createConnection (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/core.js:82:7)
13
+ at Object.createConnection (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/core.js:112:16)
14
+ at connectToSnowflake (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:69:48)
15
+ at fetchSchemaJson (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:260:24)
16
+ at Object.fetchSchemaJson (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/connector.js:18:61)
17
+ at connectionHandler (/Users/huylm/code/work/dbml/packages/dbml-cli/lib/cli/connector.js:24:51)
18
+ at Object.db2dbml (/Users/huylm/code/work/dbml/packages/dbml-cli/lib/cli/index.js:65:26)
19
+
20
+ 2025-04-01T08:50:39.101Z
21
+ MissingParameterError: A password must be specified.
22
+ at createError (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/errors.js:535:17)
23
+ at exports.checkArgumentExists (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/errors.js:248:11)
24
+ at new ConnectionConfig (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/connection/connection_config.js:184:14)
25
+ at createConnection (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/core.js:82:7)
26
+ at Object.createConnection (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/core.js:112:16)
27
+ at connectToSnowflake (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:69:48)
28
+ at fetchSchemaJson (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:260:24)
29
+ at Object.fetchSchemaJson (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/connector.js:18:61)
30
+ at connectionHandler (/Users/huylm/code/work/dbml/packages/dbml-cli/lib/cli/connector.js:24:51)
31
+ at Object.db2dbml (/Users/huylm/code/work/dbml/packages/dbml-cli/lib/cli/index.js:65:26)
32
+
33
+ 2025-04-01T08:51:47.766Z
34
+ MissingParameterError: A password must be specified.
35
+ at createError (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/errors.js:535:17)
36
+ at exports.checkArgumentExists (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/errors.js:248:11)
37
+ at new ConnectionConfig (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/connection/connection_config.js:184:14)
38
+ at createConnection (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/core.js:82:7)
39
+ at Object.createConnection (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/core.js:112:16)
40
+ at connectToSnowflake (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:69:48)
41
+ at fetchSchemaJson (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:260:24)
42
+ at Object.fetchSchemaJson (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/connector.js:18:61)
43
+ at connectionHandler (/Users/huylm/code/work/dbml/packages/dbml-cli/lib/cli/connector.js:24:51)
44
+ at Object.db2dbml (/Users/huylm/code/work/dbml/packages/dbml-cli/lib/cli/index.js:65:26)
45
+
46
+ 2025-04-01T08:52:51.191Z
47
+ MissingParameterError: A password must be specified.
48
+ at createError (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/errors.js:535:17)
49
+ at exports.checkArgumentExists (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/errors.js:248:11)
50
+ at new ConnectionConfig (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/connection/connection_config.js:184:14)
51
+ at createConnection (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/core.js:82:7)
52
+ at Object.createConnection (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/core.js:112:16)
53
+ at connectToSnowflake (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:69:48)
54
+ at fetchSchemaJson (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:260:24)
55
+ at Object.fetchSchemaJson (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/connector.js:18:61)
56
+ at connectionHandler (/Users/huylm/code/work/dbml/packages/dbml-cli/lib/cli/connector.js:24:51)
57
+ at Object.db2dbml (/Users/huylm/code/work/dbml/packages/dbml-cli/lib/cli/index.js:65:26)
58
+
59
+ 2025-04-01T08:53:45.387Z
60
+ Error: ENOENT: no such file or directory, open '"/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8"'
61
+ at Object.openSync (node:fs:603:3)
62
+ at Object.readFileSync (node:fs:471:35)
63
+ at loadPrivateKey (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:54:31)
64
+ at AuthKeypair.authenticate (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:130:20)
65
+ at Connection.connect (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/connection/connection.js:278:10)
66
+ at /Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:29:20
67
+ at new Promise (<anonymous>)
68
+ at connect (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:27:12)
69
+ at connectToSnowflake (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:101:11)
70
+ at fetchSchemaJson (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:277:24)
71
+
72
+ 2025-04-01T08:55:14.160Z
73
+ Error: ENOENT: no such file or directory, open '/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8.PASSPHRASE='
74
+ at Object.openSync (node:fs:603:3)
75
+ at Object.readFileSync (node:fs:471:35)
76
+ at loadPrivateKey (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:54:31)
77
+ at AuthKeypair.authenticate (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:130:20)
78
+ at Connection.connect (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/connection/connection.js:278:10)
79
+ at /Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:29:20
80
+ at new Promise (<anonymous>)
81
+ at connect (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:27:12)
82
+ at connectToSnowflake (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:101:11)
83
+ at fetchSchemaJson (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:277:24)
84
+
85
+ 2025-04-01T08:55:30.153Z
86
+ Error: ENOENT: no such file or directory, open '~/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8.PASSPHRASE='
87
+ at Object.openSync (node:fs:603:3)
88
+ at Object.readFileSync (node:fs:471:35)
89
+ at loadPrivateKey (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:54:31)
90
+ at AuthKeypair.authenticate (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:130:20)
91
+ at Connection.connect (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/connection/connection.js:278:10)
92
+ at /Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:29:20
93
+ at new Promise (<anonymous>)
94
+ at connect (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:27:12)
95
+ at connectToSnowflake (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:101:11)
96
+ at fetchSchemaJson (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:277:24)
97
+
98
+ 2025-04-01T08:55:41.880Z
99
+ Error: ENOENT: no such file or directory, open '~/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8'
100
+ at Object.openSync (node:fs:603:3)
101
+ at Object.readFileSync (node:fs:471:35)
102
+ at loadPrivateKey (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:54:31)
103
+ at AuthKeypair.authenticate (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:130:20)
104
+ at Connection.connect (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/connection/connection.js:278:10)
105
+ at /Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:29:20
106
+ at new Promise (<anonymous>)
107
+ at connect (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:27:12)
108
+ at connectToSnowflake (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:101:11)
109
+ at fetchSchemaJson (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:277:24)
110
+
111
+ 2025-04-01T08:56:21.806Z
112
+ Error: ENOENT: no such file or directory, open '"~/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8"'
113
+ at Object.openSync (node:fs:603:3)
114
+ at Object.readFileSync (node:fs:471:35)
115
+ at loadPrivateKey (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:54:31)
116
+ at AuthKeypair.authenticate (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:130:20)
117
+ at Connection.connect (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/connection/connection.js:278:10)
118
+ at /Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:29:20
119
+ at new Promise (<anonymous>)
120
+ at connect (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:27:12)
121
+ at connectToSnowflake (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:101:11)
122
+ at fetchSchemaJson (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:277:24)
123
+
124
+ 2025-04-01T08:56:29.717Z
125
+ Error: ENOENT: no such file or directory, open '~/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8'
126
+ at Object.openSync (node:fs:603:3)
127
+ at Object.readFileSync (node:fs:471:35)
128
+ at loadPrivateKey (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:54:31)
129
+ at AuthKeypair.authenticate (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:130:20)
130
+ at Connection.connect (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/connection/connection.js:278:10)
131
+ at /Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:29:20
132
+ at new Promise (<anonymous>)
133
+ at connect (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:27:12)
134
+ at connectToSnowflake (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:101:11)
135
+ at fetchSchemaJson (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:277:24)
136
+
137
+ 2025-04-01T08:56:39.528Z
138
+ Error: ENOENT: no such file or directory, open '~/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8'
139
+ at Object.openSync (node:fs:603:3)
140
+ at Object.readFileSync (node:fs:471:35)
141
+ at loadPrivateKey (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:54:31)
142
+ at AuthKeypair.authenticate (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:130:20)
143
+ at Connection.connect (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/connection/connection.js:278:10)
144
+ at /Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:29:20
145
+ at new Promise (<anonymous>)
146
+ at connect (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:27:12)
147
+ at connectToSnowflake (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:101:11)
148
+ at fetchSchemaJson (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:277:24)
282
149
 
package/lib/cli/index.js CHANGED
@@ -43,7 +43,12 @@ function db2dbml(args) {
43
43
  - postgres: 'postgresql://user:password@localhost:5432/dbname?schemas=schema1,schema2,schema3'
44
44
  - mysql: 'mysql://user:password@localhost:3306/dbname'
45
45
  - mssql: 'Server=localhost,1433;Database=master;User Id=sa;Password=your_password;Encrypt=true;TrustServerCertificate=true;Schemas=schema1,schema2,schema3;'
46
- - snowflake: 'SERVER=<account_identifier>.<region>;UID=<your_username>;PWD=<your_password>;DATABASE=<your_database>;WAREHOUSE=<your_warehouse>;ROLE=<your_role>;SCHEMAS=schema1,schema2,schema3;'
46
+ - snowflake:
47
+ - password-based authentication: 'SERVER=<account_identifier>.<region>;UID=<your_username>;PWD=<your_password>;DATABASE=<your_database>;WAREHOUSE=<your_warehouse>;ROLE=<your_role>;SCHEMAS=schema1,schema2,schema3;'
48
+ - key pair authentication: 'SERVER=<account_identifier>.<region>;UID=<your_username>;AUTHENTICATOR=SNOWFLAKE_JWT;PRIVATE_KEY_PATH=<path_to_your_private_key.p8>;PASSPHRASE=<your_private_key_passphrase>;DATABASE=<your_database>;WAREHOUSE=<your_warehouse>;ROLE=<your_role>;SCHEMAS=schema1,schema2,schema3;'
49
+
50
+ Note: If you did not use passphrase to encrypt your private key, you can leave the "PASSPHRASE" empty.
51
+
47
52
  - bigquery: /path_to_json_credential.json
48
53
 
49
54
  For BigQuery, your JSON credential file must contain the following keys:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbml/cli",
3
- "version": "3.11.0-alpha-0",
3
+ "version": "3.12.0-alpha-0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "license": "Apache-2.0",
@@ -26,8 +26,8 @@
26
26
  ],
27
27
  "dependencies": {
28
28
  "@babel/cli": "^7.21.0",
29
- "@dbml/connector": "^3.11.0-alpha-0",
30
- "@dbml/core": "^3.11.0-alpha-0",
29
+ "@dbml/connector": "^3.12.0-alpha-0",
30
+ "@dbml/core": "^3.12.0-alpha-0",
31
31
  "bluebird": "^3.5.5",
32
32
  "chalk": "^2.4.2",
33
33
  "commander": "^2.20.0",
@@ -55,7 +55,7 @@
55
55
  "^.+\\.js$": "babel-jest"
56
56
  }
57
57
  },
58
- "gitHead": "b090782ba29b03837d87d4d6478bd3f2ca403efc",
58
+ "gitHead": "da2bec56f10f32db65a06856105f08b522556661",
59
59
  "engines": {
60
60
  "node": ">=18"
61
61
  }
package/snowflake.log CHANGED
@@ -6,3 +6,124 @@
6
6
  {"level":"INFO","message":"[3:18:47.996 PM]: Trying to initialize Easy Logging"}
7
7
  {"level":"INFO","message":"[3:18:47.998 PM]: No client config file found in default directories"}
8
8
  {"level":"INFO","message":"[3:18:47.999 PM]: Easy Logging is disabled as no config has been found"}
9
+ {"level":"INFO","message":"[2:44:09.684 PM]: Connecting to GLOBAL Snowflake domain"}
10
+ {"level":"INFO","message":"[2:44:09.690 PM]: Trying to initialize Easy Logging"}
11
+ {"level":"INFO","message":"[2:44:09.692 PM]: No client config file found in default directories"}
12
+ {"level":"INFO","message":"[2:44:09.692 PM]: Easy Logging is disabled as no config has been found"}
13
+ {"level":"INFO","message":"[4:26:49.324 PM]: Connecting to GLOBAL Snowflake domain"}
14
+ {"level":"INFO","message":"[4:26:49.327 PM]: Trying to initialize Easy Logging"}
15
+ {"level":"INFO","message":"[4:26:49.329 PM]: No client config file found in default directories"}
16
+ {"level":"INFO","message":"[4:26:49.330 PM]: Easy Logging is disabled as no config has been found"}
17
+ {"level":"INFO","message":"[4:27:05.301 PM]: Connecting to GLOBAL Snowflake domain"}
18
+ {"level":"INFO","message":"[4:27:05.303 PM]: Trying to initialize Easy Logging"}
19
+ {"level":"INFO","message":"[4:27:05.306 PM]: No client config file found in default directories"}
20
+ {"level":"INFO","message":"[4:27:05.306 PM]: Easy Logging is disabled as no config has been found"}
21
+ {"level":"INFO","message":"[4:27:13.459 PM]: Connecting to GLOBAL Snowflake domain"}
22
+ {"level":"INFO","message":"[4:27:13.462 PM]: Trying to initialize Easy Logging"}
23
+ {"level":"INFO","message":"[4:27:13.464 PM]: No client config file found in default directories"}
24
+ {"level":"INFO","message":"[4:27:13.464 PM]: Easy Logging is disabled as no config has been found"}
25
+ {"level":"INFO","message":"[4:27:26.410 PM]: Connecting to GLOBAL Snowflake domain"}
26
+ {"level":"INFO","message":"[4:27:26.413 PM]: Trying to initialize Easy Logging"}
27
+ {"level":"INFO","message":"[4:27:26.415 PM]: No client config file found in default directories"}
28
+ {"level":"INFO","message":"[4:27:26.415 PM]: Easy Logging is disabled as no config has been found"}
29
+ {"level":"INFO","message":"[4:27:42.518 PM]: Connecting to GLOBAL Snowflake domain"}
30
+ {"level":"INFO","message":"[4:27:42.520 PM]: Trying to initialize Easy Logging"}
31
+ {"level":"INFO","message":"[4:27:42.524 PM]: No client config file found in default directories"}
32
+ {"level":"INFO","message":"[4:27:42.524 PM]: Easy Logging is disabled as no config has been found"}
33
+ {"level":"INFO","message":"[4:28:10.030 PM]: Connecting to GLOBAL Snowflake domain"}
34
+ {"level":"INFO","message":"[4:28:10.032 PM]: Trying to initialize Easy Logging"}
35
+ {"level":"INFO","message":"[4:28:10.035 PM]: No client config file found in default directories"}
36
+ {"level":"INFO","message":"[4:28:10.035 PM]: Easy Logging is disabled as no config has been found"}
37
+ {"level":"INFO","message":"[3:47:47.869 PM]: Configuring logger with level: 2, filePath: undefined, additionalLogToConsole: false"}
38
+ {"level":"INFO","message":"[3:47:47.871 PM]: Creating new connection object"}
39
+ {"level":"INFO","message":"[3:50:39.098 PM]: Configuring logger with level: 2, filePath: undefined, additionalLogToConsole: false"}
40
+ {"level":"INFO","message":"[3:50:39.100 PM]: Creating new connection object"}
41
+ {"level":"INFO","message":"[3:51:47.763 PM]: Configuring logger with level: 2, filePath: undefined, additionalLogToConsole: false"}
42
+ {"level":"INFO","message":"[3:51:47.765 PM]: Creating new connection object"}
43
+ {"level":"INFO","message":"[3:52:51.188 PM]: Configuring logger with level: 2, filePath: undefined, additionalLogToConsole: false"}
44
+ {"level":"INFO","message":"[3:52:51.189 PM]: Creating new connection object"}
45
+ {"level":"INFO","message":"[3:53:45.381 PM]: Configuring logger with level: 2, filePath: undefined, additionalLogToConsole: false"}
46
+ {"level":"INFO","message":"[3:53:45.382 PM]: Creating new connection object"}
47
+ {"level":"INFO","message":"[3:53:45.384 PM]: Creating Connection[id: b1dcc16b-b552-4996-a0ee-fbd45e2a275b] with host: holistics.ap-southeast-2.snowflakecomputing.com, account: holistics, accessUrl: https://holistics.ap-southeast-2.snowflakecomputing.com, user: HOLISTICS_USER, role: undefined, database: TEST_DB, schema: undefined, warehouse: DEMO_WH, proxy was not configured, password is not provided, region: ap-southeast-2, authenticator: SNOWFLAKE_JWT, ocsp mode: FAIL_OPEN, os: darwin, os version: 24.3.0"}
48
+ {"level":"INFO","message":"[3:53:45.384 PM]: Connection[id: b1dcc16b-b552-4996-a0ee-fbd45e2a275b] additional details: passcode in password is provided, passcode is not provided, private key is not provided, application: undefined, client name: snowflake-sdk, client version: 2.0.3, retry timeout: 300, private key path: \"/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8\", private key pass is not provided, client store temporary credential: false, browser response timeout: 120000"}
49
+ {"level":"INFO","message":"[3:53:45.384 PM]: Connection[id: b1dcc16b-b552-4996-a0ee-fbd45e2a275b] - connection object created successfully."}
50
+ {"level":"INFO","message":"[3:53:45.385 PM]: Connection[id: b1dcc16b-b552-4996-a0ee-fbd45e2a275b] - connecting. Associated Snowflake domain: GLOBAL"}
51
+ {"level":"ERROR","message":"[3:53:45.386 PM]: Connection[id: b1dcc16b-b552-4996-a0ee-fbd45e2a275b] - authentication failed. Error: Error: ENOENT: no such file or directory, open '\"/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8\"'\n at Object.openSync (node:fs:603:3)\n at Object.readFileSync (node:fs:471:35)\n at loadPrivateKey (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:54:31)\n at AuthKeypair.authenticate (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/a"}
52
+ {"level":"INFO","message":"[3:54:15.329 PM]: Configuring logger with level: 2, filePath: undefined, additionalLogToConsole: false"}
53
+ {"level":"INFO","message":"[3:54:15.331 PM]: Creating new connection object"}
54
+ {"level":"INFO","message":"[3:54:15.332 PM]: Creating Connection[id: 51c4875c-7f78-4811-8e52-4c611c253542] with host: holistics.ap-southeast-2.snowflakecomputing.com, account: holistics, accessUrl: https://holistics.ap-southeast-2.snowflakecomputing.com, user: HOLISTICS_USER, role: undefined, database: TEST_DB, schema: undefined, warehouse: DEMO_WH, proxy was not configured, password is not provided, region: ap-southeast-2, authenticator: SNOWFLAKE_JWT, ocsp mode: FAIL_OPEN, os: darwin, os version: 24.3.0"}
55
+ {"level":"INFO","message":"[3:54:15.332 PM]: Connection[id: 51c4875c-7f78-4811-8e52-4c611c253542] additional details: passcode in password is provided, passcode is not provided, private key is not provided, application: undefined, client name: snowflake-sdk, client version: 2.0.3, retry timeout: 300, private key path: /Users/huylm/code/work/dbml/packages/dbml-cli/key.p8, private key pass is not provided, client store temporary credential: false, browser response timeout: 120000"}
56
+ {"level":"INFO","message":"[3:54:15.332 PM]: Connection[id: 51c4875c-7f78-4811-8e52-4c611c253542] - connection object created successfully."}
57
+ {"level":"INFO","message":"[3:54:15.333 PM]: Connection[id: 51c4875c-7f78-4811-8e52-4c611c253542] - connecting. Associated Snowflake domain: GLOBAL"}
58
+ {"level":"INFO","message":"[3:54:15.339 PM]: Connection[id: 51c4875c-7f78-4811-8e52-4c611c253542] - authentication successful using: SNOWFLAKE_JWT"}
59
+ {"level":"INFO","message":"[3:54:15.339 PM]: Trying to initialize Easy Logging"}
60
+ {"level":"INFO","message":"[3:54:15.340 PM]: No client config detected."}
61
+ {"level":"INFO","message":"[3:54:15.341 PM]: No config file path found. Client config will not be used."}
62
+ {"level":"INFO","message":"[3:54:15.341 PM]: Easy Logging is disabled as no config has been found"}
63
+ {"level":"INFO","message":"[3:54:15.342 PM]: Connection[id: 51c4875c-7f78-4811-8e52-4c611c253542] - connected successfully after 9.428709030151367 milliseconds"}
64
+ {"level":"INFO","message":"[3:55:14.152 PM]: Configuring logger with level: 2, filePath: undefined, additionalLogToConsole: false"}
65
+ {"level":"INFO","message":"[3:55:14.154 PM]: Creating new connection object"}
66
+ {"level":"INFO","message":"[3:55:14.156 PM]: Creating Connection[id: 9f57ac79-5c29-4ed7-a84b-988ae9c1e342] with host: holistics.ap-southeast-2.snowflakecomputing.com, account: holistics, accessUrl: https://holistics.ap-southeast-2.snowflakecomputing.com, user: HOLISTICS_USER, role: undefined, database: TEST_DB, schema: undefined, warehouse: DEMO_WH, proxy was not configured, password is not provided, region: ap-southeast-2, authenticator: SNOWFLAKE_JWT, ocsp mode: FAIL_OPEN, os: darwin, os version: 24.3.0"}
67
+ {"level":"INFO","message":"[3:55:14.156 PM]: Connection[id: 9f57ac79-5c29-4ed7-a84b-988ae9c1e342] additional details: passcode in password is provided, passcode is not provided, private key is not provided, application: undefined, client name: snowflake-sdk, client version: 2.0.3, retry timeout: 300, private key path: /Users/huylm/code/work/dbml/packages/dbml-cli/key.p8.PASSPHRASE=, private key pass is not provided, client store temporary credential: false, browser response timeout: 120000"}
68
+ {"level":"INFO","message":"[3:55:14.157 PM]: Connection[id: 9f57ac79-5c29-4ed7-a84b-988ae9c1e342] - connection object created successfully."}
69
+ {"level":"INFO","message":"[3:55:14.157 PM]: Connection[id: 9f57ac79-5c29-4ed7-a84b-988ae9c1e342] - connecting. Associated Snowflake domain: GLOBAL"}
70
+ {"level":"ERROR","message":"[3:55:14.159 PM]: Connection[id: 9f57ac79-5c29-4ed7-a84b-988ae9c1e342] - authentication failed. Error: Error: ENOENT: no such file or directory, open '/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8.PASSPHRASE='\n at Object.openSync (node:fs:603:3)\n at Object.readFileSync (node:fs:471:35)\n at loadPrivateKey (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:54:31)\n at AuthKeypair.authenticate (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authen"}
71
+ {"level":"INFO","message":"[3:55:30.146 PM]: Configuring logger with level: 2, filePath: undefined, additionalLogToConsole: false"}
72
+ {"level":"INFO","message":"[3:55:30.148 PM]: Creating new connection object"}
73
+ {"level":"INFO","message":"[3:55:30.149 PM]: Creating Connection[id: b9b1ced6-4a99-45ab-b337-1b8062a8b1c1] with host: holistics.ap-southeast-2.snowflakecomputing.com, account: holistics, accessUrl: https://holistics.ap-southeast-2.snowflakecomputing.com, user: HOLISTICS_USER, role: undefined, database: TEST_DB, schema: undefined, warehouse: DEMO_WH, proxy was not configured, password is not provided, region: ap-southeast-2, authenticator: SNOWFLAKE_JWT, ocsp mode: FAIL_OPEN, os: darwin, os version: 24.3.0"}
74
+ {"level":"INFO","message":"[3:55:30.150 PM]: Connection[id: b9b1ced6-4a99-45ab-b337-1b8062a8b1c1] additional details: passcode in password is provided, passcode is not provided, private key is not provided, application: undefined, client name: snowflake-sdk, client version: 2.0.3, retry timeout: 300, private key path: ~/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8.PASSPHRASE=, private key pass is not provided, client store temporary credential: false, browser response timeout: 120000"}
75
+ {"level":"INFO","message":"[3:55:30.150 PM]: Connection[id: b9b1ced6-4a99-45ab-b337-1b8062a8b1c1] - connection object created successfully."}
76
+ {"level":"INFO","message":"[3:55:30.150 PM]: Connection[id: b9b1ced6-4a99-45ab-b337-1b8062a8b1c1] - connecting. Associated Snowflake domain: GLOBAL"}
77
+ {"level":"ERROR","message":"[3:55:30.152 PM]: Connection[id: b9b1ced6-4a99-45ab-b337-1b8062a8b1c1] - authentication failed. Error: Error: ENOENT: no such file or directory, open '~/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8.PASSPHRASE='\n at Object.openSync (node:fs:603:3)\n at Object.readFileSync (node:fs:471:35)\n at loadPrivateKey (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:54:31)\n at AuthKeypair.authenticate (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authe"}
78
+ {"level":"INFO","message":"[3:55:41.874 PM]: Configuring logger with level: 2, filePath: undefined, additionalLogToConsole: false"}
79
+ {"level":"INFO","message":"[3:55:41.876 PM]: Creating new connection object"}
80
+ {"level":"INFO","message":"[3:55:41.877 PM]: Creating Connection[id: 14727e10-9737-45f6-a8c4-ecc1fa1d8f2b] with host: holistics.ap-southeast-2.snowflakecomputing.com, account: holistics, accessUrl: https://holistics.ap-southeast-2.snowflakecomputing.com, user: HOLISTICS_USER, role: undefined, database: TEST_DB, schema: undefined, warehouse: DEMO_WH, proxy was not configured, password is not provided, region: ap-southeast-2, authenticator: SNOWFLAKE_JWT, ocsp mode: FAIL_OPEN, os: darwin, os version: 24.3.0"}
81
+ {"level":"INFO","message":"[3:55:41.877 PM]: Connection[id: 14727e10-9737-45f6-a8c4-ecc1fa1d8f2b] additional details: passcode in password is provided, passcode is not provided, private key is not provided, application: undefined, client name: snowflake-sdk, client version: 2.0.3, retry timeout: 300, private key path: ~/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8, private key pass is not provided, client store temporary credential: false, browser response timeout: 120000"}
82
+ {"level":"INFO","message":"[3:55:41.878 PM]: Connection[id: 14727e10-9737-45f6-a8c4-ecc1fa1d8f2b] - connection object created successfully."}
83
+ {"level":"INFO","message":"[3:55:41.878 PM]: Connection[id: 14727e10-9737-45f6-a8c4-ecc1fa1d8f2b] - connecting. Associated Snowflake domain: GLOBAL"}
84
+ {"level":"ERROR","message":"[3:55:41.880 PM]: Connection[id: 14727e10-9737-45f6-a8c4-ecc1fa1d8f2b] - authentication failed. Error: Error: ENOENT: no such file or directory, open '~/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8'\n at Object.openSync (node:fs:603:3)\n at Object.readFileSync (node:fs:471:35)\n at loadPrivateKey (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:54:31)\n at AuthKeypair.authenticate (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/au"}
85
+ {"level":"INFO","message":"[3:56:21.800 PM]: Configuring logger with level: 2, filePath: undefined, additionalLogToConsole: false"}
86
+ {"level":"INFO","message":"[3:56:21.801 PM]: Creating new connection object"}
87
+ {"level":"INFO","message":"[3:56:21.802 PM]: Creating Connection[id: bc93ab34-9b42-4938-8c31-9c25024c6b93] with host: holistics.ap-southeast-2.snowflakecomputing.com, account: holistics, accessUrl: https://holistics.ap-southeast-2.snowflakecomputing.com, user: HOLISTICS_USER, role: undefined, database: TEST_DB, schema: undefined, warehouse: DEMO_WH, proxy was not configured, password is not provided, region: ap-southeast-2, authenticator: SNOWFLAKE_JWT, ocsp mode: FAIL_OPEN, os: darwin, os version: 24.3.0"}
88
+ {"level":"INFO","message":"[3:56:21.803 PM]: Connection[id: bc93ab34-9b42-4938-8c31-9c25024c6b93] additional details: passcode in password is provided, passcode is not provided, private key is not provided, application: undefined, client name: snowflake-sdk, client version: 2.0.3, retry timeout: 300, private key path: \"~/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8\", private key pass is not provided, client store temporary credential: false, browser response timeout: 120000"}
89
+ {"level":"INFO","message":"[3:56:21.803 PM]: Connection[id: bc93ab34-9b42-4938-8c31-9c25024c6b93] - connection object created successfully."}
90
+ {"level":"INFO","message":"[3:56:21.804 PM]: Connection[id: bc93ab34-9b42-4938-8c31-9c25024c6b93] - connecting. Associated Snowflake domain: GLOBAL"}
91
+ {"level":"ERROR","message":"[3:56:21.805 PM]: Connection[id: bc93ab34-9b42-4938-8c31-9c25024c6b93] - authentication failed. Error: Error: ENOENT: no such file or directory, open '\"~/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8\"'\n at Object.openSync (node:fs:603:3)\n at Object.readFileSync (node:fs:471:35)\n at loadPrivateKey (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:54:31)\n at AuthKeypair.authenticate (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/"}
92
+ {"level":"INFO","message":"[3:56:29.711 PM]: Configuring logger with level: 2, filePath: undefined, additionalLogToConsole: false"}
93
+ {"level":"INFO","message":"[3:56:29.712 PM]: Creating new connection object"}
94
+ {"level":"INFO","message":"[3:56:29.714 PM]: Creating Connection[id: 87d2271d-ca23-4a0e-9fff-c0c2fc548582] with host: holistics.ap-southeast-2.snowflakecomputing.com, account: holistics, accessUrl: https://holistics.ap-southeast-2.snowflakecomputing.com, user: HOLISTICS_USER, role: undefined, database: TEST_DB, schema: undefined, warehouse: DEMO_WH, proxy was not configured, password is not provided, region: ap-southeast-2, authenticator: SNOWFLAKE_JWT, ocsp mode: FAIL_OPEN, os: darwin, os version: 24.3.0"}
95
+ {"level":"INFO","message":"[3:56:29.714 PM]: Connection[id: 87d2271d-ca23-4a0e-9fff-c0c2fc548582] additional details: passcode in password is provided, passcode is not provided, private key is not provided, application: undefined, client name: snowflake-sdk, client version: 2.0.3, retry timeout: 300, private key path: ~/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8, private key pass is not provided, client store temporary credential: false, browser response timeout: 120000"}
96
+ {"level":"INFO","message":"[3:56:29.714 PM]: Connection[id: 87d2271d-ca23-4a0e-9fff-c0c2fc548582] - connection object created successfully."}
97
+ {"level":"INFO","message":"[3:56:29.715 PM]: Connection[id: 87d2271d-ca23-4a0e-9fff-c0c2fc548582] - connecting. Associated Snowflake domain: GLOBAL"}
98
+ {"level":"ERROR","message":"[3:56:29.716 PM]: Connection[id: 87d2271d-ca23-4a0e-9fff-c0c2fc548582] - authentication failed. Error: Error: ENOENT: no such file or directory, open '~/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8'\n at Object.openSync (node:fs:603:3)\n at Object.readFileSync (node:fs:471:35)\n at loadPrivateKey (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:54:31)\n at AuthKeypair.authenticate (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/au"}
99
+ {"level":"INFO","message":"[3:56:39.522 PM]: Configuring logger with level: 2, filePath: undefined, additionalLogToConsole: false"}
100
+ {"level":"INFO","message":"[3:56:39.524 PM]: Creating new connection object"}
101
+ {"level":"INFO","message":"[3:56:39.525 PM]: Creating Connection[id: 962a5094-38c2-4058-b5e6-4edccc1522d6] with host: holistics.ap-southeast-2.snowflakecomputing.com, account: holistics, accessUrl: https://holistics.ap-southeast-2.snowflakecomputing.com, user: HOLISTICS_USER, role: undefined, database: TEST_DB, schema: undefined, warehouse: DEMO_WH, proxy was not configured, password is not provided, region: ap-southeast-2, authenticator: SNOWFLAKE_JWT, ocsp mode: FAIL_OPEN, os: darwin, os version: 24.3.0"}
102
+ {"level":"INFO","message":"[3:56:39.525 PM]: Connection[id: 962a5094-38c2-4058-b5e6-4edccc1522d6] additional details: passcode in password is provided, passcode is not provided, private key is not provided, application: undefined, client name: snowflake-sdk, client version: 2.0.3, retry timeout: 300, private key path: ~/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8, private key pass is not provided, client store temporary credential: false, browser response timeout: 120000"}
103
+ {"level":"INFO","message":"[3:56:39.526 PM]: Connection[id: 962a5094-38c2-4058-b5e6-4edccc1522d6] - connection object created successfully."}
104
+ {"level":"INFO","message":"[3:56:39.526 PM]: Connection[id: 962a5094-38c2-4058-b5e6-4edccc1522d6] - connecting. Associated Snowflake domain: GLOBAL"}
105
+ {"level":"ERROR","message":"[3:56:39.528 PM]: Connection[id: 962a5094-38c2-4058-b5e6-4edccc1522d6] - authentication failed. Error: Error: ENOENT: no such file or directory, open '~/Users/huylm/code/work/dbml/packages/dbml-cli/key.p8'\n at Object.openSync (node:fs:603:3)\n at Object.readFileSync (node:fs:471:35)\n at loadPrivateKey (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/auth_keypair.js:54:31)\n at AuthKeypair.authenticate (/Users/huylm/code/work/dbml/node_modules/snowflake-sdk/lib/authentication/au"}
106
+ {"level":"INFO","message":"[3:57:02.017 PM]: Configuring logger with level: 2, filePath: undefined, additionalLogToConsole: false"}
107
+ {"level":"INFO","message":"[3:57:02.018 PM]: Creating new connection object"}
108
+ {"level":"INFO","message":"[3:57:02.020 PM]: Creating Connection[id: 42bc0678-0b7e-464e-9c0f-317873103503] with host: holistics.ap-southeast-2.snowflakecomputing.com, account: holistics, accessUrl: https://holistics.ap-southeast-2.snowflakecomputing.com, user: HOLISTICS_USER, role: undefined, database: TEST_DB, schema: undefined, warehouse: DEMO_WH, proxy was not configured, password is not provided, region: ap-southeast-2, authenticator: SNOWFLAKE_JWT, ocsp mode: FAIL_OPEN, os: darwin, os version: 24.3.0"}
109
+ {"level":"INFO","message":"[3:57:02.020 PM]: Connection[id: 42bc0678-0b7e-464e-9c0f-317873103503] additional details: passcode in password is provided, passcode is not provided, private key is not provided, application: undefined, client name: snowflake-sdk, client version: 2.0.3, retry timeout: 300, private key path: /Users/huylm/code/work/dbml/packages/dbml-cli/key.p8, private key pass is not provided, client store temporary credential: false, browser response timeout: 120000"}
110
+ {"level":"INFO","message":"[3:57:02.020 PM]: Connection[id: 42bc0678-0b7e-464e-9c0f-317873103503] - connection object created successfully."}
111
+ {"level":"INFO","message":"[3:57:02.021 PM]: Connection[id: 42bc0678-0b7e-464e-9c0f-317873103503] - connecting. Associated Snowflake domain: GLOBAL"}
112
+ {"level":"INFO","message":"[3:57:02.027 PM]: Connection[id: 42bc0678-0b7e-464e-9c0f-317873103503] - authentication successful using: SNOWFLAKE_JWT"}
113
+ {"level":"INFO","message":"[3:57:02.028 PM]: Trying to initialize Easy Logging"}
114
+ {"level":"INFO","message":"[3:57:02.029 PM]: No client config detected."}
115
+ {"level":"INFO","message":"[3:57:02.029 PM]: No config file path found. Client config will not be used."}
116
+ {"level":"INFO","message":"[3:57:02.029 PM]: Easy Logging is disabled as no config has been found"}
117
+ {"level":"INFO","message":"[3:57:02.031 PM]: Connection[id: 42bc0678-0b7e-464e-9c0f-317873103503] - connected successfully after 10.33554196357727 milliseconds"}
118
+ {"level":"INFO","message":"[3:57:15.585 PM]: Configuring logger with level: 2, filePath: undefined, additionalLogToConsole: false"}
119
+ {"level":"INFO","message":"[3:57:15.587 PM]: Creating new connection object"}
120
+ {"level":"INFO","message":"[3:57:15.588 PM]: Creating Connection[id: 7ecfbb6b-0f84-4ea2-a5a8-7e5c264d452e] with host: holistics.ap-southeast-2.snowflakecomputing.com, account: holistics, accessUrl: https://holistics.ap-southeast-2.snowflakecomputing.com, user: HOLISTICS_USER, role: undefined, database: TEST_DB, schema: undefined, warehouse: DEMO_WH, proxy was not configured, password is not provided, region: ap-southeast-2, authenticator: SNOWFLAKE_JWT, ocsp mode: FAIL_OPEN, os: darwin, os version: 24.3.0"}
121
+ {"level":"INFO","message":"[3:57:15.588 PM]: Connection[id: 7ecfbb6b-0f84-4ea2-a5a8-7e5c264d452e] additional details: passcode in password is provided, passcode is not provided, private key is not provided, application: undefined, client name: snowflake-sdk, client version: 2.0.3, retry timeout: 300, private key path: /Users/huylm/code/work/dbml/packages/dbml-cli/key.p8, private key pass is not provided, client store temporary credential: false, browser response timeout: 120000"}
122
+ {"level":"INFO","message":"[3:57:15.589 PM]: Connection[id: 7ecfbb6b-0f84-4ea2-a5a8-7e5c264d452e] - connection object created successfully."}
123
+ {"level":"INFO","message":"[3:57:15.589 PM]: Connection[id: 7ecfbb6b-0f84-4ea2-a5a8-7e5c264d452e] - connecting. Associated Snowflake domain: GLOBAL"}
124
+ {"level":"INFO","message":"[3:57:15.596 PM]: Connection[id: 7ecfbb6b-0f84-4ea2-a5a8-7e5c264d452e] - authentication successful using: SNOWFLAKE_JWT"}
125
+ {"level":"INFO","message":"[3:57:15.596 PM]: Trying to initialize Easy Logging"}
126
+ {"level":"INFO","message":"[3:57:15.597 PM]: No client config detected."}
127
+ {"level":"INFO","message":"[3:57:15.598 PM]: No config file path found. Client config will not be used."}
128
+ {"level":"INFO","message":"[3:57:15.598 PM]: Easy Logging is disabled as no config has been found"}
129
+ {"level":"INFO","message":"[3:57:15.599 PM]: Connection[id: 7ecfbb6b-0f84-4ea2-a5a8-7e5c264d452e] - connected successfully after 10.343082904815674 milliseconds"}
package/src/cli/index.js CHANGED
@@ -56,7 +56,12 @@ function db2dbml (args) {
56
56
  - postgres: 'postgresql://user:password@localhost:5432/dbname?schemas=schema1,schema2,schema3'
57
57
  - mysql: 'mysql://user:password@localhost:3306/dbname'
58
58
  - mssql: 'Server=localhost,1433;Database=master;User Id=sa;Password=your_password;Encrypt=true;TrustServerCertificate=true;Schemas=schema1,schema2,schema3;'
59
- - snowflake: 'SERVER=<account_identifier>.<region>;UID=<your_username>;PWD=<your_password>;DATABASE=<your_database>;WAREHOUSE=<your_warehouse>;ROLE=<your_role>;SCHEMAS=schema1,schema2,schema3;'
59
+ - snowflake:
60
+ - password-based authentication: 'SERVER=<account_identifier>.<region>;UID=<your_username>;PWD=<your_password>;DATABASE=<your_database>;WAREHOUSE=<your_warehouse>;ROLE=<your_role>;SCHEMAS=schema1,schema2,schema3;'
61
+ - key pair authentication: 'SERVER=<account_identifier>.<region>;UID=<your_username>;AUTHENTICATOR=SNOWFLAKE_JWT;PRIVATE_KEY_PATH=<path_to_your_private_key.p8>;PASSPHRASE=<your_private_key_passphrase>;DATABASE=<your_database>;WAREHOUSE=<your_warehouse>;ROLE=<your_role>;SCHEMAS=schema1,schema2,schema3;'
62
+
63
+ Note: If you did not use passphrase to encrypt your private key, you can leave the "PASSPHRASE" empty.
64
+
60
65
  - bigquery: /path_to_json_credential.json
61
66
 
62
67
  For BigQuery, your JSON credential file must contain the following keys: