@malloydata/db-bigquery 0.0.24-dev230210181330 → 0.0.24-dev230216003028

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.
@@ -383,17 +383,11 @@ class BigQueryConnection {
383
383
  structDef.fields.push(innerStructDef);
384
384
  }
385
385
  else {
386
- const malloyType = this.bqToMalloyTypes[type];
387
- if (malloyType) {
388
- structDef.fields.push({ name, ...malloyType });
389
- }
390
- else {
391
- structDef.fields.push({
392
- name,
393
- "type": "string",
394
- "e": [`'BigQuery type "${type}" not supported by Malloy'`]
395
- });
396
- }
386
+ const malloyType = this.bqToMalloyTypes[type] || {
387
+ "type": "unsupported",
388
+ "rawType": type.toLowerCase()
389
+ };
390
+ structDef.fields.push({ name, ...malloyType });
397
391
  }
398
392
  }
399
393
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/db-bigquery",
3
- "version": "0.0.24-dev230210181330",
3
+ "version": "0.0.24-dev230216003028",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@google-cloud/bigquery": "^5.5.0",
23
23
  "@google-cloud/common": "^3.6.0",
24
- "@malloydata/malloy": "^0.0.24-dev230210181330",
24
+ "@malloydata/malloy": "^0.0.24-dev230216003028",
25
25
  "gaxios": "^4.2.0"
26
26
  }
27
27
  }