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:
@@ -195,11 +195,11 @@ func TestQueryFramesDateTimeSelect(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestErrorsFromGoMySQLServerAreFlagged(t *testing.T) {
|
||||
const GmsNotImplemented = "STDDEV" // not implemented in go-mysql-server as of 2025-03-18
|
||||
const GmsNotImplemented = "TRUNCATE" // not implemented in go-mysql-server as of 2025-04-11
|
||||
|
||||
db := DB{}
|
||||
|
||||
query := `SELECT ` + GmsNotImplemented + `(1);`
|
||||
query := `SELECT ` + GmsNotImplemented + `(123.456, 2);`
|
||||
|
||||
_, err := db.QueryFrames(context.Background(), "sqlExpressionRefId", query, nil)
|
||||
require.Error(t, err)
|
||||
|
||||
Reference in New Issue
Block a user