@malloydata/db-bigquery 0.0.101 → 0.0.102-dev231114175649
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 +3 -3
package/dist/bigquery.spec.js
CHANGED
|
@@ -201,7 +201,7 @@ describe('db:BigQuery', () => {
|
|
|
201
201
|
await bq.fetchSchemaForTables({ 'test2': 'table2' }, {});
|
|
202
202
|
expect(getTableFieldSchema).toBeCalledTimes(1);
|
|
203
203
|
await new Promise(resolve => setTimeout(resolve));
|
|
204
|
-
await bq.fetchSchemaForTables({ 'test2': 'table2' }, { refreshTimestamp: Date.now() });
|
|
204
|
+
await bq.fetchSchemaForTables({ 'test2': 'table2' }, { refreshTimestamp: Date.now() + 10 });
|
|
205
205
|
expect(getTableFieldSchema).toBeCalledTimes(2);
|
|
206
206
|
});
|
|
207
207
|
it('caches sql schema', async () => {
|
|
@@ -216,7 +216,7 @@ describe('db:BigQuery', () => {
|
|
|
216
216
|
expect(getSQLBlockSchema).toBeCalledTimes(1);
|
|
217
217
|
await new Promise(resolve => setTimeout(resolve));
|
|
218
218
|
await bq.fetchSchemaForSQLBlock(SQL_BLOCK_2, {
|
|
219
|
-
refreshTimestamp: Date.now(),
|
|
219
|
+
refreshTimestamp: Date.now() + 10,
|
|
220
220
|
});
|
|
221
221
|
expect(getSQLBlockSchema).toBeCalledTimes(2);
|
|
222
222
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/db-bigquery",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.102-dev231114175649",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,8 +25,8 @@
|
|
|
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.
|
|
29
|
-
"@malloydata/malloy-interfaces": "^0.0.
|
|
28
|
+
"@malloydata/malloy": "^0.0.102-dev231114175649",
|
|
29
|
+
"@malloydata/malloy-interfaces": "^0.0.102-dev231114175649",
|
|
30
30
|
"gaxios": "^4.2.0"
|
|
31
31
|
}
|
|
32
32
|
}
|