We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30a2528 commit 01815a1Copy full SHA for 01815a1
packages/cubejs-bigquery-driver/driver/BigQueryDriver.js
@@ -140,9 +140,9 @@ class BigQueryDriver extends BaseDriver {
140
141
async loadPreAggregationIntoTable(preAggregationTableName, loadSql, params) {
142
const [dataSet, tableName] = preAggregationTableName.split('.');
143
- const [job] = await this.bigquery.startQuery({
+ const [job] = await this.bigquery.createQueryJob({
144
query: loadSql,
145
- queryParameters: (params || []).map(BigQuery.valueToQueryParameter_),
+ params,
146
parameterMode: 'positional',
147
destination: this.bigquery.dataset(dataSet).table(tableName),
148
createDisposition: "CREATE_IF_NEEDED",
0 commit comments