Files
grafana/pkg/registry/apis/query/testdata/prometheus_with_sql_expression.json
T
Kyle Brandt e930b3e6c4 SQL Expressions: Replace NaN/Inf values with Null (#112641)
This is because MySQL doesn't support storing of NaN valuels, and therefore go-mysql-server isn't going to either.

Float fields/columns are always mapped to be nullable now, otherwise we would have to replace NaN/Inf with 0.
2025-10-21 10:43:04 -04:00

32 lines
575 B
JSON

{
"results": {
"B": {
"status": 200,
"frames": [
{
"schema": {
"name": "B",
"refId": "B",
"fields": [
{
"name": "Value + 10",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
}
}
]
},
"data": {
"values": [
[
17
]
]
}
}
]
}
}
}