Expressions: Sql expressions with Duckdb (#81666)

duckdb temp storage of dataframes using parquet and querying from sql expressions
---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
Scott Lepper
2024-02-27 16:16:00 -05:00
committed by GitHub
co-authored by Ryan McKinley
parent d8b7992c0c
commit 70009201d4
27 changed files with 555 additions and 20 deletions
+7
View File
@@ -1139,6 +1139,13 @@ var (
Stage: FeatureStageExperimental,
Owner: grafanaObservabilityMetricsSquad,
},
{
Name: "sqlExpressions",
Description: "Enables using SQL and DuckDB functions as Expressions.",
Stage: FeatureStageExperimental,
FrontendOnly: false,
Owner: grafanaAppPlatformSquad,
},
{
Name: "nodeGraphDotLayout",
Description: "Changed the layout algorithm for the node graph",
+1
View File
@@ -152,6 +152,7 @@ jitterAlertRulesWithinGroups,preview,@grafana/alerting-squad,false,true,false
onPremToCloudMigrations,experimental,@grafana/grafana-operator-experience-squad,false,false,false
alertingSaveStatePeriodic,privatePreview,@grafana/alerting-squad,false,false,false
promQLScope,experimental,@grafana/observability-metrics,false,false,false
sqlExpressions,experimental,@grafana/grafana-app-platform-squad,false,false,false
nodeGraphDotLayout,experimental,@grafana/observability-traces-and-profiling,false,false,true
groupToNestedTableTransformation,preview,@grafana/dataviz-squad,false,false,true
newPDFRendering,experimental,@grafana/sharing-squad,false,false,false
1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
152 onPremToCloudMigrations experimental @grafana/grafana-operator-experience-squad false false false
153 alertingSaveStatePeriodic privatePreview @grafana/alerting-squad false false false
154 promQLScope experimental @grafana/observability-metrics false false false
155 sqlExpressions experimental @grafana/grafana-app-platform-squad false false false
156 nodeGraphDotLayout experimental @grafana/observability-traces-and-profiling false false true
157 groupToNestedTableTransformation preview @grafana/dataviz-squad false false true
158 newPDFRendering experimental @grafana/sharing-squad false false false
+4
View File
@@ -619,6 +619,10 @@ const (
// In-development feature that will allow injection of labels into prometheus queries.
FlagPromQLScope = "promQLScope"
// FlagSqlExpressions
// Enables using SQL and DuckDB functions as Expressions.
FlagSqlExpressions = "sqlExpressions"
// FlagNodeGraphDotLayout
// Changed the layout algorithm for the node graph
FlagNodeGraphDotLayout = "nodeGraphDotLayout"
+20 -5
View File
@@ -83,7 +83,7 @@
"name": "pluginsInstrumentationStatusSource",
"resourceVersion": "1708108588074",
"creationTimestamp": "2024-02-16T18:36:28Z",
"deletionTimestamp": "2024-02-23T13:23:30Z"
"deletionTimestamp": "2024-02-27T14:43:01Z"
},
"spec": {
"description": "Include a status source label for plugin request metrics and logs",
@@ -511,7 +511,7 @@
"name": "displayAnonymousStats",
"resourceVersion": "1708108588074",
"creationTimestamp": "2024-02-16T18:36:28Z",
"deletionTimestamp": "2024-02-23T13:23:30Z"
"deletionTimestamp": "2024-02-27T14:43:01Z"
},
"spec": {
"description": "Enables anonymous stats to be shown in the UI for Grafana",
@@ -1400,7 +1400,7 @@
"name": "traceToMetrics",
"resourceVersion": "1708108588074",
"creationTimestamp": "2024-02-16T18:36:28Z",
"deletionTimestamp": "2024-02-23T13:23:30Z"
"deletionTimestamp": "2024-02-27T14:43:01Z"
},
"spec": {
"description": "Enable trace to metrics links",
@@ -1529,7 +1529,7 @@
"name": "splitScopes",
"resourceVersion": "1708108588074",
"creationTimestamp": "2024-02-16T18:36:28Z",
"deletionTimestamp": "2024-02-23T13:23:30Z"
"deletionTimestamp": "2024-02-27T14:43:01Z"
},
"spec": {
"description": "Support faster dashboard and folder search by splitting permission scopes into parts",
@@ -1570,7 +1570,7 @@
"name": "externalServiceAuth",
"resourceVersion": "1708108588074",
"creationTimestamp": "2024-02-16T18:36:28Z",
"deletionTimestamp": "2024-02-21T10:10:41Z"
"deletionTimestamp": "2024-02-27T14:43:01Z"
},
"spec": {
"description": "Starts an OAuth2 authentication provider for external services",
@@ -2131,6 +2131,21 @@
"codeowner": "@grafana/dataviz-squad",
"frontend": true
}
},
{
"metadata": {
"name": "sqlExpressions",
"resourceVersion": "1709044973784",
"creationTimestamp": "2024-02-19T22:46:11Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-02-27 14:42:53.784398 +0000 UTC"
}
},
"spec": {
"description": "Enables using SQL and DuckDB functions as Expressions.",
"stage": "experimental",
"codeowner": "@grafana/grafana-app-platform-squad"
}
}
]
}