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.
This commit is contained in:
Kyle Brandt
2025-10-21 10:43:04 -04:00
committed by GitHub
parent 5d8492d728
commit e930b3e6c4
4 changed files with 100 additions and 7 deletions
@@ -13,7 +13,7 @@
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": false
"nullable": true
}
}
]