forked from apache/doris
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Chore](test) make withGroupByAndOrderByInSubq stable (apache#37847)
## Proposed changes make withGroupByAndOrderByInSubq stable
- Loading branch information
1 parent
189801c
commit 9e5bcf6
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
regression-test/suites/nereids_p0/limit/sql/withGroupByAndOrderByInSubq.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
-- database: presto; groups: limit; tables: nation | ||
SELECT foo.c, foo.regionkey FROM | ||
(SELECT regionkey, COUNT(*) AS c FROM tpch_tiny_nation | ||
GROUP BY regionkey ORDER BY regionkey LIMIT 2) foo | ||
GROUP BY regionkey ORDER BY regionkey LIMIT 2) foo order by 2,1 |
2 changes: 1 addition & 1 deletion
2
regression-test/suites/query_p0/limit/sql/withGroupByAndOrderByInSubq.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
-- database: presto; groups: limit; tables: nation | ||
SELECT foo.c, foo.regionkey FROM | ||
(SELECT regionkey, COUNT(*) AS c FROM tpch_tiny_nation | ||
GROUP BY regionkey ORDER BY regionkey LIMIT 2) foo | ||
GROUP BY regionkey ORDER BY regionkey LIMIT 2) foo order by 2,1 |