From 66dbb738e5c50e1079211c86b3b64fb9924ac0c3 Mon Sep 17 00:00:00 2001 From: Ruihang Xia Date: Thu, 14 Sep 2023 02:28:40 -0500 Subject: [PATCH] fix: update sqlness result for order_by (#2389) Signed-off-by: Ruihang Xia --- tests/cases/standalone/optimizer/order_by.result | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/cases/standalone/optimizer/order_by.result b/tests/cases/standalone/optimizer/order_by.result index f84769612473..c1d5b7171a73 100644 --- a/tests/cases/standalone/optimizer/order_by.result +++ b/tests/cases/standalone/optimizer/order_by.result @@ -3,7 +3,7 @@ explain select * from numbers; +---------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | plan_type | plan | +---------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| logical_plan | TableScan: numbers projection=[number] | +| logical_plan | MergeScan [is_placeholder=false] | | physical_plan | StreamScanAdapter { stream: "", schema: [Field { name: "number", data_type: UInt32, nullable: false, dict_id: 0, dict_is_ordered: false, metadata: {} }] } | | | | +---------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -14,7 +14,7 @@ explain select * from numbers order by number desc; | plan_type | plan | +---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | logical_plan | Sort: numbers.number DESC NULLS FIRST | -| | TableScan: numbers projection=[number] | +| | MergeScan [is_placeholder=false] | | physical_plan | SortExec: expr=[number@0 DESC] | | | StreamScanAdapter { stream: "", schema: [Field { name: "number", data_type: UInt32, nullable: false, dict_id: 0, dict_is_ordered: false, metadata: {} }] } | | | | @@ -26,7 +26,7 @@ explain select * from numbers order by number asc; | plan_type | plan | +---------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | logical_plan | Sort: numbers.number ASC NULLS LAST | -| | TableScan: numbers projection=[number] | +| | MergeScan [is_placeholder=false] | | physical_plan | SortExec: expr=[number@0 ASC NULLS LAST] | | | StreamScanAdapter { stream: "", schema: [Field { name: "number", data_type: UInt32, nullable: false, dict_id: 0, dict_is_ordered: false, metadata: {} }] } | | | | @@ -39,7 +39,7 @@ explain select * from numbers order by number desc limit 10; +---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | logical_plan | Limit: skip=0, fetch=10 | | | Sort: numbers.number DESC NULLS FIRST, fetch=10 | -| | TableScan: numbers projection=[number] | +| | MergeScan [is_placeholder=false] | | physical_plan | GlobalLimitExec: skip=0, fetch=10 | | | SortExec: fetch=10, expr=[number@0 DESC] | | | StreamScanAdapter { stream: "", schema: [Field { name: "number", data_type: UInt32, nullable: false, dict_id: 0, dict_is_ordered: false, metadata: {} }] } | @@ -53,7 +53,7 @@ explain select * from numbers order by number asc limit 10; +---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | logical_plan | Limit: skip=0, fetch=10 | | | Sort: numbers.number ASC NULLS LAST, fetch=10 | -| | TableScan: numbers projection=[number] | +| | MergeScan [is_placeholder=false] | | physical_plan | GlobalLimitExec: skip=0, fetch=10 | | | SortExec: fetch=10, expr=[number@0 ASC NULLS LAST] | | | StreamScanAdapter { stream: "", schema: [Field { name: "number", data_type: UInt32, nullable: false, dict_id: 0, dict_is_ordered: false, metadata: {} }] } |