-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(optimizer, storage): pushdown range-filter to storage (#786)
* extract `ScanOptions` Signed-off-by: Runji Wang <wangrunji0408@163.com> * storage: remove general filter and only keep range filter Signed-off-by: Runji Wang <wangrunji0408@163.com> * planner_v2: add filter to scan node Signed-off-by: Runji Wang <wangrunji0408@163.com> * only keep single key in KeyRange Signed-off-by: Runji Wang <wangrunji0408@163.com> * add range analysis and filter scan rule Signed-off-by: Runji Wang <wangrunji0408@163.com> * fix primary key constraint Signed-off-by: Runji Wang <wangrunji0408@163.com> * make range-filter scan work Signed-off-by: Runji Wang <wangrunji0408@163.com> * fix clippy Signed-off-by: Runji Wang <wangrunji0408@163.com> * fix panic on range-filter scan Signed-off-by: Runji Wang <wangrunji0408@163.com> * fix column prune rule for range-filter Signed-off-by: Runji Wang <wangrunji0408@163.com> * disable range filter scan for memory storage Signed-off-by: Runji Wang <wangrunji0408@163.com> * fix sqllogictest Signed-off-by: Runji Wang <wangrunji0408@163.com> * update docs Signed-off-by: Runji Wang <wangrunji0408@163.com> * fix format Signed-off-by: Runji Wang <wangrunji0408@163.com> * change default range filter to null Signed-off-by: Runji Wang <wangrunji0408@163.com> * update planner test Signed-off-by: Runji Wang <wangrunji0408@163.com> * add planner test for tpch q9 Signed-off-by: Runji Wang <wangrunji0408@163.com> --------- Signed-off-by: Runji Wang <wangrunji0408@163.com>
- Loading branch information
1 parent
604b4a1
commit a0882cd
Showing
37 changed files
with
766 additions
and
637 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 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 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
Oops, something went wrong.