@malloydata/db-bigquery 0.0.38-dev230609221655 → 0.0.38-dev230612191503
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.spec.js +2 -2
- package/package.json +2 -2
package/dist/bigquery.spec.js
CHANGED
|
@@ -85,7 +85,7 @@ describe('db:BigQuery', () => {
|
|
|
85
85
|
it.todo('gets table structdefs');
|
|
86
86
|
it('runs a Malloy query', async () => {
|
|
87
87
|
const sql = await runtime
|
|
88
|
-
.loadModel("
|
|
88
|
+
.loadModel("source: carriers is table('malloy-data.faa.carriers') { measure: carrier_count is count() }")
|
|
89
89
|
.loadQuery('query: carriers -> { aggregate: carrier_count }')
|
|
90
90
|
.getSQL();
|
|
91
91
|
const res = await bq.runSQL(sql);
|
|
@@ -93,7 +93,7 @@ describe('db:BigQuery', () => {
|
|
|
93
93
|
});
|
|
94
94
|
it('streams a Malloy query for download', async () => {
|
|
95
95
|
const sql = await runtime
|
|
96
|
-
.loadModel("
|
|
96
|
+
.loadModel("source: carriers is table('malloy-data.faa.carriers') { measure: carrier_count is count() }")
|
|
97
97
|
.loadQuery('query: carriers -> { group_by: name }')
|
|
98
98
|
.getSQL();
|
|
99
99
|
const res = await bq.downloadMalloyQuery(sql);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/db-bigquery",
|
|
3
|
-
"version": "0.0.38-
|
|
3
|
+
"version": "0.0.38-dev230612191503",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@google-cloud/bigquery": "^5.5.0",
|
|
26
26
|
"@google-cloud/common": "^3.6.0",
|
|
27
27
|
"@google-cloud/paginator": "^4.0.1",
|
|
28
|
-
"@malloydata/malloy": "^0.0.38-
|
|
28
|
+
"@malloydata/malloy": "^0.0.38-dev230612191503",
|
|
29
29
|
"gaxios": "^4.2.0"
|
|
30
30
|
}
|
|
31
31
|
}
|