Skip to content

Commit e298720

Browse files
author
James Cor
committed
another test
1 parent 4bc7fb6 commit e298720

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

enginetest/queries/script_queries.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7892,6 +7892,9 @@ where
78927892
Dialect: "mysql",
78937893
SetUpScript: []string{
78947894
"create table t (i int);",
7895+
"create table tt (i int, j int);",
7896+
"insert into tt values (0, 1), (0, 2), (0, 3);",
7897+
"insert into tt values (1, 123), (1, 456), (1, 789);",
78957898
},
78967899
Assertions: []ScriptTestAssertion{
78977900
{
@@ -7936,6 +7939,13 @@ where
79367939
{0.816496580927726, 0.816496580927726, 0.816496580927726},
79377940
},
79387941
},
7942+
{
7943+
Query: "select i, std(j) from tt group by i;",
7944+
Expected: []sql.Row{
7945+
{0, 0.816496580927726},
7946+
{1, 271.89336144893275},
7947+
},
7948+
},
79397949
},
79407950
},
79417951
}

0 commit comments

Comments
 (0)