-
Notifications
You must be signed in to change notification settings - Fork 703
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CARBONDATA-3922] Support order by limit push down for secondary inde…
…x queries Why is this PR needed? a) Limit pushdown for SI is already supported. But when order by column is not SI column, Still we were pushing down limit. Need to fix it. b) when Limit is present and order by column and all the filter column is SI column. we can pushdown order by + limit. This can reduce SI output results and reduce the scan time in main table. c) SI transformation rule is applied even though any relation don't contain SI What changes were proposed in this PR? a) Block limit push down if order by column is not an SI column b) when Limit is present and order by column and all the filter column is SI column, pushdown order by + limit c) SI transformation rule need to apply only when any relation contains SI This closes #3861
- Loading branch information
1 parent
b57d17b
commit a59aec7
Showing
3 changed files
with
242 additions
and
35 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
Oops, something went wrong.