@malloydata/db-trino 0.0.235-dev250207191238 → 0.0.235-dev250207192049
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
CHANGED
|
@@ -187,8 +187,7 @@ class TrinoPrestoConnection extends connection_1.BaseConnection {
|
|
|
187
187
|
if (r.error) {
|
|
188
188
|
throw new Error(r.error);
|
|
189
189
|
}
|
|
190
|
-
const inputRows = r
|
|
191
|
-
const columns = r.columns;
|
|
190
|
+
const { rows: inputRows, columns, profilingUrl } = r;
|
|
192
191
|
const malloyColumns = columns.map(c => (0, malloy_1.mkFieldDef)(this.malloyTypeFromTrinoType(c.type), c.name));
|
|
193
192
|
const malloyRows = [];
|
|
194
193
|
const rows = inputRows !== null && inputRows !== void 0 ? inputRows : [];
|
|
@@ -201,7 +200,7 @@ class TrinoPrestoConnection extends connection_1.BaseConnection {
|
|
|
201
200
|
}
|
|
202
201
|
malloyRows.push(malloyRow);
|
|
203
202
|
}
|
|
204
|
-
return { rows: malloyRows, totalRows: malloyRows.length };
|
|
203
|
+
return { rows: malloyRows, totalRows: malloyRows.length, profilingUrl };
|
|
205
204
|
}
|
|
206
205
|
resultRow(colSchema, rawRow) {
|
|
207
206
|
if (colSchema.type === 'record') {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/db-trino",
|
|
3
|
-
"version": "0.0.235-
|
|
3
|
+
"version": "0.0.235-dev250207192049",
|
|
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.235-
|
|
25
|
+
"@malloydata/malloy": "^0.0.235-dev250207192049",
|
|
26
26
|
"@prestodb/presto-js-client": "^1.0.0",
|
|
27
27
|
"gaxios": "^4.2.0",
|
|
28
28
|
"trino-client": "^0.2.2"
|