-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nested pipelines generate bad order by (#2022)
* nested pipelines generate bad order by * ordering an reduce is now enforced at translation time * plus, minus, whatever .... * mark default orderings to make lenses work * add tests for default orderings * delete pre 4.0 TOP N BY because it became costly * keep default order by sane * add canOrderB * slightly better order by copmputation * use first, not last, field for default sort * ignore analytic fields in order by --------- Co-authored-by: Michael Toy <66150587+mtoy-googly-moogly@users.noreply.github.com>
- Loading branch information
1 parent
7ab1d30
commit 3740e17
Showing
12 changed files
with
275 additions
and
224 deletions.
There are no files selected for viewing
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
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
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
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
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -448,7 +448,7 @@ bySpec | |
; | ||
|
||
topStatement | ||
: TOP INTEGER_LITERAL bySpec? | ||
: TOP INTEGER_LITERAL | ||
; | ||
|
||
indexElement | ||
|
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
Oops, something went wrong.