@malloydata/db-duckdb 0.0.23 → 0.0.24-dev230215185525

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.
@@ -206,17 +206,14 @@ class DuckDBCommon {
206
206
  structDef.fields.push(innerStructDef);
207
207
  }
208
208
  else {
209
- if (malloyType !== undefined) {
210
- structDef.fields.push({
211
- "type": malloyType,
212
- name
213
- });
209
+ if (malloyType) {
210
+ structDef.fields.push({ "type": malloyType, name });
214
211
  }
215
212
  else {
216
213
  structDef.fields.push({
217
- name,
218
- "type": "string",
219
- "e": [`'DuckDB type "${duckDBType}" not supported by Malloy'`]
214
+ "type": "unsupported",
215
+ "rawType": duckDBType.toLowerCase(),
216
+ name
220
217
  });
221
218
  }
222
219
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/db-duckdb",
3
- "version": "0.0.23",
3
+ "version": "0.0.24-dev230215185525",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@duckdb/duckdb-wasm": "^1.20.0",
41
- "@malloydata/malloy": "^0.0.23",
41
+ "@malloydata/malloy": "^0.0.24-dev230215185525",
42
42
  "duckdb": "0.6.1",
43
43
  "web-worker": "^1.2.0"
44
44
  }