@malloydata/db-trino 0.0.431 → 0.0.433
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/trino_connection.js +9 -2
- package/package.json +2 -2
package/dist/trino_connection.js
CHANGED
|
@@ -364,9 +364,16 @@ class TrinoPrestoSchemaParser extends internal_1.TinyParser {
|
|
|
364
364
|
this.input = input;
|
|
365
365
|
this.dialect = dialect;
|
|
366
366
|
}
|
|
367
|
+
/**
|
|
368
|
+
* Presto 0.284+ writes "Output[PlanNodeId N][NAME_LIST] => ...",
|
|
369
|
+
* earlier versions write "Output[NAME_LIST] => ...".
|
|
370
|
+
*/
|
|
367
371
|
fieldNameList() {
|
|
368
|
-
this.skipTo('
|
|
369
|
-
this.
|
|
372
|
+
this.skipTo('[');
|
|
373
|
+
if (this.match('id', 'id')) {
|
|
374
|
+
// [PlanNodeId N] is the only group with two adjacent ids
|
|
375
|
+
this.skipTo('[');
|
|
376
|
+
}
|
|
370
377
|
const fieldNames = [];
|
|
371
378
|
for (;;) {
|
|
372
379
|
const nmToken = this.expect('id');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/db-trino",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.433",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"prepublishOnly": "npm run build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@malloydata/malloy": "0.0.
|
|
26
|
+
"@malloydata/malloy": "0.0.433",
|
|
27
27
|
"@prestodb/presto-js-client": "^1.1.0",
|
|
28
28
|
"gaxios": "^4.2.0",
|
|
29
29
|
"luxon": "^3.7.2",
|