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

Commit 5dd6343

Browse files
authored
Merge pull request #61 from doitintl/issue-60
Fixes #60
2 parents c45b1fd + 3a4caf9 commit 5dd6343

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

dist/module.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52134,6 +52134,7 @@ function () {
5213452134
q = _this._updateAlias(q, modOptions, query.refId);
5213552135
}
5213652136

52137+
q += " LIMIT " + options.maxDataPoints;
5213752138
console.log(q);
5213852139
_this.queryModel.target.rawSql = tmpQ;
5213952140
return _this.doQuery(q, options.panelId + query.refId).then(function (response) {

dist/module.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/datasource.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ export class BigQueryDatasource {
208208
if (query.refId.search(Shifted) > -1) {
209209
q = this._updateAlias(q, modOptions, query.refId);
210210
}
211+
q += " LIMIT " + options.maxDataPoints;
211212
console.log(q);
212213
this.queryModel.target.rawSql = tmpQ;
213214
return this.doQuery(q, options.panelId + query.refId).then(response => {

0 commit comments

Comments
 (0)