@malloydata/db-bigquery 0.0.63-dev230731163034 → 0.0.63-dev230802164255
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RowMetadata } from '@google-cloud/bigquery';
|
|
2
2
|
import bigquery from '@google-cloud/bigquery/build/src/types';
|
|
3
3
|
import { ResourceStream } from '@google-cloud/paginator';
|
|
4
|
-
import { Connection,
|
|
4
|
+
import { Connection, FieldTypeDef, MalloyQueryData, PersistSQLResults, PooledConnection, QueryData, QueryDataRow, QueryRunStats, SQLBlock, StreamingConnection, StructDef } from '@malloydata/malloy';
|
|
5
5
|
export interface BigQueryManagerOptions {
|
|
6
6
|
credentials?: {
|
|
7
7
|
clientId: string;
|
|
@@ -58,7 +58,6 @@ export declare class BigQueryConnection implements Connection, PersistSQLResults
|
|
|
58
58
|
isPool(): this is PooledConnection;
|
|
59
59
|
canPersist(): this is PersistSQLResults;
|
|
60
60
|
canStream(): this is StreamingConnection;
|
|
61
|
-
providesDialect(): this is DialectProviderConnection;
|
|
62
61
|
private _runSQL;
|
|
63
62
|
runSQL(sqlCommand: string, options?: Partial<BigQueryQueryOptions>, rowIndex?: number): Promise<MalloyQueryData>;
|
|
64
63
|
runSQLBlockAndFetchResultSchema(sqlBlock: SQLBlock, options?: {
|
|
@@ -152,9 +152,6 @@ class BigQueryConnection {
|
|
|
152
152
|
canStream() {
|
|
153
153
|
return true;
|
|
154
154
|
}
|
|
155
|
-
providesDialect() {
|
|
156
|
-
return false;
|
|
157
|
-
}
|
|
158
155
|
async _runSQL(sqlCommand, options = {}, rowIndex = 0) {
|
|
159
156
|
var _a, _b, _c, _d;
|
|
160
157
|
const defaultOptions = this.readQueryOptions();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/db-bigquery",
|
|
3
|
-
"version": "0.0.63-
|
|
3
|
+
"version": "0.0.63-dev230802164255",
|
|
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.63-
|
|
28
|
+
"@malloydata/malloy": "^0.0.63-dev230802164255",
|
|
29
29
|
"gaxios": "^4.2.0"
|
|
30
30
|
}
|
|
31
31
|
}
|