@malloydata/db-trino 0.0.138-dev240329233445 → 0.0.138-dev240331204754

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.
@@ -80,7 +80,7 @@ class TrinoConnection {
80
80
  // TODO: check user is set.
81
81
  this.trino = trino_client_1.Trino.create({
82
82
  server: config.server,
83
- catalog: config.catalog,
83
+ catalog: 'malloy_demo', //config.catalog,
84
84
  schema: config.schema,
85
85
  auth: new trino_client_1.BasicAuth(config.user, config.password),
86
86
  });
@@ -203,7 +203,7 @@ class TrinoConnection {
203
203
  }
204
204
  // TODO(figutierrez): Remove.
205
205
  // eslint-disable-next-line no-console
206
- console.log(`ROWS: ${JSON.stringify(malloyRows)} ${malloyRows.length}`);
206
+ // console.log(`ROWS: ${JSON.stringify(malloyRows)} ${malloyRows.length}`);
207
207
  // TODO: handle totalrows.
208
208
  return { rows: malloyRows, totalRows: malloyRows.length };
209
209
  }
@@ -227,7 +227,7 @@ class TrinoConnection {
227
227
  const errors = {};
228
228
  for (const tableKey in missing) {
229
229
  let inCache = this.schemaCache.get(tableKey);
230
- const tablePath = missing[tableKey].replace(/malloytest/g, 'malloy_test.faa');
230
+ const tablePath = missing[tableKey];
231
231
  if (!inCache ||
232
232
  (refreshTimestamp && refreshTimestamp > inCache.timestamp)) {
233
233
  const timestamp = refreshTimestamp !== null && refreshTimestamp !== void 0 ? refreshTimestamp : Date.now();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/db-trino",
3
- "version": "0.0.138-dev240329233445",
3
+ "version": "0.0.138-dev240331204754",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",