You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.
I want to create a Table which shows the most expensive BigQuery jobs ran by our users/services. Therefore I am forced to use the manual query anyways. My query looks like this:
SELECT UserId, Query, TotalCost
FROM`projectname.billing.bigquery_audit`WHERE
$__timeFilter(JobCreateTime)
ORDER BY TotalCost DESCLIMIT10
The query fails because of: "invalidQuery: Syntax error: Unexpected keyword LIMIT at [6:10]". That didn't make sense for me and hence I opened the query inspector. There I can see the generated query and that there's a second LIMIT parameter:
query:"SELECT UserId, Query, TotalCost FROM projectname.billing.bigquery_auditWHEREJobCreateTime BETWEEN TIMESTAMP_MILLIS (1567415998923) AND TIMESTAMP_MILLIS (1570007998923) ORDER BY TotalCost DESC LIMIT 10 LIMIT 795"
Expected Behavior
It shouldn't attach any further LIMIT parameter when I have specified an own one.
Actual Behavior
It always appends LIMIT 795, no matter whether I have specified a limit or not. I assume this is only the case when I use "Format as table".
Steps to Reproduce the Problem
Described above.
Specifications
Version: 1.0.2
Platform: Kubernetes
Grafana Version: 6.4.0
The text was updated successfully, but these errors were encountered:
I have recreated the visualization but the issue is still exactly the same. I have attached a screenshot. Adding a time field hasn't helped either btw..
Bug Report
I want to create a Table which shows the most expensive BigQuery jobs ran by our users/services. Therefore I am forced to use the manual query anyways. My query looks like this:
The query fails because of: "invalidQuery: Syntax error: Unexpected keyword LIMIT at [6:10]". That didn't make sense for me and hence I opened the query inspector. There I can see the generated query and that there's a second LIMIT parameter:
query:"SELECT UserId, Query, TotalCost FROM
projectname.billing.bigquery_auditWHERE
JobCreateTimeBETWEEN TIMESTAMP_MILLIS (1567415998923) AND TIMESTAMP_MILLIS (1570007998923) ORDER BY TotalCost DESC LIMIT 10 LIMIT 795"
Expected Behavior
It shouldn't attach any further LIMIT parameter when I have specified an own one.
Actual Behavior
It always appends LIMIT 795, no matter whether I have specified a limit or not. I assume this is only the case when I use "Format as table".
Steps to Reproduce the Problem
Described above.
Specifications
The text was updated successfully, but these errors were encountered: