SQL Expressions: Change metric conversion to full long (#102728)

When querying metric data (non-table data) with SQL Expressions, we need to convert the data to table format. This is alternative format which does not have the same issues with sparse data.

There is now a __metric_name__ column and one __value__ column. Also a __display_name__ column if there is DisplayNameFromDS metadata.

---------

Co-authored-by: Adam Simpson <adam@adamsimpson.net>
This commit is contained in:
Kyle Brandt
2025-03-24 22:04:43 +02:00
committed by GitHub
co-authored by Adam Simpson
parent 5dd0aa2c73
commit f4849eabc7
16 changed files with 1613 additions and 372 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ require (
github.com/andybalholm/brotli v1.1.1 // @grafana/partner-datasources
github.com/apache/arrow-go/v18 v18.0.1-0.20241212180703-82be143d7c30 // @grafana/plugins-platform-backend
github.com/armon/go-radix v1.0.0 // @grafana/grafana-app-platform-squad
github.com/aws/aws-sdk-go v1.55.5 // @grafana/aws-datasources
github.com/aws/aws-sdk-go v1.55.6 // @grafana/aws-datasources
github.com/beevik/etree v1.4.1 // @grafana/grafana-backend-group
github.com/benbjohnson/clock v1.3.5 // @grafana/alerting-backend
github.com/blang/semver/v4 v4.0.0 // indirect; @grafana/grafana-developer-enablement-squad