grafana / sqlds

A package that assists writing SQL-driven datasources
Apache License 2.0
20 stars 12 forks source link

Expose query interpolation util #59

Closed dprokop closed 2 years ago

dprokop commented 2 years ago

In the BigQuery data source, we have added a query validation endpoint. In order to utilize BigQuery's validation functionality, we need to send an interpolated query to avoid errors caused by unresolved macros.

This PR exposes the Interpolate function from sqlds.