Skip to content

Commit d73fde3

Browse files
authored
Merge pull request #10707 from SkyFan2002/pivot
fix(test): add order by for pivot test
2 parents 5687d61 + caa03e3 commit d73fde3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/sqllogictests/suites/pivot/01_test_pivot.test renamed to tests/sqllogictests/suites/query/pivot.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ SELECT EMPID,
3838
SUM_IF(AMOUNT,MONTH = 'MAR') AS MAR,
3939
SUM_IF(AMOUNT,MONTH = 'APR') AS APR
4040
FROM monthly_sales
41-
GROUP BY EMPID;
41+
GROUP BY EMPID
42+
ORDER BY EMPID;
4243
----
4344
1 10400 8000 11000 18000
4445
2 39500 90700 12000 5300

tests/sqllogictests/suites/pivot/00_test_unpivot.test renamed to tests/sqllogictests/suites/query/unpivot.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,3 @@ SELECT * FROM monthly_sales_1
4646
statement ok
4747
drop table monthly_sales_1;
4848

49-

0 commit comments

Comments
 (0)