Skip to content

Commit 16d9260

Browse files
committed
tests convert decimals to strings
1 parent 1d7ae50 commit 16d9260

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

enginetest/queries/queries.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10399,7 +10399,8 @@ from typestable`,
1039910399
{
1040010400
Query: "select mod(pk2, 2) from two_pk group by pk1 + 1, mod(pk2, 2)",
1040110401
Expected: []sql.Row{
10402-
{0}, {1}, {0}, {1},
10402+
// mod is a Decimal type, which we convert to a string in our enginetests
10403+
{"0"}, {"1"}, {"0"}, {"1"},
1040310404
},
1040410405
},
1040510406
}

0 commit comments

Comments
 (0)