Closed ptomasroos closed 2 years ago
Please update to v2.0.3 (Available on Grafana cloud) and let me know if it persist
We are retiring the DoiT International BigQuery DataSource plugin for Grafana. We recommend that you migrate to the official Google BigQuery data source maintained by Grafana. In August 2022, we will cease all development and archive the GitHub project.
We are sorry for any inconvenience.
When the macro $__timeGroup is inserted into a raw sql query, its not expanded when its placed inside a subquery. I would expect the timeGroup to be resolved / replaced anywhere in the query not just the outer query.
Bug Report
Expected Behavior
I expect the $_timeGroup to expand into the regular expression of TIMESTAMP_SECONDS(DIV(UNIX_SECONDS(
timestamp
), x) * x) AS time,Actual Behavior
Its not expanded and query fails.
Steps to Reproduce the Problem
Specifications