@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.
@@ -27,6 +27,7 @@ export interface BaseRunner {
27
27
  error?: string;
28
28
  }[];
29
29
  error?: string;
30
+ profilingUrl?: string;
30
31
  }>;
31
32
  }
32
33
  export declare abstract class TrinoPrestoConnection extends BaseConnection implements TestableConnection, PersistSQLResults {
@@ -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.rows;
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-dev250207191238",
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-dev250207191238",
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"