forked from apache/calcite
-
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.
[CALCITE-6128] RelBuilder.limit should apply offset and fetch to prev…
…ious Sort operator, if possible The RelBuilder.limit(offset, fetch) method should apply offset and fetch to the previous Sort operator, possible. If I call RelBuilder.sort to create a Sort with an offset but no fetch, then I call RelBuilder.limit(0, fetch) to set a fetch, it currently creates two LogicalSort nodes but should just set the fetch of the LogicalSort that already exists. Close apache#3538
- Loading branch information
1 parent
2408c67
commit 5385de9
Showing
2 changed files
with
61 additions
and
6 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