SQL Expressions: Add STDDEV(), VARIANCE() and aliases (#103851)

* SQL Expressions: Bump GMS for STDDEV(), VARIANCE()

Bump Go MySQL Server to the latest version, to get support for STDDEV()
and VARIANCE() functions, and their aliases.

See https://github.com/dolthub/go-mysql-server/pull/2928

* Update app-code to comply with latest GMS version

* Run `go mod tidy`

* Update test which had depended on STDDEV being missing

* Run `make update-workspace`
This commit is contained in:
Sam Jewell
2025-04-15 10:48:19 +01:00
committed by GitHub
parent 4ea56b2cfb
commit 5c418196f9
7 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ func convertToDataFrame(ctx *mysql.Context, iter mysql.RowIter, schema mysql.Sch
for i, val := range row {
// Run val through mysql.Type.Convert to normalize underlying value
// of the interface
nV, _, err := schema[i].Type.Convert(val)
nV, _, err := schema[i].Type.Convert(ctx, val)
if err != nil {
return nil, err
}