Skip to content
This repository was archived by the owner on Dec 11, 2022. It is now read-only.

Commit 2fec775

Browse files
committed
fix
1 parent b5f2daf commit 2fec775

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/datasource.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ export class BigQueryDatasource {
270270
});
271271
this.queryModel.target.rawSql = query.rawSql;
272272
modOptions = BigQueryDatasource._setupTimeShiftQuery(query, options);
273-
const q = this.setUpQ(modOptions, options, query); // TODO hanle raw sql WHERE clause!
273+
const q = this.setUpQ(modOptions, options, query);
274274
console.log(q);
275275
return this.doQuery(q, options.panelId + query.refId, query.queryPriority).then((response) => {
276276
return ResponseParser.parseDataQuery(response, query.format);
@@ -426,7 +426,7 @@ export class BigQueryDatasource {
426426
refId: options.annotation.name,
427427
};
428428
this.queryModel.target.rawSql = query.rawSql;
429-
[query.rawSql,] = this.queryModel.expend_macros(options);
429+
[query.rawSql,,] = this.queryModel.expend_macros(options);
430430
return this.backendSrv
431431
.datasourceRequest({
432432
data: {

0 commit comments

Comments
 (0)