-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sort + limit topk optimization (initial) (#893)
* Rust:Add method to retreive fetch rows during sort * Update sort plugin to use nsmallest/largest if applicalbe * move topk optimization checks to it's own function * Fix check for is_topk_optimizable * Add topk tests * Un-xfail q4 * Add sort topk-nelem-limit as config option * Add check for topk config option to is_topk_optimizable * Add more topk sort tests * use common variable for rel.sort plan * Apply suggestions from code review Co-authored-by: Charles Blackmon-Luca <[email protected]> Co-authored-by: Charles Blackmon-Luca <[email protected]>
- Loading branch information
1 parent
10de5ef
commit 9bb37a7
Showing
7 changed files
with
172 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
import pytest | ||
|
||
XFAIL_QUERIES = ( | ||
4, | ||
5, | ||
6, | ||
8, | ||
|