@malloydata/db-trino 0.0.334 → 0.0.336
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.
|
@@ -43,6 +43,7 @@ export declare abstract class TrinoPrestoConnection extends BaseConnection imple
|
|
|
43
43
|
get dialectName(): string;
|
|
44
44
|
private readQueryOptions;
|
|
45
45
|
canPersist(): this is PersistSQLResults;
|
|
46
|
+
getDigest(): string;
|
|
46
47
|
get supportsNesting(): boolean;
|
|
47
48
|
manifestTemporaryTable(_sqlCommand: string): Promise<string>;
|
|
48
49
|
unpackArray(_fields: FieldDef[], data: unknown): unknown[];
|
package/dist/trino_connection.js
CHANGED
|
@@ -144,6 +144,10 @@ class TrinoPrestoConnection extends connection_1.BaseConnection {
|
|
|
144
144
|
canPersist() {
|
|
145
145
|
return true;
|
|
146
146
|
}
|
|
147
|
+
getDigest() {
|
|
148
|
+
const data = `trino:${this.name}`;
|
|
149
|
+
return (0, malloy_1.makeDigest)(data);
|
|
150
|
+
}
|
|
147
151
|
get supportsNesting() {
|
|
148
152
|
return true;
|
|
149
153
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/db-trino",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.336",
|
|
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.
|
|
25
|
+
"@malloydata/malloy": "0.0.336",
|
|
26
26
|
"@prestodb/presto-js-client": "^1.0.0",
|
|
27
27
|
"gaxios": "^4.2.0",
|
|
28
28
|
"luxon": "^3.5.0",
|