Skip to content

Commit 2d758a4

Browse files
committed
add test
1 parent 986b927 commit 2d758a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

enginetest/queries/queries.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10423,6 +10423,10 @@ var ErrorQueries = []QueryErrorTest{
1042310423
Query: "select * from two_pk group by pk1 + 1, mod(pk2, 2)",
1042410424
ExpectedErr: analyzererrors.ErrValidationGroupBy,
1042510425
},
10426+
{
10427+
Query: `select s from mytable group by s order by i`,
10428+
ExpectedErr: analyzererrors.ErrValidationGroupByOrderBy,
10429+
},
1042610430
}
1042710431

1042810432
var BrokenErrorQueries = []QueryErrorTest{

0 commit comments

Comments
 (0)