@malloydata/db-bigquery 0.0.24-dev230210181330 → 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.
- package/dist/bigquery_connection.js +5 -11
- package/package.json +2 -2
|
@@ -383,17 +383,11 @@ class BigQueryConnection {
|
|
|
383
383
|
structDef.fields.push(innerStructDef);
|
|
384
384
|
}
|
|
385
385
|
else {
|
|
386
|
-
const malloyType = this.bqToMalloyTypes[type]
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
}
|
|
390
|
-
|
|
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-
|
|
3
|
+
"version": "0.0.24-dev230215185525",
|
|
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-
|
|
24
|
+
"@malloydata/malloy": "^0.0.24-dev230215185525",
|
|
25
25
|
"gaxios": "^4.2.0"
|
|
26
26
|
}
|
|
27
27
|
}
|