@malloydata/db-trino 0.0.133 → 0.0.134-dev240321184648

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.
@@ -308,13 +308,8 @@ class TrinoConnection {
308
308
  return job.getQueryResultsStream();
309
309
  }*/
310
310
  async estimateQueryCost(_sqlCommand) {
311
- /*const dryRunResults = await this.dryRunSQLQuery(sqlCommand);
312
- return {
313
- queryCostBytes: Number(
314
- dryRunResults.metadata.statistics.totalBytesProcessed
315
- ),
316
- };*/
317
- throw new Error('Not impld 6');
311
+ // TODO(figutierrez): Implement.
312
+ return {};
318
313
  }
319
314
  async executeSQLRaw(_sqlCommand) {
320
315
  /*const result = await this.createTrinoJobAndGetResults(sqlCommand);
@@ -43,9 +43,6 @@ class TrinoExecutor {
43
43
  schema,
44
44
  };
45
45
  }
46
- else {
47
- throw new Error('Tried to get Trino connection from Env, no TRINO_SERVER specified.');
48
- }
49
46
  return undefined;
50
47
  }
51
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/db-trino",
3
- "version": "0.0.133",
3
+ "version": "0.0.134-dev240321184648",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",