Skip to content

Commit eeaf809

Browse files
author
James Cor
committed
fix queries
1 parent c6ef375 commit eeaf809

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

enginetest/queries/queries.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1569,13 +1569,13 @@ SELECT * FROM cte WHERE d = 2;`,
15691569
{
15701570
Query: `SELECT * FROM (values row(1+1,2+2), row(floor(1.5),concat("a","b"))) a order by 1`,
15711571
Expected: []sql.Row{
1572-
{1.0, "ab"},
1573-
{2.0, "4"},
1572+
{1, "ab"},
1573+
{2, "4"},
15741574
},
15751575
ExpectedColumns: sql.Schema{
15761576
{
15771577
Name: "column_0",
1578-
Type: types.Float64,
1578+
Type: types.Int64,
15791579
},
15801580
{
15811581
Name: "column_1",
@@ -1586,13 +1586,13 @@ SELECT * FROM cte WHERE d = 2;`,
15861586
{
15871587
Query: `SELECT * FROM (values row(1+1,2+2), row(floor(1.5),concat("a","b"))) a (c,d) order by 1`,
15881588
Expected: []sql.Row{
1589-
{1.0, "ab"},
1590-
{2.0, "4"},
1589+
{1, "ab"},
1590+
{2, "4"},
15911591
},
15921592
ExpectedColumns: sql.Schema{
15931593
{
15941594
Name: "c",
1595-
Type: types.Float64,
1595+
Type: types.Int64,
15961596
},
15971597
{
15981598
Name: "d",

0 commit comments

Comments
 (0)