@malloydata/db-trino 0.0.269-dev250423184549 → 0.0.269-dev250424171204
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 +7 -0
- package/package.json +2 -2
package/dist/trino_connection.js
CHANGED
|
@@ -470,6 +470,13 @@ class TrinoPrestoSchemaParser extends malloy_1.TinyParser {
|
|
|
470
470
|
}
|
|
471
471
|
: { type: 'array', elementTypeDef: elType };
|
|
472
472
|
}
|
|
473
|
+
else if (typToken.text === 'map' && this.next('(')) {
|
|
474
|
+
const _keyType = this.typeDef();
|
|
475
|
+
this.next(',');
|
|
476
|
+
const _valType = this.typeDef();
|
|
477
|
+
this.next(')');
|
|
478
|
+
return { type: 'sql native' };
|
|
479
|
+
}
|
|
473
480
|
else if (typToken.type === 'id') {
|
|
474
481
|
const sqlType = typToken.text.toLowerCase();
|
|
475
482
|
if (sqlType === 'varchar') {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/db-trino",
|
|
3
|
-
"version": "0.0.269-
|
|
3
|
+
"version": "0.0.269-dev250424171204",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"prepublishOnly": "npm run build"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@malloydata/malloy": "^0.0.269-
|
|
25
|
+
"@malloydata/malloy": "^0.0.269-dev250424171204",
|
|
26
26
|
"@prestodb/presto-js-client": "^1.0.0",
|
|
27
27
|
"gaxios": "^4.2.0",
|
|
28
28
|
"trino-client": "^0.2.2"
|