mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-14 17:23:09 +00:00
* build(deps): bump datafusion 20240528 Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * another update Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * update expected sqlness result Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix first/last value Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * reformat comment Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix remaining errors Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * revert toml format Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix pyo3 feature Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * remove dead code Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * Apply suggestions from code review Co-authored-by: Jeremyhi <jiachun_feng@proton.me> * format file Signed-off-by: Ruihang Xia <waynestxia@gmail.com> --------- Signed-off-by: Ruihang Xia <waynestxia@gmail.com> Co-authored-by: Jeremyhi <jiachun_feng@proton.me>
62 lines
4.1 KiB
Plaintext
62 lines
4.1 KiB
Plaintext
-- SQLNESS REPLACE (peers.*) REDACTED
|
|
explain select * from numbers;
|
|
|
|
+---------------+-----------------------------------------------------+
|
|
| 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], preserve_partitioning=[false] |
|
|
| | 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], preserve_partitioning=[false] |
|
|
| | 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], preserve_partitioning=[false] |
|
|
| | 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], preserve_partitioning=[false] |
|
|
| | SinglePartitionScanner: <SendableRecordBatchStream> |
|
|
| | |
|
|
+---------------+-------------------------------------------------------------------------------------------+
|
|
|