-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: table provider use ReadFromRegion
- Loading branch information
Showing
3 changed files
with
88 additions
and
86 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,61 @@ | ||
-- SQLNESS REPLACE (peers.*) REDACTED | ||
explain select * from numbers; | ||
|
||
+---------------+-------------------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+-------------------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | StreamScanAdapter { stream: "<SendableRecordBatchStream>" } | | ||
| | | | ||
+---------------+-------------------------------------------------------------+ | ||
+---------------+-----------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+-----------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | SinglePartitionScanner: <SendableRecordBatchStream> | | ||
| | | | ||
+---------------+-----------------------------------------------------+ | ||
|
||
-- SQLNESS REPLACE (peers.*) REDACTED | ||
explain select * from numbers order by number desc; | ||
|
||
+---------------+---------------------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+---------------------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | SortExec: expr=[number@0 DESC] | | ||
| | StreamScanAdapter { stream: "<SendableRecordBatchStream>" } | | ||
| | | | ||
+---------------+---------------------------------------------------------------+ | ||
+---------------+-------------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+-------------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | SortExec: expr=[number@0 DESC] | | ||
| | SinglePartitionScanner: <SendableRecordBatchStream> | | ||
| | | | ||
+---------------+-------------------------------------------------------+ | ||
|
||
-- SQLNESS REPLACE (peers.*) REDACTED | ||
explain select * from numbers order by number asc; | ||
|
||
+---------------+---------------------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+---------------------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | SortExec: expr=[number@0 ASC NULLS LAST] | | ||
| | StreamScanAdapter { stream: "<SendableRecordBatchStream>" } | | ||
| | | | ||
+---------------+---------------------------------------------------------------+ | ||
+---------------+-------------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+-------------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | SortExec: expr=[number@0 ASC NULLS LAST] | | ||
| | SinglePartitionScanner: <SendableRecordBatchStream> | | ||
| | | | ||
+---------------+-------------------------------------------------------+ | ||
|
||
-- SQLNESS REPLACE (peers.*) REDACTED | ||
explain select * from numbers order by number desc limit 10; | ||
|
||
+---------------+-----------------------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+-----------------------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | GlobalLimitExec: skip=0, fetch=10 | | ||
| | SortExec: TopK(fetch=10), expr=[number@0 DESC] | | ||
| | StreamScanAdapter { stream: "<SendableRecordBatchStream>" } | | ||
| | | | ||
+---------------+-----------------------------------------------------------------+ | ||
+---------------+---------------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+---------------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | GlobalLimitExec: skip=0, fetch=10 | | ||
| | SortExec: TopK(fetch=10), expr=[number@0 DESC] | | ||
| | SinglePartitionScanner: <SendableRecordBatchStream> | | ||
| | | | ||
+---------------+---------------------------------------------------------+ | ||
|
||
-- SQLNESS REPLACE (peers.*) REDACTED | ||
explain select * from numbers order by number asc limit 10; | ||
|
||
+---------------+-----------------------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+-----------------------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | GlobalLimitExec: skip=0, fetch=10 | | ||
| | SortExec: TopK(fetch=10), expr=[number@0 ASC NULLS LAST] | | ||
| | StreamScanAdapter { stream: "<SendableRecordBatchStream>" } | | ||
| | | | ||
+---------------+-----------------------------------------------------------------+ | ||
+---------------+------------------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+------------------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | GlobalLimitExec: skip=0, fetch=10 | | ||
| | SortExec: TopK(fetch=10), expr=[number@0 ASC NULLS LAST] | | ||
| | SinglePartitionScanner: <SendableRecordBatchStream> | | ||
| | | | ||
+---------------+------------------------------------------------------------+ | ||
|
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 |
---|---|---|
@@ -1,56 +1,56 @@ | ||
explain select * from numbers; | ||
|
||
+---------------+-------------------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+-------------------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | StreamScanAdapter { stream: "<SendableRecordBatchStream>" } | | ||
| | | | ||
+---------------+-------------------------------------------------------------+ | ||
+---------------+-----------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+-----------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | SinglePartitionScanner: <SendableRecordBatchStream> | | ||
| | | | ||
+---------------+-----------------------------------------------------+ | ||
|
||
explain select * from numbers order by number desc; | ||
|
||
+---------------+---------------------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+---------------------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | SortExec: expr=[number@0 DESC] | | ||
| | StreamScanAdapter { stream: "<SendableRecordBatchStream>" } | | ||
| | | | ||
+---------------+---------------------------------------------------------------+ | ||
+---------------+-------------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+-------------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | SortExec: expr=[number@0 DESC] | | ||
| | SinglePartitionScanner: <SendableRecordBatchStream> | | ||
| | | | ||
+---------------+-------------------------------------------------------+ | ||
|
||
explain select * from numbers order by number asc; | ||
|
||
+---------------+---------------------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+---------------------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | SortExec: expr=[number@0 ASC NULLS LAST] | | ||
| | StreamScanAdapter { stream: "<SendableRecordBatchStream>" } | | ||
| | | | ||
+---------------+---------------------------------------------------------------+ | ||
+---------------+-------------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+-------------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | SortExec: expr=[number@0 ASC NULLS LAST] | | ||
| | SinglePartitionScanner: <SendableRecordBatchStream> | | ||
| | | | ||
+---------------+-------------------------------------------------------+ | ||
|
||
explain select * from numbers order by number desc limit 10; | ||
|
||
+---------------+-----------------------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+-----------------------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | GlobalLimitExec: skip=0, fetch=10 | | ||
| | SortExec: TopK(fetch=10), expr=[number@0 DESC] | | ||
| | StreamScanAdapter { stream: "<SendableRecordBatchStream>" } | | ||
| | | | ||
+---------------+-----------------------------------------------------------------+ | ||
+---------------+---------------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+---------------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | GlobalLimitExec: skip=0, fetch=10 | | ||
| | SortExec: TopK(fetch=10), expr=[number@0 DESC] | | ||
| | SinglePartitionScanner: <SendableRecordBatchStream> | | ||
| | | | ||
+---------------+---------------------------------------------------------+ | ||
|
||
explain select * from numbers order by number asc limit 10; | ||
|
||
+---------------+-----------------------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+-----------------------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | GlobalLimitExec: skip=0, fetch=10 | | ||
| | SortExec: TopK(fetch=10), expr=[number@0 ASC NULLS LAST] | | ||
| | StreamScanAdapter { stream: "<SendableRecordBatchStream>" } | | ||
| | | | ||
+---------------+-----------------------------------------------------------------+ | ||
+---------------+------------------------------------------------------------+ | ||
| plan_type | plan | | ||
+---------------+------------------------------------------------------------+ | ||
| logical_plan | MergeScan [is_placeholder=false] | | ||
| physical_plan | GlobalLimitExec: skip=0, fetch=10 | | ||
| | SortExec: TopK(fetch=10), expr=[number@0 ASC NULLS LAST] | | ||
| | SinglePartitionScanner: <SendableRecordBatchStream> | | ||
| | | | ||
+---------------+------------------------------------------------------------+ | ||
|