From c3538b2d4b8dfe4dcf5a2dbc657652cd353eb1b8 Mon Sep 17 00:00:00 2001 From: minghong Date: Sun, 29 Sep 2024 13:47:53 +0800 Subject: [PATCH] update --- .../shape/query1.out | 8 +-- .../shape/query10.out | 42 ++++++------ .../shape/query11.out | 12 ++-- .../shape/query12.out | 6 +- .../shape/query13.out | 12 ++-- .../shape/query14.out | 50 +++++++-------- .../shape/query15.out | 8 +-- .../shape/query16.out | 12 ++-- .../shape/query17.out | 16 ++--- .../shape/query18.out | 22 +++---- .../shape/query19.out | 12 ++-- .../shape/query2.out | 24 +++---- .../shape/query20.out | 6 +- .../shape/query21.out | 8 +-- .../shape/query22.out | 6 +- .../shape/query23.out | 24 +++---- .../shape/query24.out | 18 +++--- .../shape/query25.out | 16 ++--- .../shape/query26.out | 10 +-- .../shape/query27.out | 10 +-- .../shape/query28.out | 12 ++-- .../shape/query29.out | 16 ++--- .../shape/query3.out | 6 +- .../shape/query30.out | 32 +++++----- .../shape/query31.out | 12 ++-- .../shape/query32.out | 6 +- .../shape/query33.out | 30 ++++----- .../shape/query34.out | 10 +-- .../shape/query35.out | 42 ++++++------ .../shape/query36.out | 8 +-- .../shape/query37.out | 8 +-- .../shape/query38.out | 18 +++--- .../shape/query39.out | 8 +-- .../shape/query4.out | 18 +++--- .../shape/query40.out | 10 +-- .../shape/query41.out | 4 +- .../shape/query42.out | 6 +- .../shape/query43.out | 6 +- .../shape/query44.out | 12 ++-- .../shape/query45.out | 12 ++-- .../shape/query46.out | 28 ++++---- .../shape/query47.out | 8 +-- .../shape/query48.out | 10 +-- .../shape/query49.out | 18 +++--- .../shape/query5.out | 26 ++++---- .../shape/query50.out | 10 +-- .../shape/query51.out | 10 ++- .../shape/query52.out | 6 +- .../shape/query53.out | 8 +-- .../shape/query54.out | 22 +++---- .../shape/query55.out | 6 +- .../shape/query56.out | 30 ++++----- .../shape/query57.out | 8 +-- .../shape/query58.out | 30 ++++----- .../shape/query59.out | 34 +++++----- .../shape/query6.out | 14 ++-- .../shape/query60.out | 30 ++++----- .../shape/query61.out | 36 +++++------ .../shape/query62.out | 10 +-- .../shape/query63.out | 8 +-- .../shape/query64.out | 46 ++++++------- .../shape/query65.out | 12 ++-- .../shape/query66.out | 20 +++--- .../shape/query67.out | 8 +-- .../shape/query68.out | 28 ++++---- .../shape/query69.out | 18 +++--- .../shape/query7.out | 10 +-- .../shape/query70.out | 12 ++-- .../shape/query71.out | 16 ++--- .../shape/query72.out | 22 +++---- .../shape/query73.out | 10 +-- .../shape/query74.out | 12 ++-- .../shape/query75.out | 24 +++---- .../shape/query76.out | 18 +++--- .../shape/query77.out | 32 +++++----- .../shape/query78.out | 39 ++++++----- .../shape/query79.out | 10 +-- .../shape/query8.out | 12 ++-- .../shape/query80.out | 60 ++++++++--------- .../shape/query81.out | 30 ++++----- .../shape/query82.out | 8 +-- .../shape/query83.out | 30 ++++----- .../shape/query84.out | 14 ++-- .../shape/query85.out | 16 ++--- .../shape/query86.out | 6 +- .../shape/query87.out | 18 +++--- .../shape/query88.out | 64 +++++++++---------- .../shape/query89.out | 8 +-- .../shape/query9.out | 32 +++++----- .../shape/query90.out | 16 ++--- .../shape/query91.out | 14 ++-- .../shape/query92.out | 6 +- .../shape/query93.out | 6 +- .../shape/query94.out | 40 ++++++------ .../shape/query95.out | 42 ++++++------ .../shape/query96.out | 8 +-- .../shape/query97.out | 8 +-- .../shape/query98.out | 6 +- .../shape/query99.out | 10 +-- .../ddl/shape.tmpl | 2 +- .../shape/query1.groovy | 2 +- .../shape/query10.groovy | 2 +- .../shape/query11.groovy | 2 +- .../shape/query12.groovy | 2 +- .../shape/query13.groovy | 2 +- .../shape/query14.groovy | 2 +- .../shape/query15.groovy | 2 +- .../shape/query16.groovy | 2 +- .../shape/query17.groovy | 2 +- .../shape/query18.groovy | 2 +- .../shape/query19.groovy | 2 +- .../shape/query2.groovy | 2 +- .../shape/query20.groovy | 2 +- .../shape/query21.groovy | 2 +- .../shape/query22.groovy | 2 +- .../shape/query23.groovy | 2 +- .../shape/query24.groovy | 2 +- .../shape/query25.groovy | 2 +- .../shape/query26.groovy | 2 +- .../shape/query27.groovy | 2 +- .../shape/query28.groovy | 2 +- .../shape/query29.groovy | 2 +- .../shape/query3.groovy | 2 +- .../shape/query30.groovy | 2 +- .../shape/query31.groovy | 2 +- .../shape/query32.groovy | 2 +- .../shape/query33.groovy | 2 +- .../shape/query34.groovy | 2 +- .../shape/query35.groovy | 2 +- .../shape/query36.groovy | 2 +- .../shape/query37.groovy | 2 +- .../shape/query38.groovy | 2 +- .../shape/query39.groovy | 2 +- .../shape/query4.groovy | 2 +- .../shape/query40.groovy | 2 +- .../shape/query41.groovy | 2 +- .../shape/query42.groovy | 2 +- .../shape/query43.groovy | 2 +- .../shape/query44.groovy | 2 +- .../shape/query45.groovy | 2 +- .../shape/query46.groovy | 2 +- .../shape/query47.groovy | 2 +- .../shape/query48.groovy | 2 +- .../shape/query49.groovy | 2 +- .../shape/query5.groovy | 2 +- .../shape/query50.groovy | 2 +- .../shape/query51.groovy | 2 +- .../shape/query52.groovy | 2 +- .../shape/query53.groovy | 2 +- .../shape/query54.groovy | 2 +- .../shape/query55.groovy | 2 +- .../shape/query56.groovy | 2 +- .../shape/query57.groovy | 2 +- .../shape/query58.groovy | 2 +- .../shape/query59.groovy | 2 +- .../shape/query6.groovy | 2 +- .../shape/query60.groovy | 2 +- .../shape/query61.groovy | 2 +- .../shape/query62.groovy | 2 +- .../shape/query63.groovy | 2 +- .../shape/query64.groovy | 2 +- .../shape/query65.groovy | 2 +- .../shape/query66.groovy | 2 +- .../shape/query67.groovy | 2 +- .../shape/query68.groovy | 2 +- .../shape/query69.groovy | 2 +- .../shape/query7.groovy | 2 +- .../shape/query70.groovy | 2 +- .../shape/query71.groovy | 2 +- .../shape/query72.groovy | 2 +- .../shape/query73.groovy | 2 +- .../shape/query74.groovy | 2 +- .../shape/query75.groovy | 2 +- .../shape/query76.groovy | 2 +- .../shape/query77.groovy | 2 +- .../shape/query78.groovy | 2 +- .../shape/query79.groovy | 2 +- .../shape/query8.groovy | 2 +- .../shape/query80.groovy | 2 +- .../shape/query81.groovy | 2 +- .../shape/query82.groovy | 2 +- .../shape/query83.groovy | 2 +- .../shape/query84.groovy | 2 +- .../shape/query85.groovy | 2 +- .../shape/query86.groovy | 2 +- .../shape/query87.groovy | 2 +- .../shape/query88.groovy | 2 +- .../shape/query89.groovy | 2 +- .../shape/query9.groovy | 2 +- .../shape/query90.groovy | 2 +- .../shape/query91.groovy | 2 +- .../shape/query92.groovy | 2 +- .../shape/query93.groovy | 2 +- .../shape/query94.groovy | 2 +- .../shape/query95.groovy | 2 +- .../shape/query96.groovy | 2 +- .../shape/query97.groovy | 2 +- .../shape/query98.groovy | 2 +- .../shape/query99.groovy | 2 +- 199 files changed, 968 insertions(+), 973 deletions(-) diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query1.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query1.out index b98bbda9af53c7..ddb350cc178e33 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query1.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query1.out @@ -9,10 +9,10 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ------------PhysicalProject --------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_returns.sr_returned_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[sr_returned_date_sk] ----------------PhysicalProject -------------------PhysicalFileScan[store_returns] apply RFs: RF0 +------------------PhysicalOlapScan[store_returns] apply RFs: RF0 ----------------PhysicalProject ------------------filter((date_dim.d_year = 2000)) ---------------------PhysicalFileScan[date_dim] +--------------------PhysicalOlapScan[date_dim] --PhysicalResultSink ----PhysicalTopN[MERGE_SORT] ------PhysicalDistribute[DistributionSpecGather] @@ -25,10 +25,10 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) --------------------hashJoin[INNER_JOIN shuffle] hashCondition=((ctr1.ctr_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF1 c_customer_sk->[ctr_customer_sk] ----------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF1 RF2 RF3 ----------------------PhysicalProject -------------------------PhysicalFileScan[customer] +------------------------PhysicalOlapScan[customer] ------------------PhysicalProject --------------------filter((store.s_state = 'NM')) -----------------------PhysicalFileScan[store] apply RFs: RF3 +----------------------PhysicalOlapScan[store] apply RFs: RF3 --------------hashAgg[GLOBAL] ----------------PhysicalDistribute[DistributionSpecHash] ------------------hashAgg[LOCAL] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query10.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query10.out index cf6a74e6e3271c..e1cace0be0ccec 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query10.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query10.out @@ -10,38 +10,38 @@ PhysicalResultSink --------------hashAgg[LOCAL] ----------------PhysicalProject ------------------filter((ifnull($c$1, FALSE) OR ifnull($c$2, FALSE))) ---------------------hashJoin[LEFT_SEMI_JOIN shuffle] hashCondition=((c.c_customer_sk = catalog_sales.cs_ship_customer_sk)) otherCondition=() -----------------------PhysicalProject -------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((customer_demographics.cd_demo_sk = c.c_current_cdemo_sk)) otherCondition=() build RFs:RF5 cd_demo_sk->[c_current_cdemo_sk] ---------------------------PhysicalProject -----------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((c.c_current_addr_sk = ca.ca_address_sk)) otherCondition=() build RFs:RF4 ca_address_sk->[c_current_addr_sk] -------------------------------hashJoin[LEFT_SEMI_JOIN bucketShuffle] hashCondition=((c.c_customer_sk = web_sales.ws_bill_customer_sk)) otherCondition=() +--------------------hashJoin[LEFT_SEMI_JOIN bucketShuffle] hashCondition=((c.c_customer_sk = catalog_sales.cs_ship_customer_sk)) otherCondition=() +----------------------hashJoin[LEFT_SEMI_JOIN shuffle] hashCondition=((c.c_customer_sk = web_sales.ws_bill_customer_sk)) otherCondition=() +------------------------PhysicalProject +--------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((customer_demographics.cd_demo_sk = c.c_current_cdemo_sk)) otherCondition=() build RFs:RF5 cd_demo_sk->[c_current_cdemo_sk] +----------------------------PhysicalProject +------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((c.c_current_addr_sk = ca.ca_address_sk)) otherCondition=() build RFs:RF4 ca_address_sk->[c_current_addr_sk] --------------------------------hashJoin[RIGHT_SEMI_JOIN shuffle] hashCondition=((c.c_customer_sk = store_sales.ss_customer_sk)) otherCondition=() build RFs:RF3 c_customer_sk->[ss_customer_sk] ----------------------------------PhysicalProject ------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[ss_sold_date_sk] --------------------------------------PhysicalProject -----------------------------------------PhysicalFileScan[store_sales] apply RFs: RF2 RF3 +----------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF2 RF3 --------------------------------------PhysicalProject ----------------------------------------filter((date_dim.d_moy <= 6) and (date_dim.d_moy >= 3) and (date_dim.d_year = 2000)) -------------------------------------------PhysicalFileScan[date_dim] +------------------------------------------PhysicalOlapScan[date_dim] ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[customer] apply RFs: RF4 RF5 +------------------------------------PhysicalOlapScan[customer] apply RFs: RF4 RF5 --------------------------------PhysicalProject -----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ws_sold_date_sk] -------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[web_sales] apply RFs: RF1 -------------------------------------PhysicalProject ---------------------------------------filter((date_dim.d_moy <= 6) and (date_dim.d_moy >= 3) and (date_dim.d_year = 2000)) -----------------------------------------PhysicalFileScan[date_dim] -------------------------------PhysicalProject ---------------------------------filter(ca_county IN ('Bonneville County', 'Boone County', 'Brown County', 'Fillmore County', 'McPherson County')) -----------------------------------PhysicalFileScan[customer_address] ---------------------------PhysicalFileScan[customer_demographics] +----------------------------------filter(ca_county IN ('Bonneville County', 'Boone County', 'Brown County', 'Fillmore County', 'McPherson County')) +------------------------------------PhysicalOlapScan[customer_address] +----------------------------PhysicalOlapScan[customer_demographics] +------------------------PhysicalProject +--------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ws_sold_date_sk] +----------------------------PhysicalProject +------------------------------PhysicalOlapScan[web_sales] apply RFs: RF1 +----------------------------PhysicalProject +------------------------------filter((date_dim.d_moy <= 6) and (date_dim.d_moy >= 3) and (date_dim.d_year = 2000)) +--------------------------------PhysicalOlapScan[date_dim] ----------------------PhysicalProject ------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[cs_sold_date_sk] --------------------------PhysicalProject -----------------------------PhysicalFileScan[catalog_sales] apply RFs: RF0 +----------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 --------------------------PhysicalProject ----------------------------filter((date_dim.d_moy <= 6) and (date_dim.d_moy >= 3) and (date_dim.d_year = 2000)) -------------------------------PhysicalFileScan[date_dim] +------------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query11.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query11.out index 79fd391fe497c8..82db2123eb155c 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query11.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query11.out @@ -12,12 +12,12 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ------------------PhysicalProject --------------------hashJoin[INNER_JOIN shuffle] hashCondition=((customer.c_customer_sk = store_sales.ss_customer_sk)) otherCondition=() build RFs:RF0 c_customer_sk->[ss_customer_sk] ----------------------PhysicalProject -------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 +------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 ----------------------PhysicalProject -------------------------PhysicalFileScan[customer] +------------------------PhysicalOlapScan[customer] ------------------PhysicalProject --------------------filter(d_year IN (1999, 2000)) -----------------------PhysicalFileScan[date_dim] +----------------------PhysicalOlapScan[date_dim] ------PhysicalProject --------hashAgg[GLOBAL] ----------PhysicalDistribute[DistributionSpecHash] @@ -27,12 +27,12 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ------------------PhysicalProject --------------------hashJoin[INNER_JOIN shuffle] hashCondition=((customer.c_customer_sk = web_sales.ws_bill_customer_sk)) otherCondition=() build RFs:RF2 c_customer_sk->[ws_bill_customer_sk] ----------------------PhysicalProject -------------------------PhysicalFileScan[web_sales] apply RFs: RF2 RF3 +------------------------PhysicalOlapScan[web_sales] apply RFs: RF2 RF3 ----------------------PhysicalProject -------------------------PhysicalFileScan[customer] +------------------------PhysicalOlapScan[customer] ------------------PhysicalProject --------------------filter(d_year IN (1999, 2000)) -----------------------PhysicalFileScan[date_dim] +----------------------PhysicalOlapScan[date_dim] --PhysicalResultSink ----PhysicalTopN[MERGE_SORT] ------PhysicalDistribute[DistributionSpecGather] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query12.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query12.out index c78fdfdb333516..31121aee38f722 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query12.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query12.out @@ -16,11 +16,11 @@ PhysicalResultSink --------------------------PhysicalProject ----------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ws_item_sk] ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[web_sales] apply RFs: RF0 RF1 +--------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 ------------------------------PhysicalProject --------------------------------filter(i_category IN ('Books', 'Electronics', 'Women')) -----------------------------------PhysicalFileScan[item] +----------------------------------PhysicalOlapScan[item] --------------------------PhysicalProject ----------------------------filter((date_dim.d_date <= '1998-02-05') and (date_dim.d_date >= '1998-01-06')) -------------------------------PhysicalFileScan[date_dim] +------------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query13.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query13.out index d06455918414ae..2487ceb9b58feb 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query13.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query13.out @@ -16,19 +16,19 @@ PhysicalResultSink --------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store.s_store_sk = store_sales.ss_store_sk)) otherCondition=() build RFs:RF0 s_store_sk->[ss_store_sk] ----------------------------PhysicalProject ------------------------------filter((store_sales.ss_net_profit <= 300.00) and (store_sales.ss_net_profit >= 50.00) and (store_sales.ss_sales_price <= 200.00) and (store_sales.ss_sales_price >= 50.00)) ---------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 RF4 +--------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 RF4 ----------------------------PhysicalProject -------------------------------PhysicalFileScan[store] +------------------------------PhysicalOlapScan[store] ------------------------PhysicalProject --------------------------filter(((((customer_demographics.cd_marital_status = 'U') AND (customer_demographics.cd_education_status = 'Secondary')) OR ((customer_demographics.cd_marital_status = 'W') AND (customer_demographics.cd_education_status = 'College'))) OR ((customer_demographics.cd_marital_status = 'D') AND (customer_demographics.cd_education_status = 'Primary'))) and cd_education_status IN ('College', 'Primary', 'Secondary') and cd_marital_status IN ('D', 'U', 'W')) -----------------------------PhysicalFileScan[customer_demographics] +----------------------------PhysicalOlapScan[customer_demographics] --------------------PhysicalProject ----------------------filter(hd_dep_count IN (1, 3)) -------------------------PhysicalFileScan[household_demographics] +------------------------PhysicalOlapScan[household_demographics] ----------------PhysicalProject ------------------filter((customer_address.ca_country = 'United States') and ca_state IN ('FL', 'GA', 'MI', 'MT', 'NC', 'OH', 'OK', 'TX', 'WA')) ---------------------PhysicalFileScan[customer_address] +--------------------PhysicalOlapScan[customer_address] ------------PhysicalProject --------------filter((date_dim.d_year = 2001)) -----------------PhysicalFileScan[date_dim] +----------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query14.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query14.out index 6e34cbc9719d92..299549d2b2ce02 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query14.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query14.out @@ -13,12 +13,12 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) --------------------PhysicalProject ----------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_item_sk = iws.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ws_item_sk] ------------------------PhysicalProject ---------------------------PhysicalFileScan[web_sales] apply RFs: RF0 RF1 +--------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 ------------------------PhysicalProject ---------------------------PhysicalFileScan[item] apply RFs: RF6 RF7 RF8 +--------------------------PhysicalOlapScan[item] apply RFs: RF6 RF7 RF8 --------------------PhysicalProject ----------------------filter((d3.d_year <= 2002) and (d3.d_year >= 2000)) -------------------------PhysicalFileScan[date_dim] +------------------------PhysicalOlapScan[date_dim] ----------hashAgg[GLOBAL] ------------PhysicalDistribute[DistributionSpecHash] --------------hashAgg[LOCAL] @@ -27,12 +27,12 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) --------------------PhysicalProject ----------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_item_sk = ics.i_item_sk)) otherCondition=() build RFs:RF2 i_item_sk->[cs_item_sk] ------------------------PhysicalProject ---------------------------PhysicalFileScan[catalog_sales] apply RFs: RF2 RF3 +--------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF2 RF3 ------------------------PhysicalProject ---------------------------PhysicalFileScan[item] apply RFs: RF6 RF7 RF8 +--------------------------PhysicalOlapScan[item] apply RFs: RF6 RF7 RF8 --------------------PhysicalProject ----------------------filter((d2.d_year <= 2002) and (d2.d_year >= 2000)) -------------------------PhysicalFileScan[date_dim] +------------------------PhysicalOlapScan[date_dim] ----------hashAgg[GLOBAL] ------------PhysicalDistribute[DistributionSpecHash] --------------hashAgg[LOCAL] @@ -41,14 +41,14 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) --------------------PhysicalProject ----------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_item_sk = iss.i_item_sk)) otherCondition=() build RFs:RF4 i_item_sk->[ss_item_sk] ------------------------PhysicalProject ---------------------------PhysicalFileScan[store_sales] apply RFs: RF4 RF5 +--------------------------PhysicalOlapScan[store_sales] apply RFs: RF4 RF5 ------------------------PhysicalProject ---------------------------PhysicalFileScan[item] apply RFs: RF6 RF7 RF8 +--------------------------PhysicalOlapScan[item] apply RFs: RF6 RF7 RF8 --------------------PhysicalProject ----------------------filter((d1.d_year <= 2002) and (d1.d_year >= 2000)) -------------------------PhysicalFileScan[date_dim] +------------------------PhysicalOlapScan[date_dim] --------PhysicalProject -----------PhysicalFileScan[item] +----------PhysicalOlapScan[item] --PhysicalCteAnchor ( cteId=CTEId#1 ) ----PhysicalCteProducer ( cteId=CTEId#1 ) ------hashAgg[GLOBAL] @@ -60,26 +60,26 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ------------------PhysicalProject --------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF9 d_date_sk->[ss_sold_date_sk] ----------------------PhysicalProject -------------------------PhysicalFileScan[store_sales] apply RFs: RF9 +------------------------PhysicalOlapScan[store_sales] apply RFs: RF9 ----------------------PhysicalProject ------------------------filter((date_dim.d_year <= 2002) and (date_dim.d_year >= 2000)) ---------------------------PhysicalFileScan[date_dim] +--------------------------PhysicalOlapScan[date_dim] ----------------PhysicalDistribute[DistributionSpecExecutionAny] ------------------PhysicalProject --------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF10 d_date_sk->[cs_sold_date_sk] ----------------------PhysicalProject -------------------------PhysicalFileScan[catalog_sales] apply RFs: RF10 +------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF10 ----------------------PhysicalProject ------------------------filter((date_dim.d_year <= 2002) and (date_dim.d_year >= 2000)) ---------------------------PhysicalFileScan[date_dim] +--------------------------PhysicalOlapScan[date_dim] ----------------PhysicalDistribute[DistributionSpecExecutionAny] ------------------PhysicalProject --------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF11 d_date_sk->[ws_sold_date_sk] ----------------------PhysicalProject -------------------------PhysicalFileScan[web_sales] apply RFs: RF11 +------------------------PhysicalOlapScan[web_sales] apply RFs: RF11 ----------------------PhysicalProject ------------------------filter((date_dim.d_year <= 2002) and (date_dim.d_year >= 2000)) ---------------------------PhysicalFileScan[date_dim] +--------------------------PhysicalOlapScan[date_dim] ----PhysicalResultSink ------PhysicalTopN[MERGE_SORT] --------PhysicalDistribute[DistributionSpecGather] @@ -102,13 +102,13 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ------------------------------------------hashJoin[INNER_JOIN bucketShuffle] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF13 i_item_sk->[ss_item_sk,ss_item_sk] --------------------------------------------hashJoin[LEFT_SEMI_JOIN shuffle] hashCondition=((store_sales.ss_item_sk = cross_items.ss_item_sk)) otherCondition=() build RFs:RF12 ss_item_sk->[ss_item_sk] ----------------------------------------------PhysicalProject -------------------------------------------------PhysicalFileScan[store_sales] apply RFs: RF12 RF13 RF14 +------------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF12 RF13 RF14 ----------------------------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF13 --------------------------------------------PhysicalProject -----------------------------------------------PhysicalFileScan[item] +----------------------------------------------PhysicalOlapScan[item] ----------------------------------------PhysicalProject ------------------------------------------filter((date_dim.d_moy = 11) and (date_dim.d_year = 2002)) ---------------------------------------------PhysicalFileScan[date_dim] +--------------------------------------------PhysicalOlapScan[date_dim] ----------------------------PhysicalProject ------------------------------PhysicalAssertNumRows --------------------------------PhysicalDistribute[DistributionSpecGather] @@ -125,13 +125,13 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ------------------------------------------hashJoin[INNER_JOIN bucketShuffle] hashCondition=((catalog_sales.cs_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF16 i_item_sk->[cs_item_sk,ss_item_sk] --------------------------------------------hashJoin[LEFT_SEMI_JOIN shuffle] hashCondition=((catalog_sales.cs_item_sk = cross_items.ss_item_sk)) otherCondition=() build RFs:RF15 ss_item_sk->[cs_item_sk] ----------------------------------------------PhysicalProject -------------------------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF15 RF16 RF17 +------------------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF15 RF16 RF17 ----------------------------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF16 --------------------------------------------PhysicalProject -----------------------------------------------PhysicalFileScan[item] +----------------------------------------------PhysicalOlapScan[item] ----------------------------------------PhysicalProject ------------------------------------------filter((date_dim.d_moy = 11) and (date_dim.d_year = 2002)) ---------------------------------------------PhysicalFileScan[date_dim] +--------------------------------------------PhysicalOlapScan[date_dim] ----------------------------PhysicalProject ------------------------------PhysicalAssertNumRows --------------------------------PhysicalDistribute[DistributionSpecGather] @@ -148,13 +148,13 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ------------------------------------------hashJoin[INNER_JOIN bucketShuffle] hashCondition=((web_sales.ws_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF19 i_item_sk->[ss_item_sk,ws_item_sk] --------------------------------------------hashJoin[LEFT_SEMI_JOIN shuffle] hashCondition=((web_sales.ws_item_sk = cross_items.ss_item_sk)) otherCondition=() build RFs:RF18 ss_item_sk->[ws_item_sk] ----------------------------------------------PhysicalProject -------------------------------------------------PhysicalFileScan[web_sales] apply RFs: RF18 RF19 RF20 +------------------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF18 RF19 RF20 ----------------------------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF19 --------------------------------------------PhysicalProject -----------------------------------------------PhysicalFileScan[item] +----------------------------------------------PhysicalOlapScan[item] ----------------------------------------PhysicalProject ------------------------------------------filter((date_dim.d_moy = 11) and (date_dim.d_year = 2002)) ---------------------------------------------PhysicalFileScan[date_dim] +--------------------------------------------PhysicalOlapScan[date_dim] ----------------------------PhysicalProject ------------------------------PhysicalAssertNumRows --------------------------------PhysicalDistribute[DistributionSpecGather] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query15.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query15.out index 7a3fb13d7d061b..31789e71f5b27a 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query15.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query15.out @@ -14,12 +14,12 @@ PhysicalResultSink ----------------------PhysicalProject ------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((catalog_sales.cs_bill_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF0 c_customer_sk->[cs_bill_customer_sk] --------------------------PhysicalProject -----------------------------PhysicalFileScan[catalog_sales] apply RFs: RF0 RF2 +----------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF2 --------------------------PhysicalProject -----------------------------PhysicalFileScan[customer] apply RFs: RF1 +----------------------------PhysicalOlapScan[customer] apply RFs: RF1 ----------------------PhysicalProject -------------------------PhysicalFileScan[customer_address] +------------------------PhysicalOlapScan[customer_address] ------------------PhysicalProject --------------------filter((date_dim.d_qoy = 2) and (date_dim.d_year = 1998)) -----------------------PhysicalFileScan[date_dim] +----------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query16.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query16.out index 3f5da6de2b9393..e9d35f9e131c3e 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query16.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query16.out @@ -17,18 +17,18 @@ PhysicalResultSink ----------------------------PhysicalProject ------------------------------hashJoin[RIGHT_SEMI_JOIN shuffle] hashCondition=((cs1.cs_order_number = cs2.cs_order_number)) otherCondition=(( not (cs_warehouse_sk = cs_warehouse_sk))) build RFs:RF0 cs_order_number->[cs_order_number] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF0 +----------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF1 RF2 RF3 +----------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF1 RF2 RF3 ----------------------------PhysicalProject -------------------------------PhysicalFileScan[catalog_returns] +------------------------------PhysicalOlapScan[catalog_returns] --------------------------PhysicalProject ----------------------------filter((date_dim.d_date <= '1999-05-31') and (date_dim.d_date >= '1999-04-01')) -------------------------------PhysicalFileScan[date_dim] +------------------------------PhysicalOlapScan[date_dim] ----------------------PhysicalProject ------------------------filter((customer_address.ca_state = 'IL')) ---------------------------PhysicalFileScan[customer_address] +--------------------------PhysicalOlapScan[customer_address] ------------------PhysicalProject --------------------filter(cc_county IN ('Bronx County', 'Maverick County', 'Mesa County', 'Raleigh County', 'Richland County')) -----------------------PhysicalFileScan[call_center] +----------------------PhysicalOlapScan[call_center] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query17.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query17.out index 98f4c8b1c6429e..e0b281146ad099 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query17.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query17.out @@ -23,22 +23,22 @@ PhysicalResultSink ----------------------------------------PhysicalProject ------------------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_customer_sk = store_returns.sr_customer_sk) and (store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=() build RFs:RF0 sr_customer_sk->[ss_customer_sk];RF1 sr_item_sk->[ss_item_sk];RF2 sr_ticket_number->[ss_ticket_number] --------------------------------------------PhysicalProject -----------------------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 RF4 RF5 RF6 RF9 +----------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 RF4 RF5 RF6 RF9 --------------------------------------------PhysicalProject -----------------------------------------------PhysicalFileScan[store_returns] apply RFs: RF3 RF4 RF5 RF7 +----------------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF3 RF4 RF5 RF7 ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF8 +------------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF8 ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[item] +--------------------------------------PhysicalOlapScan[item] --------------------------------PhysicalProject ----------------------------------filter((d1.d_quarter_name = '2000Q1')) -------------------------------------PhysicalFileScan[date_dim] +------------------------------------PhysicalOlapScan[date_dim] ----------------------------PhysicalProject ------------------------------filter(d_quarter_name IN ('2000Q1', '2000Q2', '2000Q3')) ---------------------------------PhysicalFileScan[date_dim] +--------------------------------PhysicalOlapScan[date_dim] ------------------------PhysicalProject --------------------------filter(d_quarter_name IN ('2000Q1', '2000Q2', '2000Q3')) -----------------------------PhysicalFileScan[date_dim] +----------------------------PhysicalOlapScan[date_dim] --------------------PhysicalProject -----------------------PhysicalFileScan[store] +----------------------PhysicalOlapScan[store] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query18.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query18.out index e8f762d67e4c6b..083105bf02dd54 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query18.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query18.out @@ -14,29 +14,29 @@ PhysicalResultSink ----------------------PhysicalProject ------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF4 i_item_sk->[cs_item_sk] --------------------------PhysicalProject -----------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((customer.c_current_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF3 ca_address_sk->[c_current_addr_sk] +----------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_bill_cdemo_sk = cd1.cd_demo_sk)) otherCondition=() build RFs:RF3 cd_demo_sk->[cs_bill_cdemo_sk] ------------------------------PhysicalProject ---------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_bill_cdemo_sk = cd1.cd_demo_sk)) otherCondition=() build RFs:RF2 cd_demo_sk->[cs_bill_cdemo_sk] +--------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((customer.c_current_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF2 ca_address_sk->[c_current_addr_sk] ----------------------------------PhysicalProject ------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((customer.c_current_cdemo_sk = cd2.cd_demo_sk)) otherCondition=() build RFs:RF1 cd_demo_sk->[c_current_cdemo_sk] --------------------------------------PhysicalProject ----------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_bill_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF0 c_customer_sk->[cs_bill_customer_sk] ------------------------------------------PhysicalProject ---------------------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF0 RF2 RF4 RF5 +--------------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF3 RF4 RF5 ------------------------------------------PhysicalProject --------------------------------------------filter(c_birth_month IN (1, 4, 5, 7, 8, 9)) -----------------------------------------------PhysicalFileScan[customer] apply RFs: RF1 RF3 +----------------------------------------------PhysicalOlapScan[customer] apply RFs: RF1 RF2 --------------------------------------PhysicalProject -----------------------------------------PhysicalFileScan[customer_demographics] +----------------------------------------PhysicalOlapScan[customer_demographics] ----------------------------------PhysicalProject -------------------------------------filter((cd1.cd_education_status = 'Unknown') and (cd1.cd_gender = 'M')) ---------------------------------------PhysicalFileScan[customer_demographics] +------------------------------------filter(ca_state IN ('AL', 'AR', 'GA', 'MS', 'NC', 'TX', 'WV')) +--------------------------------------PhysicalOlapScan[customer_address] ------------------------------PhysicalProject ---------------------------------filter(ca_state IN ('AL', 'AR', 'GA', 'MS', 'NC', 'TX', 'WV')) -----------------------------------PhysicalFileScan[customer_address] +--------------------------------filter((cd1.cd_education_status = 'Unknown') and (cd1.cd_gender = 'M')) +----------------------------------PhysicalOlapScan[customer_demographics] --------------------------PhysicalProject -----------------------------PhysicalFileScan[item] +----------------------------PhysicalOlapScan[item] ----------------------PhysicalProject ------------------------filter((date_dim.d_year = 2002)) ---------------------------PhysicalFileScan[date_dim] +--------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query19.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query19.out index 5bf8a915f35e07..6a9401f72ec7f3 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query19.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query19.out @@ -19,17 +19,17 @@ PhysicalResultSink --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF0 c_customer_sk->[ss_customer_sk] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF2 RF3 RF4 +--------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF2 RF3 RF4 ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[customer] apply RFs: RF1 +--------------------------------------PhysicalOlapScan[customer] apply RFs: RF1 --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[customer_address] +----------------------------------PhysicalOlapScan[customer_address] ----------------------------PhysicalProject ------------------------------filter((date_dim.d_moy = 12) and (date_dim.d_year = 1998)) ---------------------------------PhysicalFileScan[date_dim] +--------------------------------PhysicalOlapScan[date_dim] ------------------------PhysicalProject --------------------------filter((item.i_manager_id = 16)) -----------------------------PhysicalFileScan[item] +----------------------------PhysicalOlapScan[item] --------------------PhysicalProject -----------------------PhysicalFileScan[store] +----------------------PhysicalOlapScan[store] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query2.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query2.out index da43a75e188ad4..45d3bd88c05b96 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query2.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query2.out @@ -10,30 +10,30 @@ PhysicalCteAnchor ( cteId=CTEId#1 ) --------------PhysicalUnion ----------------PhysicalDistribute[DistributionSpecHash] ------------------PhysicalProject ---------------------PhysicalFileScan[web_sales] apply RFs: RF0 +--------------------PhysicalOlapScan[web_sales] apply RFs: RF0 ----------------PhysicalDistribute[DistributionSpecHash] ------------------PhysicalProject ---------------------PhysicalFileScan[catalog_sales] apply RFs: RF0 +--------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 --------------PhysicalProject -----------------PhysicalFileScan[date_dim] +----------------PhysicalOlapScan[date_dim] --PhysicalResultSink ----PhysicalQuickSort[MERGE_SORT] ------PhysicalDistribute[DistributionSpecGather] --------PhysicalQuickSort[LOCAL_SORT] ----------PhysicalProject -------------hashJoin[INNER_JOIN broadcast] hashCondition=((date_dim.d_week_seq = d_week_seq1)) otherCondition=() build RFs:RF2 d_week_seq->[d_week_seq] +------------hashJoin[INNER_JOIN broadcast] hashCondition=((date_dim.d_week_seq = d_week_seq2)) otherCondition=() build RFs:RF3 d_week_seq->[d_week_seq] --------------PhysicalProject -----------------hashJoin[INNER_JOIN shuffle] hashCondition=((expr_cast(d_week_seq1 as BIGINT) = expr_(d_week_seq2 - 53))) otherCondition=() +----------------hashJoin[INNER_JOIN shuffle] hashCondition=((date_dim.d_week_seq = d_week_seq1)) otherCondition=() build RFs:RF2 d_week_seq1->[d_week_seq] ------------------PhysicalProject ---------------------hashJoin[INNER_JOIN shuffle] hashCondition=((date_dim.d_week_seq = d_week_seq2)) otherCondition=() build RFs:RF1 d_week_seq->[d_week_seq] +--------------------filter((date_dim.d_year = 1998)) +----------------------PhysicalOlapScan[date_dim] apply RFs: RF2 +------------------PhysicalProject +--------------------hashJoin[INNER_JOIN shuffle] hashCondition=((expr_cast(d_week_seq1 as BIGINT) = expr_(d_week_seq2 - 53))) otherCondition=() build RFs:RF1 expr_(d_week_seq2 - 53)->[cast(d_week_seq as BIGINT)] ----------------------PhysicalProject ------------------------PhysicalCteConsumer ( cteId=CTEId#1 ) apply RFs: RF1 ----------------------PhysicalProject -------------------------filter((date_dim.d_year = 1999)) ---------------------------PhysicalFileScan[date_dim] -------------------PhysicalProject ---------------------PhysicalCteConsumer ( cteId=CTEId#1 ) apply RFs: RF2 +------------------------PhysicalCteConsumer ( cteId=CTEId#1 ) apply RFs: RF3 --------------PhysicalProject -----------------filter((date_dim.d_year = 1998)) -------------------PhysicalFileScan[date_dim] +----------------filter((date_dim.d_year = 1999)) +------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query20.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query20.out index 964680cafbb3d9..5ea9d277dedaba 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query20.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query20.out @@ -16,11 +16,11 @@ PhysicalResultSink --------------------------PhysicalProject ----------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[cs_item_sk] ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF0 RF1 +--------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 ------------------------------PhysicalProject --------------------------------filter(i_category IN ('Children', 'Electronics', 'Shoes')) -----------------------------------PhysicalFileScan[item] +----------------------------------PhysicalOlapScan[item] --------------------------PhysicalProject ----------------------------filter((date_dim.d_date <= '2001-04-13') and (date_dim.d_date >= '2001-03-14')) -------------------------------PhysicalFileScan[date_dim] +------------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query21.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query21.out index f1557e4b5ec735..31448491385145 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query21.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query21.out @@ -14,13 +14,13 @@ PhysicalResultSink ----------------------hashJoin[INNER_JOIN broadcast] hashCondition=((item.i_item_sk = inventory.inv_item_sk)) otherCondition=() build RFs:RF1 i_item_sk->[inv_item_sk] ------------------------PhysicalProject --------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((inventory.inv_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=() build RFs:RF0 w_warehouse_sk->[inv_warehouse_sk] -----------------------------PhysicalFileScan[inventory] apply RFs: RF0 RF1 RF2 +----------------------------PhysicalOlapScan[inventory] apply RFs: RF0 RF1 RF2 ----------------------------PhysicalProject -------------------------------PhysicalFileScan[warehouse] +------------------------------PhysicalOlapScan[warehouse] ------------------------PhysicalProject --------------------------filter((item.i_current_price <= 1.49) and (item.i_current_price >= 0.99)) -----------------------------PhysicalFileScan[item] +----------------------------PhysicalOlapScan[item] --------------------PhysicalProject ----------------------filter((date_dim.d_date <= '1999-04-19') and (date_dim.d_date >= '1999-02-18')) -------------------------PhysicalFileScan[date_dim] +------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query22.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query22.out index 411c93249341ac..9a0efd7d83bee7 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query22.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query22.out @@ -14,10 +14,10 @@ PhysicalResultSink ----------------------PhysicalProject ------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((inventory.inv_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[inv_item_sk] --------------------------PhysicalProject -----------------------------PhysicalFileScan[inventory] apply RFs: RF0 RF1 +----------------------------PhysicalOlapScan[inventory] apply RFs: RF0 RF1 --------------------------PhysicalProject -----------------------------PhysicalFileScan[item] +----------------------------PhysicalOlapScan[item] ----------------------PhysicalProject ------------------------filter((date_dim.d_month_seq <= 1197) and (date_dim.d_month_seq >= 1186)) ---------------------------PhysicalFileScan[date_dim] +--------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query23.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query23.out index 241380c0c1e335..5b81b4629a48e0 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query23.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query23.out @@ -12,12 +12,12 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ------------------PhysicalProject --------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk] ----------------------PhysicalProject -------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 +------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 ----------------------PhysicalProject -------------------------PhysicalFileScan[item] +------------------------PhysicalOlapScan[item] ------------------PhysicalProject --------------------filter(d_year IN (2000, 2001, 2002, 2003)) -----------------------PhysicalFileScan[date_dim] +----------------------PhysicalOlapScan[date_dim] --PhysicalCteAnchor ( cteId=CTEId#2 ) ----PhysicalCteProducer ( cteId=CTEId#2 ) ------PhysicalProject @@ -27,9 +27,9 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) --------------PhysicalProject ----------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF4 c_customer_sk->[ss_customer_sk] ------------------PhysicalProject ---------------------PhysicalFileScan[store_sales] apply RFs: RF4 +--------------------PhysicalOlapScan[store_sales] apply RFs: RF4 ------------------PhysicalProject ---------------------PhysicalFileScan[customer] +--------------------PhysicalOlapScan[customer] ----------PhysicalProject ------------hashAgg[GLOBAL] --------------PhysicalDistribute[DistributionSpecGather] @@ -41,12 +41,12 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) --------------------------PhysicalProject ----------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF2 c_customer_sk->[ss_customer_sk] ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[store_sales] apply RFs: RF2 RF3 +--------------------------------PhysicalOlapScan[store_sales] apply RFs: RF2 RF3 ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[customer] +--------------------------------PhysicalOlapScan[customer] --------------------------PhysicalProject ----------------------------filter(d_year IN (2000, 2001, 2002, 2003)) -------------------------------PhysicalFileScan[date_dim] +------------------------------PhysicalOlapScan[date_dim] ----PhysicalResultSink ------PhysicalTopN[GATHER_SORT] --------hashAgg[GLOBAL] @@ -60,12 +60,12 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ------------------------PhysicalProject --------------------------hashJoin[LEFT_SEMI_JOIN shuffle] hashCondition=((catalog_sales.cs_item_sk = frequent_ss_items.item_sk)) otherCondition=() build RFs:RF5 item_sk->[cs_item_sk] ----------------------------PhysicalProject -------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF5 RF6 RF7 +------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF5 RF6 RF7 ----------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) ------------------------PhysicalCteConsumer ( cteId=CTEId#2 ) --------------------PhysicalProject ----------------------filter((date_dim.d_moy = 3) and (date_dim.d_year = 2000)) -------------------------PhysicalFileScan[date_dim] +------------------------PhysicalOlapScan[date_dim] ----------------PhysicalProject ------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF10 d_date_sk->[ws_sold_date_sk] --------------------PhysicalProject @@ -73,10 +73,10 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ------------------------PhysicalProject --------------------------hashJoin[LEFT_SEMI_JOIN shuffle] hashCondition=((web_sales.ws_item_sk = frequent_ss_items.item_sk)) otherCondition=() build RFs:RF8 item_sk->[ws_item_sk] ----------------------------PhysicalProject -------------------------------PhysicalFileScan[web_sales] apply RFs: RF8 RF9 RF10 +------------------------------PhysicalOlapScan[web_sales] apply RFs: RF8 RF9 RF10 ----------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) ------------------------PhysicalCteConsumer ( cteId=CTEId#2 ) --------------------PhysicalProject ----------------------filter((date_dim.d_moy = 3) and (date_dim.d_year = 2000)) -------------------------PhysicalFileScan[date_dim] +------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query24.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query24.out index 037266b2b4d64b..09f12e931c61f5 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query24.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query24.out @@ -9,26 +9,26 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ------------PhysicalProject --------------hashJoin[INNER_JOIN broadcast] hashCondition=((store.s_zip = customer_address.ca_zip) and (store_sales.ss_store_sk = store.s_store_sk)) otherCondition=() build RFs:RF5 s_zip->[ca_zip];RF6 s_store_sk->[ss_store_sk] ----------------PhysicalProject -------------------hashJoin[INNER_JOIN shuffle] hashCondition=((customer.c_current_addr_sk = customer_address.ca_address_sk)) otherCondition=(( not (c_birth_country = upper(ca_country)))) build RFs:RF4 ca_address_sk->[c_current_addr_sk] +------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF4 i_item_sk->[sr_item_sk,ss_item_sk] --------------------PhysicalProject -----------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF3 c_customer_sk->[ss_customer_sk] +----------------------hashJoin[INNER_JOIN shuffle] hashCondition=((customer.c_current_addr_sk = customer_address.ca_address_sk)) otherCondition=(( not (c_birth_country = upper(ca_country)))) build RFs:RF3 ca_address_sk->[c_current_addr_sk] ------------------------PhysicalProject ---------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF2 i_item_sk->[sr_item_sk,ss_item_sk] +--------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF2 c_customer_sk->[ss_customer_sk] ----------------------------PhysicalProject ------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=() build RFs:RF0 sr_ticket_number->[ss_ticket_number];RF1 sr_item_sk->[ss_item_sk] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 RF6 +----------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF4 RF6 --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[store_returns] apply RFs: RF2 +----------------------------------PhysicalOlapScan[store_returns] apply RFs: RF4 ----------------------------PhysicalProject -------------------------------PhysicalFileScan[item] +------------------------------PhysicalOlapScan[customer] apply RFs: RF3 ------------------------PhysicalProject ---------------------------PhysicalFileScan[customer] apply RFs: RF4 +--------------------------PhysicalOlapScan[customer_address] apply RFs: RF5 --------------------PhysicalProject -----------------------PhysicalFileScan[customer_address] apply RFs: RF5 +----------------------PhysicalOlapScan[item] ----------------PhysicalProject ------------------filter((store.s_market_id = 10)) ---------------------PhysicalFileScan[store] +--------------------PhysicalOlapScan[store] --PhysicalResultSink ----PhysicalQuickSort[MERGE_SORT] ------PhysicalDistribute[DistributionSpecGather] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query25.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query25.out index 52bd63d0f62a8f..768ad92e931b56 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query25.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query25.out @@ -22,22 +22,22 @@ PhysicalResultSink --------------------------------------PhysicalProject ----------------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_customer_sk = store_returns.sr_customer_sk) and (store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=() build RFs:RF0 sr_customer_sk->[ss_customer_sk];RF1 sr_item_sk->[ss_item_sk];RF2 sr_ticket_number->[ss_ticket_number] ------------------------------------------PhysicalProject ---------------------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 RF4 RF5 RF6 RF9 +--------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 RF4 RF5 RF6 RF9 ------------------------------------------PhysicalProject ---------------------------------------------PhysicalFileScan[store_returns] apply RFs: RF3 RF4 RF5 RF7 +--------------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF3 RF4 RF5 RF7 --------------------------------------PhysicalProject -----------------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF8 +----------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF8 ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[item] +------------------------------------PhysicalOlapScan[item] ------------------------------PhysicalProject --------------------------------filter((d1.d_moy = 4) and (d1.d_year = 2000)) -----------------------------------PhysicalFileScan[date_dim] +----------------------------------PhysicalOlapScan[date_dim] --------------------------PhysicalProject ----------------------------filter((d2.d_moy <= 10) and (d2.d_moy >= 4) and (d2.d_year = 2000)) -------------------------------PhysicalFileScan[date_dim] +------------------------------PhysicalOlapScan[date_dim] ----------------------PhysicalProject ------------------------filter((d3.d_moy <= 10) and (d3.d_moy >= 4) and (d3.d_year = 2000)) ---------------------------PhysicalFileScan[date_dim] +--------------------------PhysicalOlapScan[date_dim] ------------------PhysicalProject ---------------------PhysicalFileScan[store] +--------------------PhysicalOlapScan[store] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query26.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query26.out index 2e0be204b11cb8..68a8944b8ce179 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query26.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query26.out @@ -16,16 +16,16 @@ PhysicalResultSink --------------------------PhysicalProject ----------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[cs_item_sk] ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF0 RF1 RF2 RF3 +--------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2 RF3 ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[item] +--------------------------------PhysicalOlapScan[item] --------------------------PhysicalProject ----------------------------filter((customer_demographics.cd_education_status = 'College') and (customer_demographics.cd_gender = 'F') and (customer_demographics.cd_marital_status = 'S')) -------------------------------PhysicalFileScan[customer_demographics] +------------------------------PhysicalOlapScan[customer_demographics] ----------------------PhysicalProject ------------------------filter((date_dim.d_year = 1998)) ---------------------------PhysicalFileScan[date_dim] +--------------------------PhysicalOlapScan[date_dim] ------------------PhysicalProject --------------------filter(((promotion.p_channel_email = 'N') OR (promotion.p_channel_event = 'N'))) -----------------------PhysicalFileScan[promotion] +----------------------PhysicalOlapScan[promotion] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query27.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query27.out index 79ea0b509ee2f5..f203bce45719dc 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query27.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query27.out @@ -18,16 +18,16 @@ PhysicalResultSink ------------------------------PhysicalProject --------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk] ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 +------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[item] +------------------------------------PhysicalOlapScan[item] ------------------------------PhysicalProject --------------------------------filter((customer_demographics.cd_education_status = '2 yr Degree') and (customer_demographics.cd_gender = 'F') and (customer_demographics.cd_marital_status = 'U')) -----------------------------------PhysicalFileScan[customer_demographics] +----------------------------------PhysicalOlapScan[customer_demographics] --------------------------PhysicalProject ----------------------------filter((date_dim.d_year = 2000)) -------------------------------PhysicalFileScan[date_dim] +------------------------------PhysicalOlapScan[date_dim] ----------------------PhysicalProject ------------------------filter(s_state IN ('AL', 'FL', 'IN', 'NY', 'OH', 'SC')) ---------------------------PhysicalFileScan[store] +--------------------------PhysicalOlapScan[store] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query28.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query28.out index e94e023aad5c26..eb43c81cde41c2 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query28.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query28.out @@ -18,40 +18,40 @@ PhysicalResultSink ------------------------------hashAgg[LOCAL] --------------------------------PhysicalProject ----------------------------------filter(((((store_sales.ss_list_price >= 73.00) AND (store_sales.ss_list_price <= 83.00)) OR ((store_sales.ss_coupon_amt >= 7826.00) AND (store_sales.ss_coupon_amt <= 8826.00))) OR ((store_sales.ss_wholesale_cost >= 70.00) AND (store_sales.ss_wholesale_cost <= 90.00))) and (store_sales.ss_quantity <= 5) and (store_sales.ss_quantity >= 0)) -------------------------------------PhysicalFileScan[store_sales] +------------------------------------PhysicalOlapScan[store_sales] ------------------------PhysicalLimit[LOCAL] --------------------------hashAgg[GLOBAL] ----------------------------PhysicalDistribute[DistributionSpecGather] ------------------------------hashAgg[LOCAL] --------------------------------PhysicalProject ----------------------------------filter(((((store_sales.ss_list_price >= 152.00) AND (store_sales.ss_list_price <= 162.00)) OR ((store_sales.ss_coupon_amt >= 2196.00) AND (store_sales.ss_coupon_amt <= 3196.00))) OR ((store_sales.ss_wholesale_cost >= 56.00) AND (store_sales.ss_wholesale_cost <= 76.00))) and (store_sales.ss_quantity <= 10) and (store_sales.ss_quantity >= 6)) -------------------------------------PhysicalFileScan[store_sales] +------------------------------------PhysicalOlapScan[store_sales] --------------------PhysicalLimit[LOCAL] ----------------------hashAgg[GLOBAL] ------------------------PhysicalDistribute[DistributionSpecGather] --------------------------hashAgg[LOCAL] ----------------------------PhysicalProject ------------------------------filter(((((store_sales.ss_list_price >= 53.00) AND (store_sales.ss_list_price <= 63.00)) OR ((store_sales.ss_coupon_amt >= 3430.00) AND (store_sales.ss_coupon_amt <= 4430.00))) OR ((store_sales.ss_wholesale_cost >= 13.00) AND (store_sales.ss_wholesale_cost <= 33.00))) and (store_sales.ss_quantity <= 15) and (store_sales.ss_quantity >= 11)) ---------------------------------PhysicalFileScan[store_sales] +--------------------------------PhysicalOlapScan[store_sales] ----------------PhysicalLimit[LOCAL] ------------------hashAgg[GLOBAL] --------------------PhysicalDistribute[DistributionSpecGather] ----------------------hashAgg[LOCAL] ------------------------PhysicalProject --------------------------filter(((((store_sales.ss_list_price >= 182.00) AND (store_sales.ss_list_price <= 192.00)) OR ((store_sales.ss_coupon_amt >= 3262.00) AND (store_sales.ss_coupon_amt <= 4262.00))) OR ((store_sales.ss_wholesale_cost >= 20.00) AND (store_sales.ss_wholesale_cost <= 40.00))) and (store_sales.ss_quantity <= 20) and (store_sales.ss_quantity >= 16)) -----------------------------PhysicalFileScan[store_sales] +----------------------------PhysicalOlapScan[store_sales] ------------PhysicalLimit[LOCAL] --------------hashAgg[GLOBAL] ----------------PhysicalDistribute[DistributionSpecGather] ------------------hashAgg[LOCAL] --------------------PhysicalProject ----------------------filter(((((store_sales.ss_list_price >= 85.00) AND (store_sales.ss_list_price <= 95.00)) OR ((store_sales.ss_coupon_amt >= 3310.00) AND (store_sales.ss_coupon_amt <= 4310.00))) OR ((store_sales.ss_wholesale_cost >= 37.00) AND (store_sales.ss_wholesale_cost <= 57.00))) and (store_sales.ss_quantity <= 25) and (store_sales.ss_quantity >= 21)) -------------------------PhysicalFileScan[store_sales] +------------------------PhysicalOlapScan[store_sales] --------PhysicalLimit[LOCAL] ----------hashAgg[GLOBAL] ------------PhysicalDistribute[DistributionSpecGather] --------------hashAgg[LOCAL] ----------------PhysicalProject ------------------filter(((((store_sales.ss_list_price >= 180.00) AND (store_sales.ss_list_price <= 190.00)) OR ((store_sales.ss_coupon_amt >= 12592.00) AND (store_sales.ss_coupon_amt <= 13592.00))) OR ((store_sales.ss_wholesale_cost >= 22.00) AND (store_sales.ss_wholesale_cost <= 42.00))) and (store_sales.ss_quantity <= 30) and (store_sales.ss_quantity >= 26)) ---------------------PhysicalFileScan[store_sales] +--------------------PhysicalOlapScan[store_sales] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query29.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query29.out index 404ca6dc6d8c42..706d570662c86b 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query29.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query29.out @@ -22,22 +22,22 @@ PhysicalResultSink --------------------------------------PhysicalProject ----------------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_customer_sk = store_returns.sr_customer_sk) and (store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=() build RFs:RF0 sr_customer_sk->[ss_customer_sk];RF1 sr_item_sk->[ss_item_sk];RF2 sr_ticket_number->[ss_ticket_number] ------------------------------------------PhysicalProject ---------------------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 RF4 RF5 RF6 RF9 +--------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 RF4 RF5 RF6 RF9 ------------------------------------------PhysicalProject ---------------------------------------------PhysicalFileScan[store_returns] apply RFs: RF3 RF4 RF5 RF7 +--------------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF3 RF4 RF5 RF7 --------------------------------------PhysicalProject -----------------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF8 +----------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF8 ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[item] +------------------------------------PhysicalOlapScan[item] ------------------------------PhysicalProject --------------------------------filter((d1.d_moy = 4) and (d1.d_year = 1998)) -----------------------------------PhysicalFileScan[date_dim] +----------------------------------PhysicalOlapScan[date_dim] --------------------------PhysicalProject ----------------------------filter((d2.d_moy <= 7) and (d2.d_moy >= 4) and (d2.d_year = 1998)) -------------------------------PhysicalFileScan[date_dim] +------------------------------PhysicalOlapScan[date_dim] ----------------------PhysicalProject ------------------------filter(d_year IN (1998, 1999, 2000)) ---------------------------PhysicalFileScan[date_dim] +--------------------------PhysicalOlapScan[date_dim] ------------------PhysicalProject ---------------------PhysicalFileScan[store] +--------------------PhysicalOlapScan[store] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query3.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query3.out index 9832492fd082bd..8beaf9b74953fb 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query3.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query3.out @@ -13,11 +13,11 @@ PhysicalResultSink --------------------PhysicalProject ----------------------hashJoin[INNER_JOIN broadcast] hashCondition=((dt.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ss_sold_date_sk] ------------------------PhysicalProject ---------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 +--------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 ------------------------PhysicalProject --------------------------filter((dt.d_moy = 11)) -----------------------------PhysicalFileScan[date_dim] +----------------------------PhysicalOlapScan[date_dim] --------------------PhysicalProject ----------------------filter((item.i_manufact_id = 816)) -------------------------PhysicalFileScan[item] +------------------------PhysicalOlapScan[item] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query30.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query30.out index b1ea3179b57730..cf017069f995b3 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query30.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query30.out @@ -11,31 +11,31 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ----------------PhysicalProject ------------------hashJoin[INNER_JOIN shuffle] hashCondition=((web_returns.wr_returning_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[wr_returning_addr_sk] --------------------PhysicalProject -----------------------PhysicalFileScan[web_returns] apply RFs: RF0 RF1 +----------------------PhysicalOlapScan[web_returns] apply RFs: RF0 RF1 --------------------PhysicalProject -----------------------PhysicalFileScan[customer_address] +----------------------PhysicalOlapScan[customer_address] ----------------PhysicalProject ------------------filter((date_dim.d_year = 2000)) ---------------------PhysicalFileScan[date_dim] +--------------------PhysicalOlapScan[date_dim] --PhysicalResultSink ----PhysicalTopN[MERGE_SORT] ------PhysicalDistribute[DistributionSpecGather] --------PhysicalTopN[LOCAL_SORT] ----------PhysicalProject -------------hashJoin[INNER_JOIN shuffleBucket] hashCondition=((ctr1.ctr_state = ctr2.ctr_state)) otherCondition=((cast(ctr_total_return as DOUBLE) > cast((avg(cast(ctr_total_return as DECIMALV3(38, 4))) * 1.2) as DOUBLE))) build RFs:RF4 ctr_state->[ctr_state] +------------hashJoin[INNER_JOIN broadcast] hashCondition=((customer_address.ca_address_sk = customer.c_current_addr_sk)) otherCondition=() build RFs:RF4 ca_address_sk->[c_current_addr_sk] --------------PhysicalProject -----------------hashJoin[INNER_JOIN broadcast] hashCondition=((customer_address.ca_address_sk = customer.c_current_addr_sk)) otherCondition=() build RFs:RF3 ca_address_sk->[c_current_addr_sk] +----------------hashJoin[INNER_JOIN shuffle] hashCondition=((ctr1.ctr_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF3 c_customer_sk->[ctr_customer_sk] ------------------PhysicalProject ---------------------hashJoin[INNER_JOIN shuffle] hashCondition=((ctr1.ctr_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF2 c_customer_sk->[ctr_customer_sk] -----------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF2 RF4 -----------------------PhysicalProject -------------------------PhysicalFileScan[customer] apply RFs: RF3 +--------------------hashJoin[INNER_JOIN shuffleBucket] hashCondition=((ctr1.ctr_state = ctr2.ctr_state)) otherCondition=((cast(ctr_total_return as DOUBLE) > cast((avg(cast(ctr_total_return as DECIMALV3(38, 4))) * 1.2) as DOUBLE))) build RFs:RF2 ctr_state->[ctr_state] +----------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF2 RF3 +----------------------hashAgg[GLOBAL] +------------------------PhysicalDistribute[DistributionSpecHash] +--------------------------hashAgg[LOCAL] +----------------------------PhysicalDistribute[DistributionSpecExecutionAny] +------------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) ------------------PhysicalProject ---------------------filter((customer_address.ca_state = 'GA')) -----------------------PhysicalFileScan[customer_address] ---------------hashAgg[GLOBAL] -----------------PhysicalDistribute[DistributionSpecHash] -------------------hashAgg[LOCAL] ---------------------PhysicalDistribute[DistributionSpecExecutionAny] -----------------------PhysicalCteConsumer ( cteId=CTEId#0 ) +--------------------PhysicalOlapScan[customer] apply RFs: RF4 +--------------PhysicalProject +----------------filter((customer_address.ca_state = 'GA')) +------------------PhysicalOlapScan[customer_address] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query31.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query31.out index e70d56d2e0ddbe..177a039758745c 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query31.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query31.out @@ -10,12 +10,12 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) --------------PhysicalProject ----------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[ss_addr_sk] ------------------PhysicalProject ---------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 +--------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 ------------------PhysicalProject ---------------------PhysicalFileScan[customer_address] +--------------------PhysicalOlapScan[customer_address] --------------PhysicalProject ----------------filter((ss.d_year = 1999) and d_qoy IN (1, 2, 3)) -------------------PhysicalFileScan[date_dim] +------------------PhysicalOlapScan[date_dim] --PhysicalCteAnchor ( cteId=CTEId#1 ) ----PhysicalCteProducer ( cteId=CTEId#1 ) ------hashAgg[GLOBAL] @@ -26,12 +26,12 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ----------------PhysicalProject ------------------hashJoin[INNER_JOIN shuffle] hashCondition=((web_sales.ws_bill_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF2 ca_address_sk->[ws_bill_addr_sk] --------------------PhysicalProject -----------------------PhysicalFileScan[web_sales] apply RFs: RF2 RF3 +----------------------PhysicalOlapScan[web_sales] apply RFs: RF2 RF3 --------------------PhysicalProject -----------------------PhysicalFileScan[customer_address] +----------------------PhysicalOlapScan[customer_address] ----------------PhysicalProject ------------------filter((ws.d_year = 1999) and d_qoy IN (1, 2, 3)) ---------------------PhysicalFileScan[date_dim] +--------------------PhysicalOlapScan[date_dim] ----PhysicalResultSink ------PhysicalQuickSort[MERGE_SORT] --------PhysicalDistribute[DistributionSpecGather] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query32.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query32.out index 3cca7544e2f6ef..a9acbffc271bf6 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query32.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query32.out @@ -15,11 +15,11 @@ PhysicalResultSink ------------------------PhysicalProject --------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((item.i_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[cs_item_sk] ----------------------------PhysicalProject -------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF0 RF1 +------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 ----------------------------PhysicalProject ------------------------------filter((item.i_manufact_id = 66)) ---------------------------------PhysicalFileScan[item] +--------------------------------PhysicalOlapScan[item] ------------------------PhysicalProject --------------------------filter((date_dim.d_date <= '2002-06-27') and (date_dim.d_date >= '2002-03-29')) -----------------------------PhysicalFileScan[date_dim] +----------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query33.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query33.out index fc11f71ff8de62..25ccfd29c87dfc 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query33.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query33.out @@ -19,19 +19,19 @@ PhysicalResultSink --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF1 ca_address_sk->[ss_addr_sk] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[store_sales] apply RFs: RF1 RF2 RF3 +--------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF1 RF2 RF3 ------------------------------------PhysicalProject --------------------------------------filter((customer_address.ca_gmt_offset = -6.00)) -----------------------------------------PhysicalFileScan[customer_address] +----------------------------------------PhysicalOlapScan[customer_address] --------------------------------hashJoin[LEFT_SEMI_JOIN broadcast] hashCondition=((item.i_manufact_id = item.i_manufact_id)) otherCondition=() build RFs:RF0 i_manufact_id->[i_manufact_id] ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[item] apply RFs: RF0 +------------------------------------PhysicalOlapScan[item] apply RFs: RF0 ----------------------------------PhysicalProject ------------------------------------filter((item.i_category = 'Home')) ---------------------------------------PhysicalFileScan[item] +--------------------------------------PhysicalOlapScan[item] ----------------------------PhysicalProject ------------------------------filter((date_dim.d_moy = 5) and (date_dim.d_year = 1998)) ---------------------------------PhysicalFileScan[date_dim] +--------------------------------PhysicalOlapScan[date_dim] ----------------PhysicalProject ------------------hashAgg[GLOBAL] --------------------PhysicalDistribute[DistributionSpecHash] @@ -43,19 +43,19 @@ PhysicalResultSink --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_bill_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF5 ca_address_sk->[cs_bill_addr_sk] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF5 RF6 RF7 +--------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF5 RF6 RF7 ------------------------------------PhysicalProject --------------------------------------filter((customer_address.ca_gmt_offset = -6.00)) -----------------------------------------PhysicalFileScan[customer_address] +----------------------------------------PhysicalOlapScan[customer_address] --------------------------------hashJoin[LEFT_SEMI_JOIN broadcast] hashCondition=((item.i_manufact_id = item.i_manufact_id)) otherCondition=() build RFs:RF4 i_manufact_id->[i_manufact_id] ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[item] apply RFs: RF4 +------------------------------------PhysicalOlapScan[item] apply RFs: RF4 ----------------------------------PhysicalProject ------------------------------------filter((item.i_category = 'Home')) ---------------------------------------PhysicalFileScan[item] +--------------------------------------PhysicalOlapScan[item] ----------------------------PhysicalProject ------------------------------filter((date_dim.d_moy = 5) and (date_dim.d_year = 1998)) ---------------------------------PhysicalFileScan[date_dim] +--------------------------------PhysicalOlapScan[date_dim] ----------------PhysicalProject ------------------hashAgg[GLOBAL] --------------------PhysicalDistribute[DistributionSpecHash] @@ -67,17 +67,17 @@ PhysicalResultSink --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_bill_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF9 ca_address_sk->[ws_bill_addr_sk] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[web_sales] apply RFs: RF9 RF10 RF11 +--------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF9 RF10 RF11 ------------------------------------PhysicalProject --------------------------------------filter((customer_address.ca_gmt_offset = -6.00)) -----------------------------------------PhysicalFileScan[customer_address] +----------------------------------------PhysicalOlapScan[customer_address] --------------------------------hashJoin[LEFT_SEMI_JOIN broadcast] hashCondition=((item.i_manufact_id = item.i_manufact_id)) otherCondition=() build RFs:RF8 i_manufact_id->[i_manufact_id] ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[item] apply RFs: RF8 +------------------------------------PhysicalOlapScan[item] apply RFs: RF8 ----------------------------------PhysicalProject ------------------------------------filter((item.i_category = 'Home')) ---------------------------------------PhysicalFileScan[item] +--------------------------------------PhysicalOlapScan[item] ----------------------------PhysicalProject ------------------------------filter((date_dim.d_moy = 5) and (date_dim.d_year = 1998)) ---------------------------------PhysicalFileScan[date_dim] +--------------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query34.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query34.out index 924a67db6b3f20..a883135293b760 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query34.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query34.out @@ -17,16 +17,16 @@ PhysicalResultSink ----------------------------PhysicalProject ------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ss_sold_date_sk] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 +----------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 --------------------------------PhysicalProject ----------------------------------filter((((date_dim.d_dom >= 1) AND (date_dim.d_dom <= 3)) OR ((date_dim.d_dom >= 25) AND (date_dim.d_dom <= 28))) and d_year IN (2000, 2001, 2002)) -------------------------------------PhysicalFileScan[date_dim] +------------------------------------PhysicalOlapScan[date_dim] ----------------------------PhysicalProject ------------------------------filter(s_county IN ('Arthur County', 'Halifax County', 'Lunenburg County', 'Oglethorpe County', 'Perry County', 'Salem County', 'Sumner County', 'Terrell County')) ---------------------------------PhysicalFileScan[store] +--------------------------------PhysicalOlapScan[store] ------------------------PhysicalProject --------------------------filter((household_demographics.hd_vehicle_count > 0) and (if((hd_vehicle_count > 0), (cast(hd_dep_count as DOUBLE) / cast(hd_vehicle_count as DOUBLE)), NULL) > 1.2) and hd_buy_potential IN ('>10000', 'Unknown')) -----------------------------PhysicalFileScan[household_demographics] +----------------------------PhysicalOlapScan[household_demographics] ------------PhysicalProject ---------------PhysicalFileScan[customer] +--------------PhysicalOlapScan[customer] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query35.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query35.out index 8630ff25984ed4..b14e619cc70b34 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query35.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query35.out @@ -10,38 +10,38 @@ PhysicalResultSink --------------hashAgg[LOCAL] ----------------PhysicalProject ------------------filter((ifnull($c$1, FALSE) OR ifnull($c$2, FALSE))) ---------------------hashJoin[LEFT_SEMI_JOIN shuffle] hashCondition=((c.c_customer_sk = catalog_sales.cs_ship_customer_sk)) otherCondition=() -----------------------PhysicalProject -------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((customer_demographics.cd_demo_sk = c.c_current_cdemo_sk)) otherCondition=() build RFs:RF5 cd_demo_sk->[c_current_cdemo_sk] ---------------------------PhysicalProject -----------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((c.c_current_addr_sk = ca.ca_address_sk)) otherCondition=() build RFs:RF4 ca_address_sk->[c_current_addr_sk] -------------------------------hashJoin[LEFT_SEMI_JOIN bucketShuffle] hashCondition=((c.c_customer_sk = web_sales.ws_bill_customer_sk)) otherCondition=() +--------------------hashJoin[LEFT_SEMI_JOIN bucketShuffle] hashCondition=((c.c_customer_sk = catalog_sales.cs_ship_customer_sk)) otherCondition=() +----------------------hashJoin[LEFT_SEMI_JOIN shuffle] hashCondition=((c.c_customer_sk = web_sales.ws_bill_customer_sk)) otherCondition=() +------------------------PhysicalProject +--------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((customer_demographics.cd_demo_sk = c.c_current_cdemo_sk)) otherCondition=() build RFs:RF5 cd_demo_sk->[c_current_cdemo_sk] +----------------------------PhysicalProject +------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((c.c_current_addr_sk = ca.ca_address_sk)) otherCondition=() build RFs:RF4 ca_address_sk->[c_current_addr_sk] --------------------------------hashJoin[RIGHT_SEMI_JOIN shuffle] hashCondition=((c.c_customer_sk = store_sales.ss_customer_sk)) otherCondition=() build RFs:RF3 c_customer_sk->[ss_customer_sk] ----------------------------------PhysicalProject ------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[ss_sold_date_sk] --------------------------------------PhysicalProject -----------------------------------------PhysicalFileScan[store_sales] apply RFs: RF2 RF3 +----------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF2 RF3 --------------------------------------PhysicalProject ----------------------------------------filter((date_dim.d_qoy < 4) and (date_dim.d_year = 2001)) -------------------------------------------PhysicalFileScan[date_dim] +------------------------------------------PhysicalOlapScan[date_dim] ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[customer] apply RFs: RF4 RF5 +------------------------------------PhysicalOlapScan[customer] apply RFs: RF4 RF5 --------------------------------PhysicalProject -----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ws_sold_date_sk] -------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[web_sales] apply RFs: RF1 -------------------------------------PhysicalProject ---------------------------------------filter((date_dim.d_qoy < 4) and (date_dim.d_year = 2001)) -----------------------------------------PhysicalFileScan[date_dim] -------------------------------PhysicalProject ---------------------------------PhysicalFileScan[customer_address] ---------------------------PhysicalProject -----------------------------PhysicalFileScan[customer_demographics] +----------------------------------PhysicalOlapScan[customer_address] +----------------------------PhysicalProject +------------------------------PhysicalOlapScan[customer_demographics] +------------------------PhysicalProject +--------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ws_sold_date_sk] +----------------------------PhysicalProject +------------------------------PhysicalOlapScan[web_sales] apply RFs: RF1 +----------------------------PhysicalProject +------------------------------filter((date_dim.d_qoy < 4) and (date_dim.d_year = 2001)) +--------------------------------PhysicalOlapScan[date_dim] ----------------------PhysicalProject ------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[cs_sold_date_sk] --------------------------PhysicalProject -----------------------------PhysicalFileScan[catalog_sales] apply RFs: RF0 +----------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 --------------------------PhysicalProject ----------------------------filter((date_dim.d_qoy < 4) and (date_dim.d_year = 2001)) -------------------------------PhysicalFileScan[date_dim] +------------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query36.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query36.out index 9e7a592462cefe..e2879bb57387ed 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query36.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query36.out @@ -21,13 +21,13 @@ PhysicalResultSink ------------------------------------PhysicalProject --------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((item.i_item_sk = store_sales.ss_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk] ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 +------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[item] +------------------------------------------PhysicalOlapScan[item] ------------------------------------PhysicalProject --------------------------------------filter((d1.d_year = 1999)) -----------------------------------------PhysicalFileScan[date_dim] +----------------------------------------PhysicalOlapScan[date_dim] --------------------------------PhysicalProject ----------------------------------filter(s_state IN ('AL', 'FL', 'IN', 'LA', 'MI', 'MN', 'NM', 'TN')) -------------------------------------PhysicalFileScan[store] +------------------------------------PhysicalOlapScan[store] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query37.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query37.out index e8aab10aaa2077..adb94069ace3e3 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query37.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query37.out @@ -10,18 +10,18 @@ PhysicalResultSink --------------PhysicalProject ----------------hashJoin[INNER_JOIN shuffle] hashCondition=((catalog_sales.cs_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF2 i_item_sk->[cs_item_sk] ------------------PhysicalProject ---------------------PhysicalFileScan[catalog_sales] apply RFs: RF2 +--------------------PhysicalOlapScan[catalog_sales] apply RFs: RF2 ------------------PhysicalProject --------------------hashJoin[INNER_JOIN broadcast] hashCondition=((date_dim.d_date_sk = inventory.inv_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[inv_date_sk] ----------------------PhysicalProject ------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((inventory.inv_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[inv_item_sk] --------------------------PhysicalProject ----------------------------filter((inventory.inv_quantity_on_hand <= 500) and (inventory.inv_quantity_on_hand >= 100)) -------------------------------PhysicalFileScan[inventory] apply RFs: RF0 RF1 +------------------------------PhysicalOlapScan[inventory] apply RFs: RF0 RF1 --------------------------PhysicalProject ----------------------------filter((item.i_current_price <= 69.00) and (item.i_current_price >= 39.00) and i_manufact_id IN (728, 765, 886, 889)) -------------------------------PhysicalFileScan[item] +------------------------------PhysicalOlapScan[item] ----------------------PhysicalProject ------------------------filter((date_dim.d_date <= '2001-03-17') and (date_dim.d_date >= '2001-01-16')) ---------------------------PhysicalFileScan[date_dim] +--------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query38.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query38.out index 3d43ec326f2909..08d22c95f4ff40 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query38.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query38.out @@ -15,12 +15,12 @@ PhysicalResultSink ------------------------PhysicalProject --------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((web_sales.ws_bill_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF0 c_customer_sk->[ws_bill_customer_sk] ----------------------------PhysicalProject -------------------------------PhysicalFileScan[web_sales] apply RFs: RF0 RF1 +------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 ----------------------------PhysicalProject -------------------------------PhysicalFileScan[customer] +------------------------------PhysicalOlapScan[customer] ------------------------PhysicalProject --------------------------filter((date_dim.d_month_seq <= 1197) and (date_dim.d_month_seq >= 1186)) -----------------------------PhysicalFileScan[date_dim] +----------------------------PhysicalOlapScan[date_dim] --------------hashAgg[GLOBAL] ----------------PhysicalDistribute[DistributionSpecHash] ------------------hashAgg[LOCAL] @@ -29,12 +29,12 @@ PhysicalResultSink ------------------------PhysicalProject --------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((catalog_sales.cs_bill_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF2 c_customer_sk->[cs_bill_customer_sk] ----------------------------PhysicalProject -------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF2 RF3 +------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF2 RF3 ----------------------------PhysicalProject -------------------------------PhysicalFileScan[customer] +------------------------------PhysicalOlapScan[customer] ------------------------PhysicalProject --------------------------filter((date_dim.d_month_seq <= 1197) and (date_dim.d_month_seq >= 1186)) -----------------------------PhysicalFileScan[date_dim] +----------------------------PhysicalOlapScan[date_dim] --------------hashAgg[GLOBAL] ----------------PhysicalDistribute[DistributionSpecHash] ------------------hashAgg[LOCAL] @@ -43,10 +43,10 @@ PhysicalResultSink ------------------------PhysicalProject --------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF4 c_customer_sk->[ss_customer_sk] ----------------------------PhysicalProject -------------------------------PhysicalFileScan[store_sales] apply RFs: RF4 RF5 +------------------------------PhysicalOlapScan[store_sales] apply RFs: RF4 RF5 ----------------------------PhysicalProject -------------------------------PhysicalFileScan[customer] +------------------------------PhysicalOlapScan[customer] ------------------------PhysicalProject --------------------------filter((date_dim.d_month_seq <= 1197) and (date_dim.d_month_seq >= 1186)) -----------------------------PhysicalFileScan[date_dim] +----------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query39.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query39.out index 9eaf172d3f6664..b238464ddeedbb 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query39.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query39.out @@ -13,14 +13,14 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) --------------------hashJoin[INNER_JOIN broadcast] hashCondition=((inventory.inv_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=() build RFs:RF1 w_warehouse_sk->[inv_warehouse_sk] ----------------------PhysicalProject ------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((inventory.inv_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[inv_item_sk] ---------------------------PhysicalFileScan[inventory] apply RFs: RF0 RF1 RF2 +--------------------------PhysicalOlapScan[inventory] apply RFs: RF0 RF1 RF2 --------------------------PhysicalProject -----------------------------PhysicalFileScan[item] +----------------------------PhysicalOlapScan[item] ----------------------PhysicalProject -------------------------PhysicalFileScan[warehouse] +------------------------PhysicalOlapScan[warehouse] ------------------PhysicalProject --------------------filter((date_dim.d_year = 2000) and d_moy IN (2, 3)) -----------------------PhysicalFileScan[date_dim] +----------------------PhysicalOlapScan[date_dim] --PhysicalResultSink ----PhysicalQuickSort[MERGE_SORT] ------PhysicalDistribute[DistributionSpecGather] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query4.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query4.out index 0fc12e7897b38b..163b1cb7c71753 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query4.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query4.out @@ -12,12 +12,12 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ------------------PhysicalProject --------------------hashJoin[INNER_JOIN shuffle] hashCondition=((customer.c_customer_sk = store_sales.ss_customer_sk)) otherCondition=() build RFs:RF0 c_customer_sk->[ss_customer_sk] ----------------------PhysicalProject -------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 +------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 ----------------------PhysicalProject -------------------------PhysicalFileScan[customer] +------------------------PhysicalOlapScan[customer] ------------------PhysicalProject --------------------filter(d_year IN (1999, 2000)) -----------------------PhysicalFileScan[date_dim] +----------------------PhysicalOlapScan[date_dim] ------PhysicalProject --------hashAgg[GLOBAL] ----------PhysicalDistribute[DistributionSpecHash] @@ -27,12 +27,12 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ------------------PhysicalProject --------------------hashJoin[INNER_JOIN shuffle] hashCondition=((customer.c_customer_sk = catalog_sales.cs_bill_customer_sk)) otherCondition=() build RFs:RF2 c_customer_sk->[cs_bill_customer_sk] ----------------------PhysicalProject -------------------------PhysicalFileScan[catalog_sales] apply RFs: RF2 RF3 +------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF2 RF3 ----------------------PhysicalProject -------------------------PhysicalFileScan[customer] +------------------------PhysicalOlapScan[customer] ------------------PhysicalProject --------------------filter(d_year IN (1999, 2000)) -----------------------PhysicalFileScan[date_dim] +----------------------PhysicalOlapScan[date_dim] ------PhysicalProject --------hashAgg[GLOBAL] ----------PhysicalDistribute[DistributionSpecHash] @@ -42,12 +42,12 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ------------------PhysicalProject --------------------hashJoin[INNER_JOIN shuffle] hashCondition=((customer.c_customer_sk = web_sales.ws_bill_customer_sk)) otherCondition=() build RFs:RF4 c_customer_sk->[ws_bill_customer_sk] ----------------------PhysicalProject -------------------------PhysicalFileScan[web_sales] apply RFs: RF4 RF5 +------------------------PhysicalOlapScan[web_sales] apply RFs: RF4 RF5 ----------------------PhysicalProject -------------------------PhysicalFileScan[customer] +------------------------PhysicalOlapScan[customer] ------------------PhysicalProject --------------------filter(d_year IN (1999, 2000)) -----------------------PhysicalFileScan[date_dim] +----------------------PhysicalOlapScan[date_dim] --PhysicalResultSink ----PhysicalTopN[MERGE_SORT] ------PhysicalDistribute[DistributionSpecGather] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query40.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query40.out index ea96a3186de53c..414f6e3e0bd2ed 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query40.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query40.out @@ -16,15 +16,15 @@ PhysicalResultSink --------------------------PhysicalProject ----------------------------hashJoin[LEFT_OUTER_JOIN shuffle] hashCondition=((catalog_sales.cs_item_sk = catalog_returns.cr_item_sk) and (catalog_sales.cs_order_number = catalog_returns.cr_order_number)) otherCondition=() ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF0 RF1 RF2 +--------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2 ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[catalog_returns] +--------------------------------PhysicalOlapScan[catalog_returns] --------------------------PhysicalProject -----------------------------PhysicalFileScan[warehouse] +----------------------------PhysicalOlapScan[warehouse] ----------------------PhysicalProject ------------------------filter((item.i_current_price <= 1.49) and (item.i_current_price >= 0.99)) ---------------------------PhysicalFileScan[item] +--------------------------PhysicalOlapScan[item] ------------------PhysicalProject --------------------filter((date_dim.d_date <= '2000-04-17') and (date_dim.d_date >= '2000-02-17')) -----------------------PhysicalFileScan[date_dim] +----------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query41.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query41.out index 3f7785cf7ef95d..11bcf3db2e7c79 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query41.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query41.out @@ -11,7 +11,7 @@ PhysicalResultSink ----------------hashJoin[INNER_JOIN broadcast] hashCondition=((item.i_manufact = i1.i_manufact)) otherCondition=() build RFs:RF0 i_manufact->[i_manufact] ------------------PhysicalProject --------------------filter((i1.i_manufact_id <= 1010) and (i1.i_manufact_id >= 970)) -----------------------PhysicalFileScan[item] apply RFs: RF0 +----------------------PhysicalOlapScan[item] apply RFs: RF0 ------------------PhysicalProject --------------------filter((ifnull(item_cnt, 0) > 0)) ----------------------hashAgg[GLOBAL] @@ -19,5 +19,5 @@ PhysicalResultSink --------------------------hashAgg[LOCAL] ----------------------------PhysicalProject ------------------------------filter((((i_color IN ('black', 'chocolate', 'cornflower', 'firebrick', 'frosted', 'magenta', 'rose', 'slate') AND i_units IN ('Box', 'Bundle', 'Carton', 'Dram', 'Gross', 'Lb', 'Oz', 'Pound')) AND ((((((item.i_category = 'Women') AND i_color IN ('frosted', 'rose')) AND i_units IN ('Gross', 'Lb')) AND i_size IN ('large', 'medium')) OR ((((item.i_category = 'Women') AND i_color IN ('black', 'chocolate')) AND i_units IN ('Box', 'Dram')) AND i_size IN ('economy', 'petite'))) OR (((((item.i_category = 'Men') AND i_color IN ('magenta', 'slate')) AND i_units IN ('Bundle', 'Carton')) AND i_size IN ('N/A', 'small')) OR ((((item.i_category = 'Men') AND i_color IN ('cornflower', 'firebrick')) AND i_units IN ('Oz', 'Pound')) AND i_size IN ('large', 'medium'))))) OR ((i_color IN ('almond', 'aquamarine', 'cyan', 'lavender', 'maroon', 'papaya', 'purple', 'steel') AND i_units IN ('Bunch', 'Case', 'Cup', 'Each', 'Gram', 'N/A', 'Pallet', 'Tsp')) AND ((((((item.i_category = 'Women') AND i_color IN ('almond', 'steel')) AND i_units IN ('Case', 'Tsp')) AND i_size IN ('large', 'medium')) OR ((((item.i_category = 'Women') AND i_color IN ('aquamarine', 'purple')) AND i_units IN ('Bunch', 'Gram')) AND i_size IN ('economy', 'petite'))) OR (((((item.i_category = 'Men') AND i_color IN ('lavender', 'papaya')) AND i_units IN ('Cup', 'Pallet')) AND i_size IN ('N/A', 'small')) OR ((((item.i_category = 'Men') AND i_color IN ('cyan', 'maroon')) AND i_units IN ('Each', 'N/A')) AND i_size IN ('large', 'medium')))))) and i_category IN ('Men', 'Women') and i_size IN ('N/A', 'economy', 'large', 'medium', 'petite', 'small')) ---------------------------------PhysicalFileScan[item] +--------------------------------PhysicalOlapScan[item] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query42.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query42.out index bde942a47a18b3..913ce1a76228d5 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query42.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query42.out @@ -12,11 +12,11 @@ PhysicalResultSink ------------------PhysicalProject --------------------hashJoin[INNER_JOIN broadcast] hashCondition=((dt.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ss_sold_date_sk] ----------------------PhysicalProject -------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 +------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 ----------------------PhysicalProject ------------------------filter((dt.d_moy = 12) and (dt.d_year = 1998)) ---------------------------PhysicalFileScan[date_dim] +--------------------------PhysicalOlapScan[date_dim] ------------------PhysicalProject --------------------filter((item.i_manager_id = 1)) -----------------------PhysicalFileScan[item] +----------------------PhysicalOlapScan[item] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query43.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query43.out index 6b533e6b754723..78b5268407800c 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query43.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query43.out @@ -12,11 +12,11 @@ PhysicalResultSink ------------------PhysicalProject --------------------hashJoin[INNER_JOIN broadcast] hashCondition=((date_dim.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ss_sold_date_sk] ----------------------PhysicalProject -------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 +------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 ----------------------PhysicalProject ------------------------filter((date_dim.d_year = 2001)) ---------------------------PhysicalFileScan[date_dim] +--------------------------PhysicalOlapScan[date_dim] ------------------PhysicalProject --------------------filter((store.s_gmt_offset = -6.00)) -----------------------PhysicalFileScan[store] +----------------------PhysicalOlapScan[store] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query44.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query44.out index 140e211068bac6..6549d1401b11a3 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query44.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query44.out @@ -9,7 +9,7 @@ PhysicalResultSink ------------PhysicalProject --------------hashJoin[INNER_JOIN broadcast] hashCondition=((i1.i_item_sk = asceding.item_sk)) otherCondition=() build RFs:RF0 item_sk->[i_item_sk] ----------------PhysicalProject -------------------PhysicalFileScan[item] apply RFs: RF0 +------------------PhysicalOlapScan[item] apply RFs: RF0 ----------------PhysicalProject ------------------hashJoin[INNER_JOIN broadcast] hashCondition=((asceding.rnk = descending.rnk)) otherCondition=() --------------------PhysicalProject @@ -27,7 +27,7 @@ PhysicalResultSink --------------------------------------------hashAgg[LOCAL] ----------------------------------------------PhysicalProject ------------------------------------------------filter((ss1.ss_store_sk = 366)) ---------------------------------------------------PhysicalFileScan[store_sales] +--------------------------------------------------PhysicalOlapScan[store_sales] --------------------------------------PhysicalProject ----------------------------------------PhysicalAssertNumRows ------------------------------------------PhysicalDistribute[DistributionSpecGather] @@ -37,7 +37,7 @@ PhysicalResultSink --------------------------------------------------hashAgg[LOCAL] ----------------------------------------------------PhysicalProject ------------------------------------------------------filter((store_sales.ss_store_sk = 366) and ss_cdemo_sk IS NULL) ---------------------------------------------------------PhysicalFileScan[store_sales] +--------------------------------------------------------PhysicalOlapScan[store_sales] --------------------PhysicalProject ----------------------filter((rnk < 11)) ------------------------PhysicalWindow @@ -53,7 +53,7 @@ PhysicalResultSink --------------------------------------------hashAgg[LOCAL] ----------------------------------------------PhysicalProject ------------------------------------------------filter((ss1.ss_store_sk = 366)) ---------------------------------------------------PhysicalFileScan[store_sales] +--------------------------------------------------PhysicalOlapScan[store_sales] --------------------------------------PhysicalProject ----------------------------------------PhysicalAssertNumRows ------------------------------------------PhysicalDistribute[DistributionSpecGather] @@ -63,7 +63,7 @@ PhysicalResultSink --------------------------------------------------hashAgg[LOCAL] ----------------------------------------------------PhysicalProject ------------------------------------------------------filter((store_sales.ss_store_sk = 366) and ss_cdemo_sk IS NULL) ---------------------------------------------------------PhysicalFileScan[store_sales] +--------------------------------------------------------PhysicalOlapScan[store_sales] ------------PhysicalProject ---------------PhysicalFileScan[item] +--------------PhysicalOlapScan[item] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query45.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query45.out index 3e3e5f6bb76fc3..98618affdbd763 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query45.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query45.out @@ -17,19 +17,19 @@ PhysicalResultSink ----------------------------PhysicalProject ------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((web_sales.ws_bill_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF0 c_customer_sk->[ws_bill_customer_sk] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[web_sales] apply RFs: RF0 RF2 RF3 +----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF2 RF3 --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[customer] apply RFs: RF1 +----------------------------------PhysicalOlapScan[customer] apply RFs: RF1 ----------------------------PhysicalProject -------------------------------PhysicalFileScan[customer_address] +------------------------------PhysicalOlapScan[customer_address] ------------------------PhysicalProject --------------------------filter((date_dim.d_qoy = 1) and (date_dim.d_year = 1998)) -----------------------------PhysicalFileScan[date_dim] +----------------------------PhysicalOlapScan[date_dim] --------------------PhysicalProject ----------------------hashJoin[LEFT_SEMI_JOIN broadcast] hashCondition=((item.i_item_id = item.i_item_id)) otherCondition=() ------------------------PhysicalProject ---------------------------PhysicalFileScan[item] +--------------------------PhysicalOlapScan[item] ------------------------PhysicalProject --------------------------filter(i_item_sk IN (11, 13, 17, 19, 2, 23, 29, 3, 5, 7)) -----------------------------PhysicalFileScan[item] +----------------------------PhysicalOlapScan[item] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query46.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query46.out index 58c63c2f12c7b5..2831d1a7f8f00a 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query46.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query46.out @@ -11,28 +11,28 @@ PhysicalResultSink ----------------PhysicalProject ------------------hashAgg[LOCAL] --------------------PhysicalProject -----------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk)) otherCondition=() build RFs:RF3 hd_demo_sk->[ss_hdemo_sk] +----------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF3 ca_address_sk->[ss_addr_sk] ------------------------PhysicalProject ---------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_store_sk = store.s_store_sk)) otherCondition=() build RFs:RF2 s_store_sk->[ss_store_sk] +--------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk)) otherCondition=() build RFs:RF2 hd_demo_sk->[ss_hdemo_sk] ----------------------------PhysicalProject -------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk] +------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_store_sk = store.s_store_sk)) otherCondition=() build RFs:RF1 s_store_sk->[ss_store_sk] --------------------------------PhysicalProject -----------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[ss_addr_sk] +----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ss_sold_date_sk] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 RF4 +--------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 RF4 ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[customer_address] +--------------------------------------filter(d_dow IN (0, 6) and d_year IN (2000, 2001, 2002)) +----------------------------------------PhysicalOlapScan[date_dim] --------------------------------PhysicalProject -----------------------------------filter(d_dow IN (0, 6) and d_year IN (2000, 2001, 2002)) -------------------------------------PhysicalFileScan[date_dim] +----------------------------------filter(s_city IN ('Fairview', 'Farmington', 'Five Forks', 'Oakland', 'Winchester')) +------------------------------------PhysicalOlapScan[store] ----------------------------PhysicalProject -------------------------------filter(s_city IN ('Fairview', 'Farmington', 'Five Forks', 'Oakland', 'Winchester')) ---------------------------------PhysicalFileScan[store] +------------------------------filter(((household_demographics.hd_dep_count = 0) OR (household_demographics.hd_vehicle_count = 1))) +--------------------------------PhysicalOlapScan[household_demographics] ------------------------PhysicalProject ---------------------------filter(((household_demographics.hd_dep_count = 0) OR (household_demographics.hd_vehicle_count = 1))) -----------------------------PhysicalFileScan[household_demographics] +--------------------------PhysicalOlapScan[customer_address] ----------------PhysicalProject -------------------PhysicalFileScan[customer] apply RFs: RF5 +------------------PhysicalOlapScan[customer] apply RFs: RF5 ------------PhysicalProject ---------------PhysicalFileScan[customer_address] +--------------PhysicalOlapScan[customer_address] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query47.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query47.out index 027fa126db4ecc..591df70c5abce8 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query47.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query47.out @@ -19,14 +19,14 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 +--------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[item] +--------------------------------------PhysicalOlapScan[item] --------------------------------PhysicalProject ----------------------------------filter((((date_dim.d_year = 1999) OR ((date_dim.d_year = 1998) AND (date_dim.d_moy = 12))) OR ((date_dim.d_year = 2000) AND (date_dim.d_moy = 1))) and d_year IN (1998, 1999, 2000) and d_year IN (1998, 1999, 2000)) -------------------------------------PhysicalFileScan[date_dim] +------------------------------------PhysicalOlapScan[date_dim] ----------------------------PhysicalProject -------------------------------PhysicalFileScan[store] +------------------------------PhysicalOlapScan[store] --PhysicalResultSink ----PhysicalProject ------PhysicalTopN[MERGE_SORT] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query48.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query48.out index 27fae21807f07a..cb48bf987d7340 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query48.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query48.out @@ -14,16 +14,16 @@ PhysicalResultSink ----------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store.s_store_sk = store_sales.ss_store_sk)) otherCondition=() build RFs:RF0 s_store_sk->[ss_store_sk] ------------------------PhysicalProject --------------------------filter((store_sales.ss_net_profit <= 25000.00) and (store_sales.ss_net_profit >= 0.00) and (store_sales.ss_sales_price <= 200.00) and (store_sales.ss_sales_price >= 50.00)) -----------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 +----------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 ------------------------PhysicalProject ---------------------------PhysicalFileScan[store] +--------------------------PhysicalOlapScan[store] --------------------PhysicalProject ----------------------filter(((((customer_demographics.cd_marital_status = 'M') AND (customer_demographics.cd_education_status = 'Unknown')) OR ((customer_demographics.cd_marital_status = 'W') AND (customer_demographics.cd_education_status = 'College'))) OR ((customer_demographics.cd_marital_status = 'D') AND (customer_demographics.cd_education_status = 'Primary'))) and cd_education_status IN ('College', 'Primary', 'Unknown') and cd_marital_status IN ('D', 'M', 'W')) -------------------------PhysicalFileScan[customer_demographics] +------------------------PhysicalOlapScan[customer_demographics] ----------------PhysicalProject ------------------filter((customer_address.ca_country = 'United States') and ca_state IN ('FL', 'GA', 'KY', 'MI', 'NH', 'NY', 'OH', 'SD', 'TX')) ---------------------PhysicalFileScan[customer_address] +--------------------PhysicalOlapScan[customer_address] ------------PhysicalProject --------------filter((date_dim.d_year = 1998)) -----------------PhysicalFileScan[date_dim] +----------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query49.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query49.out index e8de60423d302a..398dcef280ccea 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query49.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query49.out @@ -33,13 +33,13 @@ PhysicalResultSink ------------------------------------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((ws.ws_item_sk = wr.wr_item_sk) and (ws.ws_order_number = wr.wr_order_number)) otherCondition=() build RFs:RF0 wr_order_number->[ws_order_number];RF1 wr_item_sk->[ws_item_sk] --------------------------------------------------------------PhysicalProject ----------------------------------------------------------------filter((ws.ws_net_paid > 0.00) and (ws.ws_net_profit > 1.00) and (ws.ws_quantity > 0)) -------------------------------------------------------------------PhysicalFileScan[web_sales] apply RFs: RF0 RF1 RF2 +------------------------------------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF2 --------------------------------------------------------------PhysicalProject ----------------------------------------------------------------filter((wr.wr_return_amt > 10000.00)) -------------------------------------------------------------------PhysicalFileScan[web_returns] +------------------------------------------------------------------PhysicalOlapScan[web_returns] ----------------------------------------------------------PhysicalProject ------------------------------------------------------------filter((date_dim.d_moy = 12) and (date_dim.d_year = 2000)) ---------------------------------------------------------------PhysicalFileScan[date_dim] +--------------------------------------------------------------PhysicalOlapScan[date_dim] ----------------PhysicalDistribute[DistributionSpecExecutionAny] ------------------PhysicalTopN[MERGE_SORT] --------------------PhysicalDistribute[DistributionSpecGather] @@ -65,13 +65,13 @@ PhysicalResultSink ------------------------------------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((cs.cs_item_sk = cr.cr_item_sk) and (cs.cs_order_number = cr.cr_order_number)) otherCondition=() build RFs:RF3 cr_order_number->[cs_order_number];RF4 cr_item_sk->[cs_item_sk] --------------------------------------------------------------PhysicalProject ----------------------------------------------------------------filter((cs.cs_net_paid > 0.00) and (cs.cs_net_profit > 1.00) and (cs.cs_quantity > 0)) -------------------------------------------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF3 RF4 RF5 +------------------------------------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF3 RF4 RF5 --------------------------------------------------------------PhysicalProject ----------------------------------------------------------------filter((cr.cr_return_amount > 10000.00)) -------------------------------------------------------------------PhysicalFileScan[catalog_returns] +------------------------------------------------------------------PhysicalOlapScan[catalog_returns] ----------------------------------------------------------PhysicalProject ------------------------------------------------------------filter((date_dim.d_moy = 12) and (date_dim.d_year = 2000)) ---------------------------------------------------------------PhysicalFileScan[date_dim] +--------------------------------------------------------------PhysicalOlapScan[date_dim] ----------------PhysicalDistribute[DistributionSpecExecutionAny] ------------------PhysicalTopN[MERGE_SORT] --------------------PhysicalDistribute[DistributionSpecGather] @@ -97,11 +97,11 @@ PhysicalResultSink ------------------------------------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((sts.ss_item_sk = sr.sr_item_sk) and (sts.ss_ticket_number = sr.sr_ticket_number)) otherCondition=() build RFs:RF6 sr_ticket_number->[ss_ticket_number];RF7 sr_item_sk->[ss_item_sk] --------------------------------------------------------------PhysicalProject ----------------------------------------------------------------filter((sts.ss_net_paid > 0.00) and (sts.ss_net_profit > 1.00) and (sts.ss_quantity > 0)) -------------------------------------------------------------------PhysicalFileScan[store_sales] apply RFs: RF6 RF7 RF8 +------------------------------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF6 RF7 RF8 --------------------------------------------------------------PhysicalProject ----------------------------------------------------------------filter((sr.sr_return_amt > 10000.00)) -------------------------------------------------------------------PhysicalFileScan[store_returns] +------------------------------------------------------------------PhysicalOlapScan[store_returns] ----------------------------------------------------------PhysicalProject ------------------------------------------------------------filter((date_dim.d_moy = 12) and (date_dim.d_year = 2000)) ---------------------------------------------------------------PhysicalFileScan[date_dim] +--------------------------------------------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query5.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query5.out index d5d9f0c5988ab9..db6861185074c9 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query5.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query5.out @@ -21,15 +21,15 @@ PhysicalResultSink ------------------------------------PhysicalUnion --------------------------------------PhysicalDistribute[DistributionSpecHash] ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 +------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 --------------------------------------PhysicalDistribute[DistributionSpecHash] ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[store_returns] apply RFs: RF0 RF1 +------------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF0 RF1 ------------------------------------PhysicalProject --------------------------------------filter((date_dim.d_date <= '2000-09-02') and (date_dim.d_date >= '2000-08-19')) -----------------------------------------PhysicalFileScan[date_dim] +----------------------------------------PhysicalOlapScan[date_dim] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[store] +----------------------------------PhysicalOlapScan[store] --------------------PhysicalProject ----------------------hashAgg[GLOBAL] ------------------------PhysicalDistribute[DistributionSpecHash] @@ -41,15 +41,15 @@ PhysicalResultSink ------------------------------------PhysicalUnion --------------------------------------PhysicalDistribute[DistributionSpecHash] ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF2 RF3 +------------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF2 RF3 --------------------------------------PhysicalDistribute[DistributionSpecHash] ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[catalog_returns] apply RFs: RF2 RF3 +------------------------------------------PhysicalOlapScan[catalog_returns] apply RFs: RF2 RF3 ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[catalog_page] +--------------------------------------PhysicalOlapScan[catalog_page] --------------------------------PhysicalProject ----------------------------------filter((date_dim.d_date <= '2000-09-02') and (date_dim.d_date >= '2000-08-19')) -------------------------------------PhysicalFileScan[date_dim] +------------------------------------PhysicalOlapScan[date_dim] --------------------PhysicalProject ----------------------hashAgg[GLOBAL] ------------------------PhysicalDistribute[DistributionSpecHash] @@ -61,17 +61,17 @@ PhysicalResultSink ------------------------------------PhysicalUnion --------------------------------------PhysicalDistribute[DistributionSpecHash] ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[web_sales] apply RFs: RF6 RF7 +------------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF6 RF7 --------------------------------------PhysicalDistribute[DistributionSpecHash] ----------------------------------------PhysicalProject ------------------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((web_returns.wr_item_sk = web_sales.ws_item_sk) and (web_returns.wr_order_number = web_sales.ws_order_number)) otherCondition=() build RFs:RF4 wr_item_sk->[ws_item_sk];RF5 wr_order_number->[ws_order_number] --------------------------------------------PhysicalProject -----------------------------------------------PhysicalFileScan[web_sales] apply RFs: RF4 RF5 RF7 +----------------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF4 RF5 RF7 --------------------------------------------PhysicalProject -----------------------------------------------PhysicalFileScan[web_returns] apply RFs: RF6 +----------------------------------------------PhysicalOlapScan[web_returns] apply RFs: RF6 ------------------------------------PhysicalProject --------------------------------------filter((date_dim.d_date <= '2000-09-02') and (date_dim.d_date >= '2000-08-19')) -----------------------------------------PhysicalFileScan[date_dim] +----------------------------------------PhysicalOlapScan[date_dim] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[web_site] +----------------------------------PhysicalOlapScan[web_site] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query50.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query50.out index ef7b9428710625..d2eda4d35debce 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query50.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query50.out @@ -16,14 +16,14 @@ PhysicalResultSink --------------------------PhysicalProject ----------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_customer_sk = store_returns.sr_customer_sk) and (store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=() build RFs:RF0 sr_ticket_number->[ss_ticket_number];RF1 sr_item_sk->[ss_item_sk];RF2 sr_customer_sk->[ss_customer_sk] ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 RF4 +--------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 RF4 ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[store_returns] apply RFs: RF5 +--------------------------------PhysicalOlapScan[store_returns] apply RFs: RF5 --------------------------PhysicalProject -----------------------------PhysicalFileScan[store] +----------------------------PhysicalOlapScan[store] ----------------------PhysicalProject -------------------------PhysicalFileScan[date_dim] +------------------------PhysicalOlapScan[date_dim] ------------------PhysicalProject --------------------filter((d2.d_moy = 9) and (d2.d_year = 1998)) -----------------------PhysicalFileScan[date_dim] +----------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query51.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query51.out index 16d6878aa6c9d6..5635b5dbabf1b6 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query51.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query51.out @@ -21,11 +21,10 @@ PhysicalResultSink ------------------------------------PhysicalProject --------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk] ----------------------------------------PhysicalProject -------------------------------------------filter(( not ss_item_sk IS NULL)) ---------------------------------------------PhysicalFileScan[store_sales] apply RFs: RF1 +------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF1 ----------------------------------------PhysicalProject ------------------------------------------filter((date_dim.d_month_seq <= 1225) and (date_dim.d_month_seq >= 1214)) ---------------------------------------------PhysicalFileScan[date_dim] +--------------------------------------------PhysicalOlapScan[date_dim] --------------------PhysicalProject ----------------------PhysicalWindow ------------------------PhysicalQuickSort[LOCAL_SORT] @@ -37,9 +36,8 @@ PhysicalResultSink ------------------------------------PhysicalProject --------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ws_sold_date_sk] ----------------------------------------PhysicalProject -------------------------------------------filter(( not ws_item_sk IS NULL)) ---------------------------------------------PhysicalFileScan[web_sales] apply RFs: RF0 +------------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 ----------------------------------------PhysicalProject ------------------------------------------filter((date_dim.d_month_seq <= 1225) and (date_dim.d_month_seq >= 1214)) ---------------------------------------------PhysicalFileScan[date_dim] +--------------------------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query52.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query52.out index 5d6b71bd4446ed..c4ca0099a7bf6c 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query52.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query52.out @@ -13,11 +13,11 @@ PhysicalResultSink --------------------PhysicalProject ----------------------hashJoin[INNER_JOIN broadcast] hashCondition=((dt.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ss_sold_date_sk] ------------------------PhysicalProject ---------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 +--------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 ------------------------PhysicalProject --------------------------filter((dt.d_moy = 12) and (dt.d_year = 2000)) -----------------------------PhysicalFileScan[date_dim] +----------------------------PhysicalOlapScan[date_dim] --------------------PhysicalProject ----------------------filter((item.i_manager_id = 1)) -------------------------PhysicalFileScan[item] +------------------------PhysicalOlapScan[item] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query53.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query53.out index 7dc475fb6ce9c8..0ef41f5f16c373 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query53.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query53.out @@ -20,13 +20,13 @@ PhysicalResultSink ----------------------------------PhysicalProject ------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk] --------------------------------------PhysicalProject -----------------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 +----------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 --------------------------------------PhysicalProject ----------------------------------------filter((((i_category IN ('Books', 'Children', 'Electronics') AND i_class IN ('personal', 'portable', 'reference', 'self-help')) AND i_brand IN ('exportiunivamalg #9', 'scholaramalgamalg #14', 'scholaramalgamalg #7', 'scholaramalgamalg #9')) OR ((i_category IN ('Men', 'Music', 'Women') AND i_class IN ('accessories', 'classical', 'fragrances', 'pants')) AND i_brand IN ('amalgimporto #1', 'edu packscholar #1', 'exportiimporto #1', 'importoamalg #1'))) and i_brand IN ('amalgimporto #1', 'edu packscholar #1', 'exportiimporto #1', 'exportiunivamalg #9', 'importoamalg #1', 'scholaramalgamalg #14', 'scholaramalgamalg #7', 'scholaramalgamalg #9') and i_category IN ('Books', 'Children', 'Electronics', 'Men', 'Music', 'Women') and i_class IN ('accessories', 'classical', 'fragrances', 'pants', 'personal', 'portable', 'reference', 'self-help')) -------------------------------------------PhysicalFileScan[item] +------------------------------------------PhysicalOlapScan[item] ----------------------------------PhysicalProject ------------------------------------filter(d_month_seq IN (1212, 1213, 1214, 1215, 1216, 1217, 1218, 1219, 1220, 1221, 1222, 1223)) ---------------------------------------PhysicalFileScan[date_dim] +--------------------------------------PhysicalOlapScan[date_dim] ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[store] +--------------------------------PhysicalOlapScan[store] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query54.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query54.out index eded911e5c4193..4ee5ff3b075462 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query54.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query54.out @@ -25,7 +25,7 @@ PhysicalResultSink --------------------------------------------PhysicalProject ----------------------------------------------hashJoin[INNER_JOIN shuffleBucket] hashCondition=((my_customers.c_customer_sk = store_sales.ss_customer_sk)) otherCondition=() build RFs:RF3 c_customer_sk->[ss_customer_sk] ------------------------------------------------PhysicalProject ---------------------------------------------------PhysicalFileScan[store_sales] apply RFs: RF3 RF7 +--------------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF3 RF7 ------------------------------------------------PhysicalProject --------------------------------------------------hashAgg[LOCAL] ----------------------------------------------------PhysicalProject @@ -37,24 +37,24 @@ PhysicalResultSink ----------------------------------------------------------------PhysicalUnion ------------------------------------------------------------------PhysicalDistribute[DistributionSpecHash] --------------------------------------------------------------------PhysicalProject -----------------------------------------------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF0 RF1 RF2 +----------------------------------------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2 ------------------------------------------------------------------PhysicalDistribute[DistributionSpecHash] --------------------------------------------------------------------PhysicalProject -----------------------------------------------------------------------PhysicalFileScan[web_sales] apply RFs: RF0 RF1 RF2 +----------------------------------------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF2 ----------------------------------------------------------------PhysicalProject -------------------------------------------------------------------PhysicalFileScan[customer] apply RFs: RF4 +------------------------------------------------------------------PhysicalOlapScan[customer] apply RFs: RF4 ------------------------------------------------------------PhysicalProject --------------------------------------------------------------filter((item.i_category = 'Books') and (item.i_class = 'business')) -----------------------------------------------------------------PhysicalFileScan[item] +----------------------------------------------------------------PhysicalOlapScan[item] --------------------------------------------------------PhysicalProject ----------------------------------------------------------filter((date_dim.d_moy = 2) and (date_dim.d_year = 2000)) -------------------------------------------------------------PhysicalFileScan[date_dim] +------------------------------------------------------------PhysicalOlapScan[date_dim] --------------------------------------------PhysicalProject -----------------------------------------------PhysicalFileScan[customer_address] apply RFs: RF5 RF6 +----------------------------------------------PhysicalOlapScan[customer_address] apply RFs: RF5 RF6 ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[store] +------------------------------------------PhysicalOlapScan[store] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[date_dim] +--------------------------------------PhysicalOlapScan[date_dim] --------------------------------PhysicalAssertNumRows ----------------------------------PhysicalDistribute[DistributionSpecGather] ------------------------------------hashAgg[GLOBAL] @@ -62,7 +62,7 @@ PhysicalResultSink ----------------------------------------hashAgg[LOCAL] ------------------------------------------PhysicalProject --------------------------------------------filter((date_dim.d_moy = 2) and (date_dim.d_year = 2000)) -----------------------------------------------PhysicalFileScan[date_dim] +----------------------------------------------PhysicalOlapScan[date_dim] ----------------------------PhysicalAssertNumRows ------------------------------PhysicalDistribute[DistributionSpecGather] --------------------------------hashAgg[GLOBAL] @@ -70,5 +70,5 @@ PhysicalResultSink ------------------------------------hashAgg[LOCAL] --------------------------------------PhysicalProject ----------------------------------------filter((date_dim.d_moy = 2) and (date_dim.d_year = 2000)) -------------------------------------------PhysicalFileScan[date_dim] +------------------------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query55.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query55.out index d304efae33b2b8..cf69d556c8c13a 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query55.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query55.out @@ -13,11 +13,11 @@ PhysicalResultSink --------------------PhysicalProject ----------------------hashJoin[INNER_JOIN broadcast] hashCondition=((date_dim.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ss_sold_date_sk] ------------------------PhysicalProject ---------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 +--------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 ------------------------PhysicalProject --------------------------filter((date_dim.d_moy = 11) and (date_dim.d_year = 1999)) -----------------------------PhysicalFileScan[date_dim] +----------------------------PhysicalOlapScan[date_dim] --------------------PhysicalProject ----------------------filter((item.i_manager_id = 13)) -------------------------PhysicalFileScan[item] +------------------------PhysicalOlapScan[item] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query56.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query56.out index 7972adcee2be7d..cf15de9fc368e7 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query56.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query56.out @@ -19,19 +19,19 @@ PhysicalResultSink --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF1 ca_address_sk->[ss_addr_sk] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[store_sales] apply RFs: RF1 RF2 RF3 +--------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF1 RF2 RF3 ------------------------------------PhysicalProject --------------------------------------filter((customer_address.ca_gmt_offset = -6.00)) -----------------------------------------PhysicalFileScan[customer_address] +----------------------------------------PhysicalOlapScan[customer_address] --------------------------------hashJoin[LEFT_SEMI_JOIN broadcast] hashCondition=((item.i_item_id = item.i_item_id)) otherCondition=() build RFs:RF0 i_item_id->[i_item_id] ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[item] apply RFs: RF0 +------------------------------------PhysicalOlapScan[item] apply RFs: RF0 ----------------------------------PhysicalProject ------------------------------------filter(i_color IN ('chiffon', 'lace', 'smoke')) ---------------------------------------PhysicalFileScan[item] +--------------------------------------PhysicalOlapScan[item] ----------------------------PhysicalProject ------------------------------filter((date_dim.d_moy = 5) and (date_dim.d_year = 2001)) ---------------------------------PhysicalFileScan[date_dim] +--------------------------------PhysicalOlapScan[date_dim] ----------------PhysicalProject ------------------hashAgg[GLOBAL] --------------------PhysicalDistribute[DistributionSpecHash] @@ -43,19 +43,19 @@ PhysicalResultSink --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_bill_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF5 ca_address_sk->[cs_bill_addr_sk] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF5 RF6 RF7 +--------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF5 RF6 RF7 ------------------------------------PhysicalProject --------------------------------------filter((customer_address.ca_gmt_offset = -6.00)) -----------------------------------------PhysicalFileScan[customer_address] +----------------------------------------PhysicalOlapScan[customer_address] --------------------------------hashJoin[LEFT_SEMI_JOIN broadcast] hashCondition=((item.i_item_id = item.i_item_id)) otherCondition=() build RFs:RF4 i_item_id->[i_item_id] ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[item] apply RFs: RF4 +------------------------------------PhysicalOlapScan[item] apply RFs: RF4 ----------------------------------PhysicalProject ------------------------------------filter(i_color IN ('chiffon', 'lace', 'smoke')) ---------------------------------------PhysicalFileScan[item] +--------------------------------------PhysicalOlapScan[item] ----------------------------PhysicalProject ------------------------------filter((date_dim.d_moy = 5) and (date_dim.d_year = 2001)) ---------------------------------PhysicalFileScan[date_dim] +--------------------------------PhysicalOlapScan[date_dim] ----------------PhysicalProject ------------------hashAgg[GLOBAL] --------------------PhysicalDistribute[DistributionSpecHash] @@ -67,17 +67,17 @@ PhysicalResultSink --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_bill_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF9 ca_address_sk->[ws_bill_addr_sk] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[web_sales] apply RFs: RF9 RF10 RF11 +--------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF9 RF10 RF11 ------------------------------------PhysicalProject --------------------------------------filter((customer_address.ca_gmt_offset = -6.00)) -----------------------------------------PhysicalFileScan[customer_address] +----------------------------------------PhysicalOlapScan[customer_address] --------------------------------hashJoin[LEFT_SEMI_JOIN broadcast] hashCondition=((item.i_item_id = item.i_item_id)) otherCondition=() build RFs:RF8 i_item_id->[i_item_id] ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[item] apply RFs: RF8 +------------------------------------PhysicalOlapScan[item] apply RFs: RF8 ----------------------------------PhysicalProject ------------------------------------filter(i_color IN ('chiffon', 'lace', 'smoke')) ---------------------------------------PhysicalFileScan[item] +--------------------------------------PhysicalOlapScan[item] ----------------------------PhysicalProject ------------------------------filter((date_dim.d_moy = 5) and (date_dim.d_year = 2001)) ---------------------------------PhysicalFileScan[date_dim] +--------------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query57.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query57.out index df89858d81fa04..9b61dc54e2a91e 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query57.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query57.out @@ -19,14 +19,14 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[cs_item_sk] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF0 RF1 RF2 +--------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2 ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[item] +--------------------------------------PhysicalOlapScan[item] --------------------------------PhysicalProject ----------------------------------filter((((date_dim.d_year = 1999) OR ((date_dim.d_year = 1998) AND (date_dim.d_moy = 12))) OR ((date_dim.d_year = 2000) AND (date_dim.d_moy = 1))) and d_year IN (1998, 1999, 2000) and d_year IN (1998, 1999, 2000)) -------------------------------------PhysicalFileScan[date_dim] +------------------------------------PhysicalOlapScan[date_dim] ----------------------------PhysicalProject -------------------------------PhysicalFileScan[call_center] +------------------------------PhysicalOlapScan[call_center] --PhysicalResultSink ----PhysicalProject ------PhysicalTopN[MERGE_SORT] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query58.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query58.out index f364bfdc88d43d..7a9b30a8cce45c 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query58.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query58.out @@ -17,22 +17,22 @@ PhysicalResultSink ----------------------------PhysicalProject ------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF10 i_item_sk->[ss_item_sk] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[store_sales] apply RFs: RF10 RF11 +----------------------------------PhysicalOlapScan[store_sales] apply RFs: RF10 RF11 --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[item] apply RFs: RF12 RF13 +----------------------------------PhysicalOlapScan[item] apply RFs: RF12 RF13 ----------------------------PhysicalProject ------------------------------hashJoin[LEFT_SEMI_JOIN broadcast] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF9 d_date->[d_date] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[date_dim] apply RFs: RF9 +----------------------------------PhysicalOlapScan[date_dim] apply RFs: RF9 --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF8 d_week_seq->[d_week_seq] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[date_dim] apply RFs: RF8 +--------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF8 ------------------------------------PhysicalAssertNumRows --------------------------------------PhysicalDistribute[DistributionSpecGather] ----------------------------------------PhysicalProject ------------------------------------------filter((date_dim.d_date = '1998-02-21')) ---------------------------------------------PhysicalFileScan[date_dim] +--------------------------------------------PhysicalOlapScan[date_dim] ----------------PhysicalProject ------------------hashAgg[GLOBAL] --------------------PhysicalDistribute[DistributionSpecHash] @@ -42,22 +42,22 @@ PhysicalResultSink ----------------------------PhysicalProject ------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF6 i_item_sk->[cs_item_sk] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF6 RF7 +----------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF6 RF7 --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[item] apply RFs: RF13 +----------------------------------PhysicalOlapScan[item] apply RFs: RF13 ----------------------------PhysicalProject ------------------------------hashJoin[LEFT_SEMI_JOIN broadcast] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF5 d_date->[d_date] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[date_dim] apply RFs: RF5 +----------------------------------PhysicalOlapScan[date_dim] apply RFs: RF5 --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF4 d_week_seq->[d_week_seq] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[date_dim] apply RFs: RF4 +--------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF4 ------------------------------------PhysicalAssertNumRows --------------------------------------PhysicalDistribute[DistributionSpecGather] ----------------------------------------PhysicalProject ------------------------------------------filter((date_dim.d_date = '1998-02-21')) ---------------------------------------------PhysicalFileScan[date_dim] +--------------------------------------------PhysicalOlapScan[date_dim] ------------PhysicalProject --------------hashAgg[GLOBAL] ----------------PhysicalDistribute[DistributionSpecHash] @@ -67,20 +67,20 @@ PhysicalResultSink ------------------------PhysicalProject --------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF2 i_item_sk->[ws_item_sk] ----------------------------PhysicalProject -------------------------------PhysicalFileScan[web_sales] apply RFs: RF2 RF3 +------------------------------PhysicalOlapScan[web_sales] apply RFs: RF2 RF3 ----------------------------PhysicalProject -------------------------------PhysicalFileScan[item] +------------------------------PhysicalOlapScan[item] ------------------------PhysicalProject --------------------------hashJoin[LEFT_SEMI_JOIN broadcast] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF1 d_date->[d_date] ----------------------------PhysicalProject -------------------------------PhysicalFileScan[date_dim] apply RFs: RF1 +------------------------------PhysicalOlapScan[date_dim] apply RFs: RF1 ----------------------------PhysicalProject ------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF0 d_week_seq->[d_week_seq] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[date_dim] apply RFs: RF0 +----------------------------------PhysicalOlapScan[date_dim] apply RFs: RF0 --------------------------------PhysicalAssertNumRows ----------------------------------PhysicalDistribute[DistributionSpecGather] ------------------------------------PhysicalProject --------------------------------------filter((date_dim.d_date = '1998-02-21')) -----------------------------------------PhysicalFileScan[date_dim] +----------------------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query59.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query59.out index 0ef053265fffc7..689a702ea7a479 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query59.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query59.out @@ -8,35 +8,35 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ----------PhysicalProject ------------hashJoin[INNER_JOIN broadcast] hashCondition=((date_dim.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ss_sold_date_sk] --------------PhysicalProject -----------------PhysicalFileScan[store_sales] apply RFs: RF0 +----------------PhysicalOlapScan[store_sales] apply RFs: RF0 --------------PhysicalProject -----------------PhysicalFileScan[date_dim] +----------------PhysicalOlapScan[date_dim] --PhysicalResultSink ----PhysicalTopN[MERGE_SORT] ------PhysicalDistribute[DistributionSpecGather] --------PhysicalTopN[LOCAL_SORT] ----------PhysicalProject -------------hashJoin[INNER_JOIN broadcast] hashCondition=((wss.ss_store_sk = store.s_store_sk) and (y.s_store_id1 = x.s_store_id2)) otherCondition=() build RFs:RF4 s_store_id1->[s_store_id];RF5 s_store_sk->[ss_store_sk] +------------hashJoin[INNER_JOIN broadcast] hashCondition=((d.d_week_seq = d_week_seq1)) otherCondition=() build RFs:RF5 d_week_seq->[d_week_seq] --------------PhysicalProject -----------------hashJoin[INNER_JOIN shuffle] hashCondition=((expr_cast(d_week_seq1 as BIGINT) = expr_(d_week_seq2 - 52))) otherCondition=() +----------------hashJoin[INNER_JOIN shuffle] hashCondition=((expr_cast(d_week_seq1 as BIGINT) = expr_(d_week_seq2 - 52)) and (y.s_store_id1 = x.s_store_id2)) otherCondition=() build RFs:RF4 s_store_id2->[s_store_id] ------------------PhysicalProject ---------------------hashJoin[INNER_JOIN broadcast] hashCondition=((d.d_week_seq = d_week_seq2)) otherCondition=() build RFs:RF3 d_week_seq->[d_week_seq] +--------------------hashJoin[INNER_JOIN shuffle] hashCondition=((wss.ss_store_sk = store.s_store_sk)) otherCondition=() build RFs:RF3 s_store_sk->[ss_store_sk] ----------------------PhysicalProject -------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((wss.ss_store_sk = store.s_store_sk)) otherCondition=() build RFs:RF2 s_store_sk->[ss_store_sk] ---------------------------PhysicalProject -----------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF2 RF3 ---------------------------PhysicalProject -----------------------------PhysicalFileScan[store] apply RFs: RF4 +------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF3 RF5 ----------------------PhysicalProject -------------------------filter((d.d_month_seq <= 1228) and (d.d_month_seq >= 1217)) ---------------------------PhysicalFileScan[date_dim] +------------------------PhysicalOlapScan[store] apply RFs: RF4 ------------------PhysicalProject ---------------------hashJoin[INNER_JOIN shuffle] hashCondition=((d.d_week_seq = d_week_seq1)) otherCondition=() build RFs:RF1 d_week_seq->[d_week_seq] +--------------------hashJoin[INNER_JOIN broadcast] hashCondition=((d.d_week_seq = d_week_seq2)) otherCondition=() build RFs:RF2 d_week_seq->[d_week_seq] ----------------------PhysicalProject -------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF1 RF5 +------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((wss.ss_store_sk = store.s_store_sk)) otherCondition=() build RFs:RF1 s_store_sk->[ss_store_sk] +--------------------------PhysicalProject +----------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF1 RF2 +--------------------------PhysicalProject +----------------------------PhysicalOlapScan[store] ----------------------PhysicalProject -------------------------filter((d.d_month_seq <= 1216) and (d.d_month_seq >= 1205)) ---------------------------PhysicalFileScan[date_dim] +------------------------filter((d.d_month_seq <= 1228) and (d.d_month_seq >= 1217)) +--------------------------PhysicalOlapScan[date_dim] --------------PhysicalProject -----------------PhysicalFileScan[store] +----------------filter((d.d_month_seq <= 1216) and (d.d_month_seq >= 1205)) +------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query6.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query6.out index 40cf96e8262cc6..0c390df2e8e5f8 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query6.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query6.out @@ -20,17 +20,17 @@ PhysicalResultSink ----------------------------------PhysicalProject ------------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((c.c_customer_sk = s.ss_customer_sk)) otherCondition=() build RFs:RF1 c_customer_sk->[ss_customer_sk] --------------------------------------PhysicalProject -----------------------------------------PhysicalFileScan[store_sales] apply RFs: RF1 RF2 RF3 +----------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF1 RF2 RF3 --------------------------------------PhysicalProject ----------------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((a.ca_address_sk = c.c_current_addr_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[c_current_addr_sk] ------------------------------------------PhysicalProject ---------------------------------------------PhysicalFileScan[customer] apply RFs: RF0 +--------------------------------------------PhysicalOlapScan[customer] apply RFs: RF0 ------------------------------------------PhysicalProject ---------------------------------------------PhysicalFileScan[customer_address] +--------------------------------------------PhysicalOlapScan[customer_address] ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[date_dim] apply RFs: RF4 +------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF4 ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[item] apply RFs: RF5 +--------------------------------PhysicalOlapScan[item] apply RFs: RF5 --------------------------PhysicalAssertNumRows ----------------------------PhysicalDistribute[DistributionSpecGather] ------------------------------hashAgg[GLOBAL] @@ -38,10 +38,10 @@ PhysicalResultSink ----------------------------------hashAgg[LOCAL] ------------------------------------PhysicalProject --------------------------------------filter((date_dim.d_moy = 3) and (date_dim.d_year = 2002)) -----------------------------------------PhysicalFileScan[date_dim] +----------------------------------------PhysicalOlapScan[date_dim] ----------------------hashAgg[GLOBAL] ------------------------PhysicalDistribute[DistributionSpecHash] --------------------------hashAgg[LOCAL] ----------------------------PhysicalProject -------------------------------PhysicalFileScan[item] +------------------------------PhysicalOlapScan[item] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query60.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query60.out index 2aa0a0936a6934..7884fdb7891a59 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query60.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query60.out @@ -19,19 +19,19 @@ PhysicalResultSink --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF1 ca_address_sk->[ss_addr_sk] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[store_sales] apply RFs: RF1 RF2 RF3 +--------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF1 RF2 RF3 ------------------------------------PhysicalProject --------------------------------------filter((customer_address.ca_gmt_offset = -5.00)) -----------------------------------------PhysicalFileScan[customer_address] +----------------------------------------PhysicalOlapScan[customer_address] --------------------------------hashJoin[LEFT_SEMI_JOIN broadcast] hashCondition=((item.i_item_id = item.i_item_id)) otherCondition=() build RFs:RF0 i_item_id->[i_item_id] ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[item] apply RFs: RF0 +------------------------------------PhysicalOlapScan[item] apply RFs: RF0 ----------------------------------PhysicalProject ------------------------------------filter((item.i_category = 'Children')) ---------------------------------------PhysicalFileScan[item] +--------------------------------------PhysicalOlapScan[item] ----------------------------PhysicalProject ------------------------------filter((date_dim.d_moy = 10) and (date_dim.d_year = 1998)) ---------------------------------PhysicalFileScan[date_dim] +--------------------------------PhysicalOlapScan[date_dim] ----------------PhysicalProject ------------------hashAgg[GLOBAL] --------------------PhysicalDistribute[DistributionSpecHash] @@ -43,19 +43,19 @@ PhysicalResultSink --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_bill_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF5 ca_address_sk->[cs_bill_addr_sk] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF5 RF6 RF7 +--------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF5 RF6 RF7 ------------------------------------PhysicalProject --------------------------------------filter((customer_address.ca_gmt_offset = -5.00)) -----------------------------------------PhysicalFileScan[customer_address] +----------------------------------------PhysicalOlapScan[customer_address] --------------------------------hashJoin[LEFT_SEMI_JOIN broadcast] hashCondition=((item.i_item_id = item.i_item_id)) otherCondition=() build RFs:RF4 i_item_id->[i_item_id] ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[item] apply RFs: RF4 +------------------------------------PhysicalOlapScan[item] apply RFs: RF4 ----------------------------------PhysicalProject ------------------------------------filter((item.i_category = 'Children')) ---------------------------------------PhysicalFileScan[item] +--------------------------------------PhysicalOlapScan[item] ----------------------------PhysicalProject ------------------------------filter((date_dim.d_moy = 10) and (date_dim.d_year = 1998)) ---------------------------------PhysicalFileScan[date_dim] +--------------------------------PhysicalOlapScan[date_dim] ----------------PhysicalProject ------------------hashAgg[GLOBAL] --------------------PhysicalDistribute[DistributionSpecHash] @@ -67,17 +67,17 @@ PhysicalResultSink --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_bill_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF9 ca_address_sk->[ws_bill_addr_sk] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[web_sales] apply RFs: RF9 RF10 RF11 +--------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF9 RF10 RF11 ------------------------------------PhysicalProject --------------------------------------filter((customer_address.ca_gmt_offset = -5.00)) -----------------------------------------PhysicalFileScan[customer_address] +----------------------------------------PhysicalOlapScan[customer_address] --------------------------------hashJoin[LEFT_SEMI_JOIN broadcast] hashCondition=((item.i_item_id = item.i_item_id)) otherCondition=() build RFs:RF8 i_item_id->[i_item_id] ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[item] apply RFs: RF8 +------------------------------------PhysicalOlapScan[item] apply RFs: RF8 ----------------------------------PhysicalProject ------------------------------------filter((item.i_category = 'Children')) ---------------------------------------PhysicalFileScan[item] +--------------------------------------PhysicalOlapScan[item] ----------------------------PhysicalProject ------------------------------filter((date_dim.d_moy = 10) and (date_dim.d_year = 1998)) ---------------------------------PhysicalFileScan[date_dim] +--------------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query61.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query61.out index b84bd98510e857..a45d788af7c5a8 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query61.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query61.out @@ -14,30 +14,30 @@ PhysicalResultSink ----------------------PhysicalProject ------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF8 d_date_sk->[ss_sold_date_sk] --------------------------PhysicalProject -----------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_promo_sk = promotion.p_promo_sk)) otherCondition=() build RFs:RF7 p_promo_sk->[ss_promo_sk] +----------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_store_sk = store.s_store_sk)) otherCondition=() build RFs:RF7 s_store_sk->[ss_store_sk] ------------------------------PhysicalProject ---------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_store_sk = store.s_store_sk)) otherCondition=() build RFs:RF6 s_store_sk->[ss_store_sk] +--------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF6 c_customer_sk->[ss_customer_sk] ----------------------------------PhysicalProject -------------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF5 c_customer_sk->[ss_customer_sk] +------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_promo_sk = promotion.p_promo_sk)) otherCondition=() build RFs:RF5 p_promo_sk->[ss_promo_sk] --------------------------------------PhysicalProject -----------------------------------------PhysicalFileScan[store_sales] apply RFs: RF5 RF6 RF7 RF8 RF10 +----------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF5 RF6 RF7 RF8 RF10 --------------------------------------PhysicalProject -----------------------------------------PhysicalFileScan[customer] apply RFs: RF9 +----------------------------------------filter((((promotion.p_channel_dmail = 'Y') OR (promotion.p_channel_email = 'Y')) OR (promotion.p_channel_tv = 'Y'))) +------------------------------------------PhysicalOlapScan[promotion] ----------------------------------PhysicalProject -------------------------------------filter((store.s_gmt_offset = -6.00)) ---------------------------------------PhysicalFileScan[store] +------------------------------------PhysicalOlapScan[customer] apply RFs: RF9 ------------------------------PhysicalProject ---------------------------------filter((((promotion.p_channel_dmail = 'Y') OR (promotion.p_channel_email = 'Y')) OR (promotion.p_channel_tv = 'Y'))) -----------------------------------PhysicalFileScan[promotion] +--------------------------------filter((store.s_gmt_offset = -6.00)) +----------------------------------PhysicalOlapScan[store] --------------------------PhysicalProject ----------------------------filter((date_dim.d_moy = 12) and (date_dim.d_year = 2001)) -------------------------------PhysicalFileScan[date_dim] +------------------------------PhysicalOlapScan[date_dim] ----------------------PhysicalProject ------------------------filter((customer_address.ca_gmt_offset = -6.00)) ---------------------------PhysicalFileScan[customer_address] +--------------------------PhysicalOlapScan[customer_address] ------------------PhysicalProject --------------------filter((item.i_category = 'Sports')) -----------------------PhysicalFileScan[item] +----------------------PhysicalOlapScan[item] --------hashAgg[GLOBAL] ----------PhysicalDistribute[DistributionSpecGather] ------------hashAgg[LOCAL] @@ -52,19 +52,19 @@ PhysicalResultSink ------------------------------PhysicalProject --------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF0 c_customer_sk->[ss_customer_sk] ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 RF4 +------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF4 ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[customer] apply RFs: RF3 +------------------------------------PhysicalOlapScan[customer] apply RFs: RF3 ------------------------------PhysicalProject --------------------------------filter((store.s_gmt_offset = -6.00)) -----------------------------------PhysicalFileScan[store] +----------------------------------PhysicalOlapScan[store] --------------------------PhysicalProject ----------------------------filter((date_dim.d_moy = 12) and (date_dim.d_year = 2001)) -------------------------------PhysicalFileScan[date_dim] +------------------------------PhysicalOlapScan[date_dim] ----------------------PhysicalProject ------------------------filter((customer_address.ca_gmt_offset = -6.00)) ---------------------------PhysicalFileScan[customer_address] +--------------------------PhysicalOlapScan[customer_address] ------------------PhysicalProject --------------------filter((item.i_category = 'Sports')) -----------------------PhysicalFileScan[item] +----------------------PhysicalOlapScan[item] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query62.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query62.out index ded24d1ba09042..48210f34fe86e1 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query62.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query62.out @@ -16,14 +16,14 @@ PhysicalResultSink --------------------------PhysicalProject ----------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=() build RFs:RF0 w_warehouse_sk->[ws_warehouse_sk] ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[web_sales] apply RFs: RF0 RF1 RF2 RF3 +--------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF2 RF3 ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[warehouse] +--------------------------------PhysicalOlapScan[warehouse] --------------------------PhysicalProject -----------------------------PhysicalFileScan[ship_mode] +----------------------------PhysicalOlapScan[ship_mode] ----------------------PhysicalProject -------------------------PhysicalFileScan[web_site] +------------------------PhysicalOlapScan[web_site] ------------------PhysicalProject --------------------filter((date_dim.d_month_seq <= 1226) and (date_dim.d_month_seq >= 1215)) -----------------------PhysicalFileScan[date_dim] +----------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query63.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query63.out index 588018e1e8a078..5d47dbe07f57cb 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query63.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query63.out @@ -20,13 +20,13 @@ PhysicalResultSink ----------------------------------PhysicalProject ------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk] --------------------------------------PhysicalProject -----------------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 +----------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 --------------------------------------PhysicalProject ----------------------------------------filter((((i_category IN ('Books', 'Children', 'Electronics') AND i_class IN ('personal', 'portable', 'reference', 'self-help')) AND i_brand IN ('exportiunivamalg #9', 'scholaramalgamalg #14', 'scholaramalgamalg #7', 'scholaramalgamalg #9')) OR ((i_category IN ('Men', 'Music', 'Women') AND i_class IN ('accessories', 'classical', 'fragrances', 'pants')) AND i_brand IN ('amalgimporto #1', 'edu packscholar #1', 'exportiimporto #1', 'importoamalg #1'))) and i_brand IN ('amalgimporto #1', 'edu packscholar #1', 'exportiimporto #1', 'exportiunivamalg #9', 'importoamalg #1', 'scholaramalgamalg #14', 'scholaramalgamalg #7', 'scholaramalgamalg #9') and i_category IN ('Books', 'Children', 'Electronics', 'Men', 'Music', 'Women') and i_class IN ('accessories', 'classical', 'fragrances', 'pants', 'personal', 'portable', 'reference', 'self-help')) -------------------------------------------PhysicalFileScan[item] +------------------------------------------PhysicalOlapScan[item] ----------------------------------PhysicalProject ------------------------------------filter(d_month_seq IN (1211, 1212, 1213, 1214, 1215, 1216, 1217, 1218, 1219, 1220, 1221, 1222)) ---------------------------------------PhysicalFileScan[date_dim] +--------------------------------------PhysicalOlapScan[date_dim] ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[store] +--------------------------------PhysicalOlapScan[store] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query64.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query64.out index 7b1b3253b90de8..8399143cb6a33e 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query64.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query64.out @@ -13,13 +13,13 @@ PhysicalCteAnchor ( cteId=CTEId#1 ) --------------------PhysicalProject ----------------------hashJoin[INNER_JOIN broadcast] hashCondition=((hd1.hd_income_band_sk = ib1.ib_income_band_sk)) otherCondition=() build RFs:RF17 ib_income_band_sk->[hd_income_band_sk] ------------------------PhysicalProject ---------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((customer.c_current_addr_sk = ad2.ca_address_sk)) otherCondition=() build RFs:RF16 ca_address_sk->[c_current_addr_sk] +--------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((customer.c_current_hdemo_sk = hd2.hd_demo_sk)) otherCondition=() build RFs:RF16 hd_demo_sk->[c_current_hdemo_sk] ----------------------------PhysicalProject -------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_addr_sk = ad1.ca_address_sk)) otherCondition=() build RFs:RF15 ca_address_sk->[ss_addr_sk] +------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_hdemo_sk = hd1.hd_demo_sk)) otherCondition=() build RFs:RF15 hd_demo_sk->[ss_hdemo_sk] --------------------------------PhysicalProject -----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((customer.c_current_hdemo_sk = hd2.hd_demo_sk)) otherCondition=() build RFs:RF14 hd_demo_sk->[c_current_hdemo_sk] +----------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((customer.c_current_addr_sk = ad2.ca_address_sk)) otherCondition=() build RFs:RF14 ca_address_sk->[c_current_addr_sk] ------------------------------------PhysicalProject ---------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_hdemo_sk = hd1.hd_demo_sk)) otherCondition=() build RFs:RF13 hd_demo_sk->[ss_hdemo_sk] +--------------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_addr_sk = ad1.ca_address_sk)) otherCondition=() build RFs:RF13 ca_address_sk->[ss_addr_sk] ----------------------------------------PhysicalProject ------------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_promo_sk = promotion.p_promo_sk)) otherCondition=() build RFs:RF12 p_promo_sk->[ss_promo_sk] --------------------------------------------PhysicalProject @@ -41,9 +41,9 @@ PhysicalCteAnchor ( cteId=CTEId#1 ) ----------------------------------------------------------------------------PhysicalProject ------------------------------------------------------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=() build RFs:RF2 sr_item_sk->[ss_item_sk];RF3 sr_ticket_number->[ss_ticket_number] --------------------------------------------------------------------------------PhysicalProject -----------------------------------------------------------------------------------PhysicalFileScan[store_sales] apply RFs: RF2 RF3 RF4 RF5 RF6 RF7 RF10 RF12 RF13 RF15 RF19 +----------------------------------------------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF2 RF3 RF4 RF5 RF6 RF7 RF10 RF12 RF13 RF15 RF19 --------------------------------------------------------------------------------PhysicalProject -----------------------------------------------------------------------------------PhysicalFileScan[store_returns] apply RFs: RF4 RF19 +----------------------------------------------------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF4 RF19 ----------------------------------------------------------------------------PhysicalProject ------------------------------------------------------------------------------filter((sale > (2 * refund))) --------------------------------------------------------------------------------hashAgg[GLOBAL] @@ -52,41 +52,41 @@ PhysicalCteAnchor ( cteId=CTEId#1 ) --------------------------------------------------------------------------------------PhysicalProject ----------------------------------------------------------------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((catalog_sales.cs_item_sk = catalog_returns.cr_item_sk) and (catalog_sales.cs_order_number = catalog_returns.cr_order_number)) otherCondition=() build RFs:RF0 cr_item_sk->[cs_item_sk];RF1 cr_order_number->[cs_order_number] ------------------------------------------------------------------------------------------PhysicalProject ---------------------------------------------------------------------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF0 RF1 RF19 +--------------------------------------------------------------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF19 ------------------------------------------------------------------------------------------PhysicalProject ---------------------------------------------------------------------------------------------PhysicalFileScan[catalog_returns] apply RFs: RF19 +--------------------------------------------------------------------------------------------PhysicalOlapScan[catalog_returns] apply RFs: RF19 ------------------------------------------------------------------------PhysicalProject --------------------------------------------------------------------------filter(d_year IN (1999, 2000)) -----------------------------------------------------------------------------PhysicalFileScan[date_dim] +----------------------------------------------------------------------------PhysicalOlapScan[date_dim] --------------------------------------------------------------------PhysicalProject -----------------------------------------------------------------------PhysicalFileScan[store] +----------------------------------------------------------------------PhysicalOlapScan[store] ----------------------------------------------------------------PhysicalProject -------------------------------------------------------------------PhysicalFileScan[customer] apply RFs: RF8 RF9 RF11 RF14 RF16 +------------------------------------------------------------------PhysicalOlapScan[customer] apply RFs: RF8 RF9 RF11 RF14 RF16 ------------------------------------------------------------PhysicalProject ---------------------------------------------------------------PhysicalFileScan[date_dim] +--------------------------------------------------------------PhysicalOlapScan[date_dim] --------------------------------------------------------PhysicalProject -----------------------------------------------------------PhysicalFileScan[date_dim] +----------------------------------------------------------PhysicalOlapScan[date_dim] ----------------------------------------------------PhysicalProject -------------------------------------------------------PhysicalFileScan[customer_demographics] +------------------------------------------------------PhysicalOlapScan[customer_demographics] ------------------------------------------------PhysicalProject ---------------------------------------------------PhysicalFileScan[customer_demographics] +--------------------------------------------------PhysicalOlapScan[customer_demographics] --------------------------------------------PhysicalProject -----------------------------------------------PhysicalFileScan[promotion] +----------------------------------------------PhysicalOlapScan[promotion] ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[household_demographics] apply RFs: RF17 +------------------------------------------PhysicalOlapScan[customer_address] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[household_demographics] apply RFs: RF18 +--------------------------------------PhysicalOlapScan[customer_address] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[customer_address] +----------------------------------PhysicalOlapScan[household_demographics] apply RFs: RF17 ----------------------------PhysicalProject -------------------------------PhysicalFileScan[customer_address] +------------------------------PhysicalOlapScan[household_demographics] apply RFs: RF18 ------------------------PhysicalProject ---------------------------PhysicalFileScan[income_band] +--------------------------PhysicalOlapScan[income_band] --------------------PhysicalProject -----------------------PhysicalFileScan[income_band] +----------------------PhysicalOlapScan[income_band] ----------------PhysicalProject ------------------filter((item.i_current_price <= 90.00) and (item.i_current_price >= 81.00) and i_color IN ('azure', 'blush', 'gainsboro', 'hot', 'lemon', 'misty')) ---------------------PhysicalFileScan[item] +--------------------PhysicalOlapScan[item] --PhysicalResultSink ----PhysicalQuickSort[MERGE_SORT] ------PhysicalDistribute[DistributionSpecGather] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query65.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query65.out index 2071d5bbc913a2..574a272c000358 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query65.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query65.out @@ -16,14 +16,14 @@ PhysicalResultSink --------------------------PhysicalProject ----------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk] ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[store_sales] apply RFs: RF1 RF2 RF3 RF4 +--------------------------------PhysicalOlapScan[store_sales] apply RFs: RF1 RF2 RF3 RF4 ------------------------------PhysicalProject --------------------------------filter((date_dim.d_month_seq <= 1197) and (date_dim.d_month_seq >= 1186)) -----------------------------------PhysicalFileScan[date_dim] +----------------------------------PhysicalOlapScan[date_dim] --------------------PhysicalProject -----------------------PhysicalFileScan[store] apply RFs: RF4 +----------------------PhysicalOlapScan[store] apply RFs: RF4 ----------------PhysicalProject -------------------PhysicalFileScan[item] +------------------PhysicalOlapScan[item] ------------hashAgg[GLOBAL] --------------PhysicalDistribute[DistributionSpecHash] ----------------hashAgg[LOCAL] @@ -34,8 +34,8 @@ PhysicalResultSink --------------------------PhysicalProject ----------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ss_sold_date_sk] ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 +--------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 ------------------------------PhysicalProject --------------------------------filter((date_dim.d_month_seq <= 1197) and (date_dim.d_month_seq >= 1186)) -----------------------------------PhysicalFileScan[date_dim] +----------------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query66.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query66.out index f2fd49dc866362..e9d1404570f6ed 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query66.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query66.out @@ -22,18 +22,18 @@ PhysicalResultSink --------------------------------------PhysicalProject ----------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=() build RFs:RF0 w_warehouse_sk->[ws_warehouse_sk] ------------------------------------------PhysicalProject ---------------------------------------------PhysicalFileScan[web_sales] apply RFs: RF0 RF1 RF2 RF3 +--------------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF2 RF3 ------------------------------------------PhysicalProject ---------------------------------------------PhysicalFileScan[warehouse] +--------------------------------------------PhysicalOlapScan[warehouse] --------------------------------------PhysicalProject ----------------------------------------filter((date_dim.d_year = 2001)) -------------------------------------------PhysicalFileScan[date_dim] +------------------------------------------PhysicalOlapScan[date_dim] ----------------------------------PhysicalProject ------------------------------------filter((time_dim.t_time <= 38253) and (time_dim.t_time >= 9453)) ---------------------------------------PhysicalFileScan[time_dim] +--------------------------------------PhysicalOlapScan[time_dim] ------------------------------PhysicalProject --------------------------------filter(sm_carrier IN ('GERMA', 'MSC')) -----------------------------------PhysicalFileScan[ship_mode] +----------------------------------PhysicalOlapScan[ship_mode] ------------------PhysicalProject --------------------hashAgg[GLOBAL] ----------------------PhysicalDistribute[DistributionSpecHash] @@ -47,16 +47,16 @@ PhysicalResultSink --------------------------------------PhysicalProject ----------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=() build RFs:RF4 w_warehouse_sk->[cs_warehouse_sk] ------------------------------------------PhysicalProject ---------------------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF4 RF5 RF6 RF7 +--------------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF4 RF5 RF6 RF7 ------------------------------------------PhysicalProject ---------------------------------------------PhysicalFileScan[warehouse] +--------------------------------------------PhysicalOlapScan[warehouse] --------------------------------------PhysicalProject ----------------------------------------filter((date_dim.d_year = 2001)) -------------------------------------------PhysicalFileScan[date_dim] +------------------------------------------PhysicalOlapScan[date_dim] ----------------------------------PhysicalProject ------------------------------------filter((time_dim.t_time <= 38253) and (time_dim.t_time >= 9453)) ---------------------------------------PhysicalFileScan[time_dim] +--------------------------------------PhysicalOlapScan[time_dim] ------------------------------PhysicalProject --------------------------------filter(sm_carrier IN ('GERMA', 'MSC')) -----------------------------------PhysicalFileScan[ship_mode] +----------------------------------PhysicalOlapScan[ship_mode] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query67.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query67.out index 6be9b16def5be2..72490b12bb4c6d 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query67.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query67.out @@ -21,12 +21,12 @@ PhysicalResultSink ------------------------------------PhysicalProject --------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ss_sold_date_sk] ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 +------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 ----------------------------------------PhysicalProject ------------------------------------------filter((date_dim.d_month_seq <= 1196) and (date_dim.d_month_seq >= 1185)) ---------------------------------------------PhysicalFileScan[date_dim] +--------------------------------------------PhysicalOlapScan[date_dim] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[store] +--------------------------------------PhysicalOlapScan[store] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[item] +----------------------------------PhysicalOlapScan[item] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query68.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query68.out index 09aa17eb3b18ec..a96932c173fb69 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query68.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query68.out @@ -11,28 +11,28 @@ PhysicalResultSink ----------------PhysicalProject ------------------hashAgg[LOCAL] --------------------PhysicalProject -----------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk)) otherCondition=() build RFs:RF3 hd_demo_sk->[ss_hdemo_sk] +----------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF3 ca_address_sk->[ss_addr_sk] ------------------------PhysicalProject ---------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_store_sk = store.s_store_sk)) otherCondition=() build RFs:RF2 s_store_sk->[ss_store_sk] +--------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk)) otherCondition=() build RFs:RF2 hd_demo_sk->[ss_hdemo_sk] ----------------------------PhysicalProject -------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk] +------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_store_sk = store.s_store_sk)) otherCondition=() build RFs:RF1 s_store_sk->[ss_store_sk] --------------------------------PhysicalProject -----------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[ss_addr_sk] +----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ss_sold_date_sk] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 RF4 +--------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 RF4 ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[customer_address] +--------------------------------------filter((date_dim.d_dom <= 2) and (date_dim.d_dom >= 1) and d_year IN (1999, 2000, 2001)) +----------------------------------------PhysicalOlapScan[date_dim] --------------------------------PhysicalProject -----------------------------------filter((date_dim.d_dom <= 2) and (date_dim.d_dom >= 1) and d_year IN (1999, 2000, 2001)) -------------------------------------PhysicalFileScan[date_dim] +----------------------------------filter(s_city IN ('Bethel', 'Pleasant Hill')) +------------------------------------PhysicalOlapScan[store] ----------------------------PhysicalProject -------------------------------filter(s_city IN ('Bethel', 'Pleasant Hill')) ---------------------------------PhysicalFileScan[store] +------------------------------filter(((household_demographics.hd_dep_count = 4) OR (household_demographics.hd_vehicle_count = 0))) +--------------------------------PhysicalOlapScan[household_demographics] ------------------------PhysicalProject ---------------------------filter(((household_demographics.hd_dep_count = 4) OR (household_demographics.hd_vehicle_count = 0))) -----------------------------PhysicalFileScan[household_demographics] +--------------------------PhysicalOlapScan[customer_address] ----------------PhysicalProject -------------------PhysicalFileScan[customer] apply RFs: RF5 +------------------PhysicalOlapScan[customer] apply RFs: RF5 ------------PhysicalProject ---------------PhysicalFileScan[customer_address] +--------------PhysicalOlapScan[customer_address] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query69.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query69.out index 2d5456bf78e22a..115564d2edf45e 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query69.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query69.out @@ -19,29 +19,29 @@ PhysicalResultSink --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[ss_sold_date_sk] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[store_sales] apply RFs: RF2 RF3 +--------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF2 RF3 ------------------------------------PhysicalProject --------------------------------------filter((date_dim.d_moy <= 4) and (date_dim.d_moy >= 2) and (date_dim.d_year = 2003)) -----------------------------------------PhysicalFileScan[date_dim] +----------------------------------------PhysicalOlapScan[date_dim] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[customer] apply RFs: RF4 RF5 +----------------------------------PhysicalOlapScan[customer] apply RFs: RF4 RF5 ------------------------------PhysicalProject --------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ws_sold_date_sk] ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[web_sales] apply RFs: RF1 +------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF1 ----------------------------------PhysicalProject ------------------------------------filter((date_dim.d_moy <= 4) and (date_dim.d_moy >= 2) and (date_dim.d_year = 2003)) ---------------------------------------PhysicalFileScan[date_dim] +--------------------------------------PhysicalOlapScan[date_dim] ----------------------------PhysicalProject ------------------------------filter(ca_state IN ('AZ', 'MN', 'MO')) ---------------------------------PhysicalFileScan[customer_address] +--------------------------------PhysicalOlapScan[customer_address] ------------------------PhysicalProject ---------------------------PhysicalFileScan[customer_demographics] +--------------------------PhysicalOlapScan[customer_demographics] --------------------PhysicalProject ----------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[cs_sold_date_sk] ------------------------PhysicalProject ---------------------------PhysicalFileScan[catalog_sales] apply RFs: RF0 +--------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 ------------------------PhysicalProject --------------------------filter((date_dim.d_moy <= 4) and (date_dim.d_moy >= 2) and (date_dim.d_year = 2003)) -----------------------------PhysicalFileScan[date_dim] +----------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query7.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query7.out index 8f8deeaf6f2dac..9ebde668ccdb31 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query7.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query7.out @@ -16,16 +16,16 @@ PhysicalResultSink --------------------------PhysicalProject ----------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk] ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 +--------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[item] +--------------------------------PhysicalOlapScan[item] --------------------------PhysicalProject ----------------------------filter((customer_demographics.cd_education_status = 'College') and (customer_demographics.cd_gender = 'F') and (customer_demographics.cd_marital_status = 'W')) -------------------------------PhysicalFileScan[customer_demographics] +------------------------------PhysicalOlapScan[customer_demographics] ----------------------PhysicalProject ------------------------filter((date_dim.d_year = 2001)) ---------------------------PhysicalFileScan[date_dim] +--------------------------PhysicalOlapScan[date_dim] ------------------PhysicalProject --------------------filter(((promotion.p_channel_email = 'N') OR (promotion.p_channel_event = 'N'))) -----------------------PhysicalFileScan[promotion] +----------------------PhysicalOlapScan[promotion] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query70.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query70.out index fe53f56dde71d3..3038640513b88d 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query70.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query70.out @@ -19,10 +19,10 @@ PhysicalResultSink --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((d1.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF3 d_date_sk->[ss_sold_date_sk] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[store_sales] apply RFs: RF3 RF4 +--------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF3 RF4 ------------------------------------PhysicalProject --------------------------------------filter((d1.d_month_seq <= 1229) and (d1.d_month_seq >= 1218)) -----------------------------------------PhysicalFileScan[date_dim] +----------------------------------------PhysicalOlapScan[date_dim] --------------------------------hashJoin[RIGHT_SEMI_JOIN bucketShuffle] hashCondition=((store.s_state = tmp1.s_state)) otherCondition=() build RFs:RF2 s_state->[s_state] ----------------------------------PhysicalProject ------------------------------------hashAgg[GLOBAL] @@ -33,12 +33,12 @@ PhysicalResultSink ----------------------------------------------PhysicalProject ------------------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store.s_store_sk = store_sales.ss_store_sk)) otherCondition=() build RFs:RF0 s_store_sk->[ss_store_sk] --------------------------------------------------PhysicalProject -----------------------------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 +----------------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 --------------------------------------------------PhysicalProject -----------------------------------------------------PhysicalFileScan[store] apply RFs: RF2 +----------------------------------------------------PhysicalOlapScan[store] apply RFs: RF2 ----------------------------------------------PhysicalProject ------------------------------------------------filter((date_dim.d_month_seq <= 1229) and (date_dim.d_month_seq >= 1218)) ---------------------------------------------------PhysicalFileScan[date_dim] +--------------------------------------------------PhysicalOlapScan[date_dim] ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[store] +------------------------------------PhysicalOlapScan[store] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query71.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query71.out index 7b1a67e3a2829c..b2717237b73c8b 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query71.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query71.out @@ -17,30 +17,30 @@ PhysicalResultSink ----------------------------PhysicalProject ------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((date_dim.d_date_sk = web_sales.ws_sold_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ws_sold_date_sk] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[web_sales] apply RFs: RF0 RF3 RF4 +----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF3 RF4 --------------------------------PhysicalProject ----------------------------------filter((date_dim.d_moy = 12) and (date_dim.d_year = 2000)) -------------------------------------PhysicalFileScan[date_dim] +------------------------------------PhysicalOlapScan[date_dim] --------------------------PhysicalDistribute[DistributionSpecHash] ----------------------------PhysicalProject ------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((date_dim.d_date_sk = catalog_sales.cs_sold_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF1 RF3 RF4 +----------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF1 RF3 RF4 --------------------------------PhysicalProject ----------------------------------filter((date_dim.d_moy = 12) and (date_dim.d_year = 2000)) -------------------------------------PhysicalFileScan[date_dim] +------------------------------------PhysicalOlapScan[date_dim] --------------------------PhysicalDistribute[DistributionSpecHash] ----------------------------PhysicalProject ------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((date_dim.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[ss_sold_date_sk] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[store_sales] apply RFs: RF2 RF3 RF4 +----------------------------------PhysicalOlapScan[store_sales] apply RFs: RF2 RF3 RF4 --------------------------------PhysicalProject ----------------------------------filter((date_dim.d_moy = 12) and (date_dim.d_year = 2000)) -------------------------------------PhysicalFileScan[date_dim] +------------------------------------PhysicalOlapScan[date_dim] ------------------------PhysicalProject --------------------------filter((item.i_manager_id = 1)) -----------------------------PhysicalFileScan[item] +----------------------------PhysicalOlapScan[item] --------------------PhysicalProject ----------------------filter(t_meal_time IN ('breakfast', 'dinner')) -------------------------PhysicalFileScan[time_dim] +------------------------PhysicalOlapScan[time_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query72.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query72.out index 90e49160a6c383..2aebd7f5200fa9 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query72.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query72.out @@ -28,27 +28,27 @@ PhysicalResultSink --------------------------------------------------PhysicalProject ----------------------------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((catalog_sales.cs_item_sk = inventory.inv_item_sk)) otherCondition=((inventory.inv_quantity_on_hand < catalog_sales.cs_quantity)) build RFs:RF0 inv_item_sk->[cs_item_sk] ------------------------------------------------------PhysicalProject ---------------------------------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF0 RF2 RF3 RF5 RF6 RF8 -------------------------------------------------------PhysicalFileScan[inventory] apply RFs: RF1 RF2 RF4 +--------------------------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF2 RF3 RF5 RF6 RF8 +------------------------------------------------------PhysicalOlapScan[inventory] apply RFs: RF1 RF2 RF4 --------------------------------------------------PhysicalProject -----------------------------------------------------PhysicalFileScan[warehouse] +----------------------------------------------------PhysicalOlapScan[warehouse] ----------------------------------------------PhysicalProject -------------------------------------------------PhysicalFileScan[item] +------------------------------------------------PhysicalOlapScan[item] ------------------------------------------PhysicalProject --------------------------------------------filter((customer_demographics.cd_marital_status = 'D')) -----------------------------------------------PhysicalFileScan[customer_demographics] +----------------------------------------------PhysicalOlapScan[customer_demographics] --------------------------------------PhysicalProject -----------------------------------------PhysicalFileScan[date_dim] apply RFs: RF7 +----------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF7 ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[date_dim] +------------------------------------PhysicalOlapScan[date_dim] ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[promotion] +--------------------------------PhysicalOlapScan[promotion] --------------------------PhysicalProject -----------------------------PhysicalFileScan[catalog_returns] +----------------------------PhysicalOlapScan[catalog_returns] ----------------------PhysicalProject ------------------------filter((household_demographics.hd_buy_potential = '1001-5000')) ---------------------------PhysicalFileScan[household_demographics] +--------------------------PhysicalOlapScan[household_demographics] ------------------PhysicalProject --------------------filter((d1.d_year = 2000)) -----------------------PhysicalFileScan[date_dim] +----------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query73.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query73.out index 23aa5bf1d1f70d..33a130844295c9 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query73.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query73.out @@ -17,16 +17,16 @@ PhysicalResultSink ----------------------------PhysicalProject ------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ss_sold_date_sk] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 +----------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 --------------------------------PhysicalProject ----------------------------------filter((date_dim.d_dom <= 2) and (date_dim.d_dom >= 1) and d_year IN (2000, 2001, 2002)) -------------------------------------PhysicalFileScan[date_dim] +------------------------------------PhysicalOlapScan[date_dim] ----------------------------PhysicalProject ------------------------------filter(s_county IN ('Bronx County', 'Furnas County', 'Lea County', 'Pennington County')) ---------------------------------PhysicalFileScan[store] +--------------------------------PhysicalOlapScan[store] ------------------------PhysicalProject --------------------------filter((household_demographics.hd_vehicle_count > 0) and (if((hd_vehicle_count > 0), (cast(hd_dep_count as DOUBLE) / cast(hd_vehicle_count as DOUBLE)), NULL) > 1.0) and hd_buy_potential IN ('5001-10000', '>10000')) -----------------------------PhysicalFileScan[household_demographics] +----------------------------PhysicalOlapScan[household_demographics] ------------PhysicalProject ---------------PhysicalFileScan[customer] +--------------PhysicalOlapScan[customer] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query74.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query74.out index 2d50bbcb50fec5..dd412dc06cf521 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query74.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query74.out @@ -12,12 +12,12 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ------------------PhysicalProject --------------------hashJoin[INNER_JOIN shuffle] hashCondition=((customer.c_customer_sk = store_sales.ss_customer_sk)) otherCondition=() build RFs:RF0 c_customer_sk->[ss_customer_sk] ----------------------PhysicalProject -------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 +------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 ----------------------PhysicalProject -------------------------PhysicalFileScan[customer] +------------------------PhysicalOlapScan[customer] ------------------PhysicalProject --------------------filter(d_year IN (1998, 1999)) -----------------------PhysicalFileScan[date_dim] +----------------------PhysicalOlapScan[date_dim] ------PhysicalProject --------hashAgg[GLOBAL] ----------PhysicalDistribute[DistributionSpecHash] @@ -27,12 +27,12 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ------------------PhysicalProject --------------------hashJoin[INNER_JOIN shuffle] hashCondition=((customer.c_customer_sk = web_sales.ws_bill_customer_sk)) otherCondition=() build RFs:RF2 c_customer_sk->[ws_bill_customer_sk] ----------------------PhysicalProject -------------------------PhysicalFileScan[web_sales] apply RFs: RF2 RF3 +------------------------PhysicalOlapScan[web_sales] apply RFs: RF2 RF3 ----------------------PhysicalProject -------------------------PhysicalFileScan[customer] +------------------------PhysicalOlapScan[customer] ------------------PhysicalProject --------------------filter(d_year IN (1998, 1999)) -----------------------PhysicalFileScan[date_dim] +----------------------PhysicalOlapScan[date_dim] --PhysicalResultSink ----PhysicalTopN[MERGE_SORT] ------PhysicalDistribute[DistributionSpecGather] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query75.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query75.out index 7b5b7b107b1ba3..b45f54f94a72ed 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query75.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query75.out @@ -18,15 +18,15 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ------------------------------PhysicalProject --------------------------------hashJoin[LEFT_OUTER_JOIN shuffle] hashCondition=((catalog_sales.cs_item_sk = catalog_returns.cr_item_sk) and (catalog_sales.cs_order_number = catalog_returns.cr_order_number)) otherCondition=() ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF0 RF1 +------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[catalog_returns] +------------------------------------PhysicalOlapScan[catalog_returns] ------------------------------PhysicalProject --------------------------------filter((item.i_category = 'Sports')) -----------------------------------PhysicalFileScan[item] +----------------------------------PhysicalOlapScan[item] --------------------------PhysicalProject ----------------------------filter(d_year IN (2000, 2001)) -------------------------------PhysicalFileScan[date_dim] +------------------------------PhysicalOlapScan[date_dim] ----------------hashAgg[GLOBAL] ------------------PhysicalDistribute[DistributionSpecHash] --------------------hashAgg[LOCAL] @@ -37,15 +37,15 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ------------------------------PhysicalProject --------------------------------hashJoin[LEFT_OUTER_JOIN shuffle] hashCondition=((store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=() ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[store_sales] apply RFs: RF2 RF3 +------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF2 RF3 ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[store_returns] +------------------------------------PhysicalOlapScan[store_returns] ------------------------------PhysicalProject --------------------------------filter((item.i_category = 'Sports')) -----------------------------------PhysicalFileScan[item] +----------------------------------PhysicalOlapScan[item] --------------------------PhysicalProject ----------------------------filter(d_year IN (2000, 2001)) -------------------------------PhysicalFileScan[date_dim] +------------------------------PhysicalOlapScan[date_dim] ----------------hashAgg[GLOBAL] ------------------PhysicalDistribute[DistributionSpecHash] --------------------hashAgg[LOCAL] @@ -56,15 +56,15 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ------------------------------PhysicalProject --------------------------------hashJoin[LEFT_OUTER_JOIN shuffle] hashCondition=((web_sales.ws_item_sk = web_returns.wr_item_sk) and (web_sales.ws_order_number = web_returns.wr_order_number)) otherCondition=() ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[web_sales] apply RFs: RF4 RF5 +------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF4 RF5 ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[web_returns] +------------------------------------PhysicalOlapScan[web_returns] ------------------------------PhysicalProject --------------------------------filter((item.i_category = 'Sports')) -----------------------------------PhysicalFileScan[item] +----------------------------------PhysicalOlapScan[item] --------------------------PhysicalProject ----------------------------filter(d_year IN (2000, 2001)) -------------------------------PhysicalFileScan[date_dim] +------------------------------PhysicalOlapScan[date_dim] --PhysicalResultSink ----PhysicalTopN[MERGE_SORT] ------PhysicalDistribute[DistributionSpecGather] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query76.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query76.out index fa59ad05307d33..d929aca4ca8137 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query76.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query76.out @@ -15,11 +15,11 @@ PhysicalResultSink ------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk] --------------------------PhysicalProject ----------------------------filter(ss_customer_sk IS NULL) -------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 +------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 --------------------------PhysicalProject -----------------------------PhysicalFileScan[item] +----------------------------PhysicalOlapScan[item] ----------------------PhysicalProject -------------------------PhysicalFileScan[date_dim] +------------------------PhysicalOlapScan[date_dim] ----------------PhysicalDistribute[DistributionSpecExecutionAny] ------------------PhysicalProject --------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF3 d_date_sk->[ws_sold_date_sk] @@ -27,11 +27,11 @@ PhysicalResultSink ------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF2 i_item_sk->[ws_item_sk] --------------------------PhysicalProject ----------------------------filter(ws_ship_addr_sk IS NULL) -------------------------------PhysicalFileScan[web_sales] apply RFs: RF2 RF3 +------------------------------PhysicalOlapScan[web_sales] apply RFs: RF2 RF3 --------------------------PhysicalProject -----------------------------PhysicalFileScan[item] +----------------------------PhysicalOlapScan[item] ----------------------PhysicalProject -------------------------PhysicalFileScan[date_dim] +------------------------PhysicalOlapScan[date_dim] ----------------PhysicalDistribute[DistributionSpecExecutionAny] ------------------PhysicalProject --------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF5 d_date_sk->[cs_sold_date_sk] @@ -39,9 +39,9 @@ PhysicalResultSink ------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF4 i_item_sk->[cs_item_sk] --------------------------PhysicalProject ----------------------------filter(cs_ship_mode_sk IS NULL) -------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF4 RF5 +------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF4 RF5 --------------------------PhysicalProject -----------------------------PhysicalFileScan[item] +----------------------------PhysicalOlapScan[item] ----------------------PhysicalProject -------------------------PhysicalFileScan[date_dim] +------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query77.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query77.out index 24dcc5ca2f1866..ce4f3f7828757e 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query77.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query77.out @@ -21,12 +21,12 @@ PhysicalResultSink ------------------------------------PhysicalProject --------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[ss_sold_date_sk] ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[store_sales] apply RFs: RF2 RF3 +------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF2 RF3 ----------------------------------------PhysicalProject ------------------------------------------filter((date_dim.d_date <= '2000-09-15') and (date_dim.d_date >= '2000-08-16')) ---------------------------------------------PhysicalFileScan[date_dim] +--------------------------------------------PhysicalOlapScan[date_dim] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[store] +--------------------------------------PhysicalOlapScan[store] ------------------------PhysicalProject --------------------------hashAgg[GLOBAL] ----------------------------PhysicalDistribute[DistributionSpecHash] @@ -36,12 +36,12 @@ PhysicalResultSink ------------------------------------PhysicalProject --------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_returns.sr_returned_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[sr_returned_date_sk] ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[store_returns] apply RFs: RF0 RF1 +------------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF0 RF1 ----------------------------------------PhysicalProject ------------------------------------------filter((date_dim.d_date <= '2000-09-15') and (date_dim.d_date >= '2000-08-16')) ---------------------------------------------PhysicalFileScan[date_dim] +--------------------------------------------PhysicalOlapScan[date_dim] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[store] +--------------------------------------PhysicalOlapScan[store] --------------------PhysicalProject ----------------------NestedLoopJoin[CROSS_JOIN] ------------------------PhysicalProject @@ -51,10 +51,10 @@ PhysicalResultSink --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF5 d_date_sk->[cs_sold_date_sk] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF5 +--------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF5 ------------------------------------PhysicalProject --------------------------------------filter((date_dim.d_date <= '2000-09-15') and (date_dim.d_date >= '2000-08-16')) -----------------------------------------PhysicalFileScan[date_dim] +----------------------------------------PhysicalOlapScan[date_dim] ------------------------PhysicalProject --------------------------hashAgg[GLOBAL] ----------------------------PhysicalDistribute[DistributionSpecHash] @@ -62,10 +62,10 @@ PhysicalResultSink --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_returns.cr_returned_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF4 d_date_sk->[cr_returned_date_sk] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[catalog_returns] apply RFs: RF4 +--------------------------------------PhysicalOlapScan[catalog_returns] apply RFs: RF4 ------------------------------------PhysicalProject --------------------------------------filter((date_dim.d_date <= '2000-09-15') and (date_dim.d_date >= '2000-08-16')) -----------------------------------------PhysicalFileScan[date_dim] +----------------------------------------PhysicalOlapScan[date_dim] --------------------PhysicalProject ----------------------hashJoin[LEFT_OUTER_JOIN colocated] hashCondition=((ws.wp_web_page_sk = wr.wp_web_page_sk)) otherCondition=() ------------------------PhysicalProject @@ -77,12 +77,12 @@ PhysicalResultSink ------------------------------------PhysicalProject --------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF8 d_date_sk->[ws_sold_date_sk] ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[web_sales] apply RFs: RF8 RF9 +------------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF8 RF9 ----------------------------------------PhysicalProject ------------------------------------------filter((date_dim.d_date <= '2000-09-15') and (date_dim.d_date >= '2000-08-16')) ---------------------------------------------PhysicalFileScan[date_dim] +--------------------------------------------PhysicalOlapScan[date_dim] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[web_page] +--------------------------------------PhysicalOlapScan[web_page] ------------------------PhysicalProject --------------------------hashAgg[GLOBAL] ----------------------------PhysicalDistribute[DistributionSpecHash] @@ -92,10 +92,10 @@ PhysicalResultSink ------------------------------------PhysicalProject --------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_returns.wr_returned_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[wr_returned_date_sk] ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[web_returns] apply RFs: RF6 RF7 +------------------------------------------PhysicalOlapScan[web_returns] apply RFs: RF6 RF7 ----------------------------------------PhysicalProject ------------------------------------------filter((date_dim.d_date <= '2000-09-15') and (date_dim.d_date >= '2000-08-16')) ---------------------------------------------PhysicalFileScan[date_dim] +--------------------------------------------PhysicalOlapScan[date_dim] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[web_page] +--------------------------------------PhysicalOlapScan[web_page] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query78.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query78.out index 7d5943b09df3a6..8662cb5a1ad007 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query78.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query78.out @@ -16,15 +16,14 @@ PhysicalResultSink --------------------------PhysicalProject ----------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[ss_sold_date_sk] ------------------------------PhysicalProject ---------------------------------filter(sr_ticket_number IS NULL) -----------------------------------hashJoin[LEFT_OUTER_JOIN shuffle] hashCondition=((store_returns.sr_ticket_number = store_sales.ss_ticket_number) and (store_sales.ss_item_sk = store_returns.sr_item_sk)) otherCondition=() -------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[store_sales] apply RFs: RF2 -------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[store_returns] +--------------------------------hashJoin[LEFT_ANTI_JOIN shuffle] hashCondition=((store_returns.sr_ticket_number = store_sales.ss_ticket_number) and (store_sales.ss_item_sk = store_returns.sr_item_sk)) otherCondition=() +----------------------------------PhysicalProject +------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF2 +----------------------------------PhysicalProject +------------------------------------PhysicalOlapScan[store_returns] ------------------------------PhysicalProject --------------------------------filter((date_dim.d_year = 2001)) -----------------------------------PhysicalFileScan[date_dim] +----------------------------------PhysicalOlapScan[date_dim] ------------------PhysicalProject --------------------hashAgg[GLOBAL] ----------------------PhysicalDistribute[DistributionSpecHash] @@ -32,15 +31,14 @@ PhysicalResultSink --------------------------PhysicalProject ----------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ws_sold_date_sk] ------------------------------PhysicalProject ---------------------------------filter(wr_order_number IS NULL) -----------------------------------hashJoin[LEFT_OUTER_JOIN shuffle] hashCondition=((web_returns.wr_order_number = web_sales.ws_order_number) and (web_sales.ws_item_sk = web_returns.wr_item_sk)) otherCondition=() -------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[web_sales] apply RFs: RF1 -------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[web_returns] +--------------------------------hashJoin[LEFT_ANTI_JOIN shuffle] hashCondition=((web_returns.wr_order_number = web_sales.ws_order_number) and (web_sales.ws_item_sk = web_returns.wr_item_sk)) otherCondition=() +----------------------------------PhysicalProject +------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF1 +----------------------------------PhysicalProject +------------------------------------PhysicalOlapScan[web_returns] ------------------------------PhysicalProject --------------------------------filter((date_dim.d_year = 2001)) -----------------------------------PhysicalFileScan[date_dim] +----------------------------------PhysicalOlapScan[date_dim] --------------PhysicalProject ----------------hashAgg[GLOBAL] ------------------PhysicalDistribute[DistributionSpecHash] @@ -48,13 +46,12 @@ PhysicalResultSink ----------------------PhysicalProject ------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[cs_sold_date_sk] --------------------------PhysicalProject -----------------------------filter(cr_order_number IS NULL) -------------------------------hashJoin[LEFT_OUTER_JOIN shuffle] hashCondition=((catalog_returns.cr_order_number = catalog_sales.cs_order_number) and (catalog_sales.cs_item_sk = catalog_returns.cr_item_sk)) otherCondition=() ---------------------------------PhysicalProject -----------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF0 ---------------------------------PhysicalProject -----------------------------------PhysicalFileScan[catalog_returns] +----------------------------hashJoin[LEFT_ANTI_JOIN shuffle] hashCondition=((catalog_returns.cr_order_number = catalog_sales.cs_order_number) and (catalog_sales.cs_item_sk = catalog_returns.cr_item_sk)) otherCondition=() +------------------------------PhysicalProject +--------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 +------------------------------PhysicalProject +--------------------------------PhysicalOlapScan[catalog_returns] --------------------------PhysicalProject ----------------------------filter((date_dim.d_year = 2001)) -------------------------------PhysicalFileScan[date_dim] +------------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query79.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query79.out index a9b846193748f2..8684d60ad233dd 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query79.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query79.out @@ -17,16 +17,16 @@ PhysicalResultSink ----------------------------PhysicalProject ------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ss_sold_date_sk] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 +----------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 --------------------------------PhysicalProject ----------------------------------filter((date_dim.d_dow = 1) and d_year IN (1998, 1999, 2000)) -------------------------------------PhysicalFileScan[date_dim] +------------------------------------PhysicalOlapScan[date_dim] ----------------------------PhysicalProject ------------------------------filter((store.s_number_employees <= 295) and (store.s_number_employees >= 200)) ---------------------------------PhysicalFileScan[store] +--------------------------------PhysicalOlapScan[store] ------------------------PhysicalProject --------------------------filter(((household_demographics.hd_dep_count = 0) OR (household_demographics.hd_vehicle_count > 3))) -----------------------------PhysicalFileScan[household_demographics] +----------------------------PhysicalOlapScan[household_demographics] ------------PhysicalProject ---------------PhysicalFileScan[customer] +--------------PhysicalOlapScan[customer] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query8.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query8.out index c3b348c55b9135..00f211d12927a2 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query8.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query8.out @@ -14,12 +14,12 @@ PhysicalResultSink ----------------------PhysicalProject ------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk] --------------------------PhysicalProject -----------------------------PhysicalFileScan[store_sales] apply RFs: RF1 RF2 +----------------------------PhysicalOlapScan[store_sales] apply RFs: RF1 RF2 --------------------------PhysicalProject ----------------------------filter((date_dim.d_qoy = 2) and (date_dim.d_year = 1998)) -------------------------------PhysicalFileScan[date_dim] +------------------------------PhysicalOlapScan[date_dim] ----------------------PhysicalProject -------------------------PhysicalFileScan[store] +------------------------PhysicalOlapScan[store] ------------------PhysicalProject --------------------PhysicalIntersect ----------------------PhysicalDistribute[DistributionSpecHash] @@ -32,12 +32,12 @@ PhysicalResultSink ------------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((customer_address.ca_address_sk = customer.c_current_addr_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[c_current_addr_sk] --------------------------------------PhysicalProject ----------------------------------------filter((customer.c_preferred_cust_flag = 'Y')) -------------------------------------------PhysicalFileScan[customer] apply RFs: RF0 +------------------------------------------PhysicalOlapScan[customer] apply RFs: RF0 --------------------------------------PhysicalProject ----------------------------------------filter(substring(ca_zip, 1, 5) IN ('10298', '10374', '10425', '11340', '11489', '11618', '11652', '11686', '11855', '11912', '12197', '12318', '12320', '12350', '13086', '13123', '13261', '13338', '13376', '13378', '13443', '13844', '13869', '13918', '14073', '14155', '14196', '14242', '14312', '14440', '14530', '14851', '15371', '15475', '15543', '15734', '15751', '15782', '15794', '16005', '16226', '16364', '16515', '16704', '16791', '16891', '17167', '17193', '17291', '17672', '17819', '17879', '17895', '18218', '18360', '18367', '18410', '18421', '18434', '18569', '18700', '18767', '18829', '18884', '19326', '19444', '19489', '19753', '19833', '19988', '20244', '20317', '20534', '20601', '20712', '21060', '21094', '21204', '21231', '21343', '21727', '21800', '21814', '22728', '22815', '22911', '23065', '23952', '24227', '24255', '24286', '24594', '24660', '24891', '24987', '25115', '25178', '25214', '25264', '25333', '25494', '25717', '25973', '26217', '26689', '27052', '27116', '27156', '27287', '27369', '27385', '27413', '27642', '27700', '28055', '28239', '28571', '28577', '28810', '29086', '29392', '29450', '29752', '29818', '30106', '30415', '30621', '31013', '31016', '31655', '31830', '32489', '32669', '32754', '32919', '32958', '32961', '33113', '33122', '33159', '33467', '33562', '33773', '33869', '34306', '34473', '34594', '34948', '34972', '35076', '35390', '35834', '35863', '35926', '36201', '36335', '36430', '36479', '37119', '37788', '37914', '38353', '38607', '38919', '39214', '39459', '39500', '39503', '40146', '40936', '40979', '41162', '41232', '41255', '41331', '41351', '41352', '41419', '41807', '41836', '41967', '42361', '43432', '43639', '43830', '43933', '44529', '45266', '45484', '45533', '45645', '45676', '45859', '46081', '46131', '46507', '47289', '47369', '47529', '47602', '47770', '48017', '48162', '48333', '48530', '48567', '49101', '49130', '49140', '49211', '49230', '49254', '49472', '50412', '50632', '50636', '50679', '50788', '51089', '51184', '51195', '51634', '51717', '51766', '51782', '51793', '51933', '52094', '52301', '52389', '52868', '53163', '53535', '53565', '54010', '54207', '54364', '54558', '54585', '55233', '55349', '56224', '56355', '56436', '56455', '56600', '56877', '57025', '57553', '57631', '57649', '57839', '58032', '58058', '58062', '58117', '58218', '58412', '58454', '58581', '59004', '59080', '59130', '59226', '59345', '59386', '59494', '59852', '60083', '60298', '60560', '60624', '60736', '61527', '61794', '61860', '61997', '62361', '62585', '62878', '63073', '63180', '63193', '63294', '63792', '63991', '64592', '65148', '65177', '65501', '66057', '66943', '67881', '67975', '67998', '68101', '68293', '68341', '68605', '68730', '68770', '68843', '68852', '68908', '69280', '69952', '69998', '70041', '70070', '70073', '70450', '71144', '71256', '71286', '71836', '71948', '71954', '71997', '72592', '72991', '73021', '73108', '73134', '73146', '73219', '73873', '74686', '75660', '75675', '75742', '75752', '77454', '77817', '78093', '78366', '79077', '79658', '80332', '80846', '81003', '81070', '81084', '81335', '81504', '81755', '81963', '82080', '82602', '82620', '83041', '83086', '83583', '83647', '83833', '83910', '83986', '84247', '84680', '84844', '84919', '85066', '85761', '86057', '86379', '86709', '88086', '88137', '88217', '89193', '89338', '90209', '90229', '90669', '91110', '91894', '92292', '92380', '92645', '92696', '93498', '94791', '94835', '94898', '95042', '95430', '95464', '95694', '96435', '96560', '97173', '97462', '98069', '98072', '98338', '98533', '98569', '98584', '98862', '99060', '99132')) -------------------------------------------PhysicalFileScan[customer_address] +------------------------------------------PhysicalOlapScan[customer_address] ----------------------PhysicalDistribute[DistributionSpecHash] ------------------------PhysicalProject --------------------------filter(substring(ca_zip, 1, 5) IN ('10298', '10374', '10425', '11340', '11489', '11618', '11652', '11686', '11855', '11912', '12197', '12318', '12320', '12350', '13086', '13123', '13261', '13338', '13376', '13378', '13443', '13844', '13869', '13918', '14073', '14155', '14196', '14242', '14312', '14440', '14530', '14851', '15371', '15475', '15543', '15734', '15751', '15782', '15794', '16005', '16226', '16364', '16515', '16704', '16791', '16891', '17167', '17193', '17291', '17672', '17819', '17879', '17895', '18218', '18360', '18367', '18410', '18421', '18434', '18569', '18700', '18767', '18829', '18884', '19326', '19444', '19489', '19753', '19833', '19988', '20244', '20317', '20534', '20601', '20712', '21060', '21094', '21204', '21231', '21343', '21727', '21800', '21814', '22728', '22815', '22911', '23065', '23952', '24227', '24255', '24286', '24594', '24660', '24891', '24987', '25115', '25178', '25214', '25264', '25333', '25494', '25717', '25973', '26217', '26689', '27052', '27116', '27156', '27287', '27369', '27385', '27413', '27642', '27700', '28055', '28239', '28571', '28577', '28810', '29086', '29392', '29450', '29752', '29818', '30106', '30415', '30621', '31013', '31016', '31655', '31830', '32489', '32669', '32754', '32919', '32958', '32961', '33113', '33122', '33159', '33467', '33562', '33773', '33869', '34306', '34473', '34594', '34948', '34972', '35076', '35390', '35834', '35863', '35926', '36201', '36335', '36430', '36479', '37119', '37788', '37914', '38353', '38607', '38919', '39214', '39459', '39500', '39503', '40146', '40936', '40979', '41162', '41232', '41255', '41331', '41351', '41352', '41419', '41807', '41836', '41967', '42361', '43432', '43639', '43830', '43933', '44529', '45266', '45484', '45533', '45645', '45676', '45859', '46081', '46131', '46507', '47289', '47369', '47529', '47602', '47770', '48017', '48162', '48333', '48530', '48567', '49101', '49130', '49140', '49211', '49230', '49254', '49472', '50412', '50632', '50636', '50679', '50788', '51089', '51184', '51195', '51634', '51717', '51766', '51782', '51793', '51933', '52094', '52301', '52389', '52868', '53163', '53535', '53565', '54010', '54207', '54364', '54558', '54585', '55233', '55349', '56224', '56355', '56436', '56455', '56600', '56877', '57025', '57553', '57631', '57649', '57839', '58032', '58058', '58062', '58117', '58218', '58412', '58454', '58581', '59004', '59080', '59130', '59226', '59345', '59386', '59494', '59852', '60083', '60298', '60560', '60624', '60736', '61527', '61794', '61860', '61997', '62361', '62585', '62878', '63073', '63180', '63193', '63294', '63792', '63991', '64592', '65148', '65177', '65501', '66057', '66943', '67881', '67975', '67998', '68101', '68293', '68341', '68605', '68730', '68770', '68843', '68852', '68908', '69280', '69952', '69998', '70041', '70070', '70073', '70450', '71144', '71256', '71286', '71836', '71948', '71954', '71997', '72592', '72991', '73021', '73108', '73134', '73146', '73219', '73873', '74686', '75660', '75675', '75742', '75752', '77454', '77817', '78093', '78366', '79077', '79658', '80332', '80846', '81003', '81070', '81084', '81335', '81504', '81755', '81963', '82080', '82602', '82620', '83041', '83086', '83583', '83647', '83833', '83910', '83986', '84247', '84680', '84844', '84919', '85066', '85761', '86057', '86379', '86709', '88086', '88137', '88217', '89193', '89338', '90209', '90229', '90669', '91110', '91894', '92292', '92380', '92645', '92696', '93498', '94791', '94835', '94898', '95042', '95430', '95464', '95694', '96435', '96560', '97173', '97462', '98069', '98072', '98338', '98533', '98569', '98584', '98862', '99060', '99132')) -----------------------------PhysicalFileScan[customer_address] +----------------------------PhysicalOlapScan[customer_address] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query80.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query80.out index bf276b5b117557..8805cfd6e7362c 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query80.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query80.out @@ -15,30 +15,30 @@ PhysicalResultSink ------------------------PhysicalDistribute[DistributionSpecHash] --------------------------hashAgg[LOCAL] ----------------------------PhysicalProject -------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_promo_sk = promotion.p_promo_sk)) otherCondition=() build RFs:RF3 p_promo_sk->[ss_promo_sk] +------------------------------hashJoin[LEFT_OUTER_JOIN shuffle] hashCondition=((store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=() --------------------------------PhysicalProject -----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF2 i_item_sk->[ss_item_sk] +----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_promo_sk = promotion.p_promo_sk)) otherCondition=() build RFs:RF3 p_promo_sk->[ss_promo_sk] ------------------------------------PhysicalProject ---------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_store_sk = store.s_store_sk)) otherCondition=() build RFs:RF1 s_store_sk->[ss_store_sk] +--------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF2 i_item_sk->[ss_item_sk] ----------------------------------------PhysicalProject -------------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ss_sold_date_sk] +------------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_store_sk = store.s_store_sk)) otherCondition=() build RFs:RF1 s_store_sk->[ss_store_sk] --------------------------------------------PhysicalProject -----------------------------------------------hashJoin[LEFT_OUTER_JOIN shuffle] hashCondition=((store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=() +----------------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ss_sold_date_sk] ------------------------------------------------PhysicalProject ---------------------------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 +--------------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 ------------------------------------------------PhysicalProject ---------------------------------------------------PhysicalFileScan[store_returns] +--------------------------------------------------filter((date_dim.d_date <= '2002-09-05') and (date_dim.d_date >= '2002-08-06')) +----------------------------------------------------PhysicalOlapScan[date_dim] --------------------------------------------PhysicalProject -----------------------------------------------filter((date_dim.d_date <= '2002-09-05') and (date_dim.d_date >= '2002-08-06')) -------------------------------------------------PhysicalFileScan[date_dim] +----------------------------------------------PhysicalOlapScan[store] ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[store] +------------------------------------------filter((item.i_current_price > 50.00)) +--------------------------------------------PhysicalOlapScan[item] ------------------------------------PhysicalProject ---------------------------------------filter((item.i_current_price > 50.00)) -----------------------------------------PhysicalFileScan[item] +--------------------------------------filter((promotion.p_channel_tv = 'N')) +----------------------------------------PhysicalOlapScan[promotion] --------------------------------PhysicalProject -----------------------------------filter((promotion.p_channel_tv = 'N')) -------------------------------------PhysicalFileScan[promotion] +----------------------------------PhysicalOlapScan[store_returns] --------------------PhysicalProject ----------------------hashAgg[GLOBAL] ------------------------PhysicalDistribute[DistributionSpecHash] @@ -54,20 +54,20 @@ PhysicalResultSink --------------------------------------------PhysicalProject ----------------------------------------------hashJoin[LEFT_OUTER_JOIN shuffle] hashCondition=((catalog_sales.cs_item_sk = catalog_returns.cr_item_sk) and (catalog_sales.cs_order_number = catalog_returns.cr_order_number)) otherCondition=() ------------------------------------------------PhysicalProject ---------------------------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF4 RF5 RF6 RF7 +--------------------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF4 RF5 RF6 RF7 ------------------------------------------------PhysicalProject ---------------------------------------------------PhysicalFileScan[catalog_returns] +--------------------------------------------------PhysicalOlapScan[catalog_returns] --------------------------------------------PhysicalProject -----------------------------------------------PhysicalFileScan[catalog_page] +----------------------------------------------PhysicalOlapScan[catalog_page] ----------------------------------------PhysicalProject ------------------------------------------filter((date_dim.d_date <= '2002-09-05') and (date_dim.d_date >= '2002-08-06')) ---------------------------------------------PhysicalFileScan[date_dim] +--------------------------------------------PhysicalOlapScan[date_dim] ------------------------------------PhysicalProject --------------------------------------filter((item.i_current_price > 50.00)) -----------------------------------------PhysicalFileScan[item] +----------------------------------------PhysicalOlapScan[item] --------------------------------PhysicalProject ----------------------------------filter((promotion.p_channel_tv = 'N')) -------------------------------------PhysicalFileScan[promotion] +------------------------------------PhysicalOlapScan[promotion] --------------------PhysicalProject ----------------------hashAgg[GLOBAL] ------------------------PhysicalDistribute[DistributionSpecHash] @@ -77,24 +77,24 @@ PhysicalResultSink --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF10 i_item_sk->[ws_item_sk] ------------------------------------PhysicalProject ---------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF9 web_site_sk->[ws_web_site_sk] +--------------------------------------hashJoin[LEFT_OUTER_JOIN shuffle] hashCondition=((web_sales.ws_item_sk = web_returns.wr_item_sk) and (web_sales.ws_order_number = web_returns.wr_order_number)) otherCondition=() ----------------------------------------PhysicalProject -------------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF8 d_date_sk->[ws_sold_date_sk] +------------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF9 web_site_sk->[ws_web_site_sk] --------------------------------------------PhysicalProject -----------------------------------------------hashJoin[LEFT_OUTER_JOIN shuffle] hashCondition=((web_sales.ws_item_sk = web_returns.wr_item_sk) and (web_sales.ws_order_number = web_returns.wr_order_number)) otherCondition=() +----------------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF8 d_date_sk->[ws_sold_date_sk] ------------------------------------------------PhysicalProject ---------------------------------------------------PhysicalFileScan[web_sales] apply RFs: RF8 RF9 RF10 RF11 +--------------------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF8 RF9 RF10 RF11 ------------------------------------------------PhysicalProject ---------------------------------------------------PhysicalFileScan[web_returns] +--------------------------------------------------filter((date_dim.d_date <= '2002-09-05') and (date_dim.d_date >= '2002-08-06')) +----------------------------------------------------PhysicalOlapScan[date_dim] --------------------------------------------PhysicalProject -----------------------------------------------filter((date_dim.d_date <= '2002-09-05') and (date_dim.d_date >= '2002-08-06')) -------------------------------------------------PhysicalFileScan[date_dim] +----------------------------------------------PhysicalOlapScan[web_site] ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[web_site] +------------------------------------------PhysicalOlapScan[web_returns] ------------------------------------PhysicalProject --------------------------------------filter((item.i_current_price > 50.00)) -----------------------------------------PhysicalFileScan[item] +----------------------------------------PhysicalOlapScan[item] --------------------------------PhysicalProject ----------------------------------filter((promotion.p_channel_tv = 'N')) -------------------------------------PhysicalFileScan[promotion] +------------------------------------PhysicalOlapScan[promotion] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query81.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query81.out index 436782a907b6cc..da27f4206dda1a 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query81.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query81.out @@ -11,31 +11,31 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ----------------PhysicalProject ------------------hashJoin[INNER_JOIN shuffle] hashCondition=((catalog_returns.cr_returning_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[cr_returning_addr_sk] --------------------PhysicalProject -----------------------PhysicalFileScan[catalog_returns] apply RFs: RF0 RF1 +----------------------PhysicalOlapScan[catalog_returns] apply RFs: RF0 RF1 --------------------PhysicalProject -----------------------PhysicalFileScan[customer_address] +----------------------PhysicalOlapScan[customer_address] ----------------PhysicalProject ------------------filter((date_dim.d_year = 1998)) ---------------------PhysicalFileScan[date_dim] +--------------------PhysicalOlapScan[date_dim] --PhysicalResultSink ----PhysicalTopN[MERGE_SORT] ------PhysicalDistribute[DistributionSpecGather] --------PhysicalTopN[LOCAL_SORT] ----------PhysicalProject -------------hashJoin[INNER_JOIN shuffleBucket] hashCondition=((ctr1.ctr_state = ctr2.ctr_state)) otherCondition=((cast(ctr_total_return as DOUBLE) > cast((avg(cast(ctr_total_return as DECIMALV3(38, 4))) * 1.2) as DOUBLE))) build RFs:RF4 ctr_state->[ctr_state] +------------hashJoin[INNER_JOIN broadcast] hashCondition=((customer_address.ca_address_sk = customer.c_current_addr_sk)) otherCondition=() build RFs:RF4 ca_address_sk->[c_current_addr_sk] --------------PhysicalProject -----------------hashJoin[INNER_JOIN broadcast] hashCondition=((customer_address.ca_address_sk = customer.c_current_addr_sk)) otherCondition=() build RFs:RF3 ca_address_sk->[c_current_addr_sk] +----------------hashJoin[INNER_JOIN shuffleBucket] hashCondition=((ctr1.ctr_state = ctr2.ctr_state)) otherCondition=((cast(ctr_total_return as DOUBLE) > cast((avg(cast(ctr_total_return as DECIMALV3(38, 4))) * 1.2) as DOUBLE))) build RFs:RF3 ctr_state->[ctr_state] ------------------PhysicalProject --------------------hashJoin[INNER_JOIN shuffle] hashCondition=((ctr1.ctr_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF2 c_customer_sk->[ctr_customer_sk] -----------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF2 RF4 +----------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF2 RF3 ----------------------PhysicalProject -------------------------PhysicalFileScan[customer] apply RFs: RF3 -------------------PhysicalProject ---------------------filter((customer_address.ca_state = 'TX')) -----------------------PhysicalFileScan[customer_address] ---------------hashAgg[GLOBAL] -----------------PhysicalDistribute[DistributionSpecHash] -------------------hashAgg[LOCAL] ---------------------PhysicalDistribute[DistributionSpecExecutionAny] -----------------------PhysicalCteConsumer ( cteId=CTEId#0 ) +------------------------PhysicalOlapScan[customer] apply RFs: RF4 +------------------hashAgg[GLOBAL] +--------------------PhysicalDistribute[DistributionSpecHash] +----------------------hashAgg[LOCAL] +------------------------PhysicalDistribute[DistributionSpecExecutionAny] +--------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) +--------------PhysicalProject +----------------filter((customer_address.ca_state = 'TX')) +------------------PhysicalOlapScan[customer_address] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query82.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query82.out index 78a79db7bc9d23..1c36a3b82fb29e 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query82.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query82.out @@ -10,18 +10,18 @@ PhysicalResultSink --------------PhysicalProject ----------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF2 i_item_sk->[ss_item_sk] ------------------PhysicalProject ---------------------PhysicalFileScan[store_sales] apply RFs: RF2 +--------------------PhysicalOlapScan[store_sales] apply RFs: RF2 ------------------PhysicalProject --------------------hashJoin[INNER_JOIN broadcast] hashCondition=((date_dim.d_date_sk = inventory.inv_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[inv_date_sk] ----------------------PhysicalProject ------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((inventory.inv_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[inv_item_sk] --------------------------PhysicalProject ----------------------------filter((inventory.inv_quantity_on_hand <= 500) and (inventory.inv_quantity_on_hand >= 100)) -------------------------------PhysicalFileScan[inventory] apply RFs: RF0 RF1 +------------------------------PhysicalOlapScan[inventory] apply RFs: RF0 RF1 --------------------------PhysicalProject ----------------------------filter((item.i_current_price <= 79.00) and (item.i_current_price >= 49.00) and i_manufact_id IN (17, 292, 675, 80)) -------------------------------PhysicalFileScan[item] +------------------------------PhysicalOlapScan[item] ----------------------PhysicalProject ------------------------filter((date_dim.d_date <= '2001-03-29') and (date_dim.d_date >= '2001-01-28')) ---------------------------PhysicalFileScan[date_dim] +--------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query83.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query83.out index ded0cc5db1d825..e5be6405f585a7 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query83.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query83.out @@ -17,20 +17,20 @@ PhysicalResultSink ----------------------------PhysicalProject ------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_returns.sr_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF10 i_item_sk->[sr_item_sk] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[store_returns] apply RFs: RF10 RF11 +----------------------------------PhysicalOlapScan[store_returns] apply RFs: RF10 RF11 --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[item] apply RFs: RF12 RF13 +----------------------------------PhysicalOlapScan[item] apply RFs: RF12 RF13 ----------------------------PhysicalProject ------------------------------hashJoin[LEFT_SEMI_JOIN broadcast] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF9 d_date->[d_date] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[date_dim] apply RFs: RF9 +----------------------------------PhysicalOlapScan[date_dim] apply RFs: RF9 --------------------------------PhysicalProject ----------------------------------hashJoin[LEFT_SEMI_JOIN broadcast] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF8 d_week_seq->[d_week_seq] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[date_dim] apply RFs: RF8 +--------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF8 ------------------------------------PhysicalProject --------------------------------------filter(d_date IN ('2000-06-17', '2000-08-22', '2000-11-17')) -----------------------------------------PhysicalFileScan[date_dim] +----------------------------------------PhysicalOlapScan[date_dim] ----------------PhysicalProject ------------------hashAgg[GLOBAL] --------------------PhysicalDistribute[DistributionSpecHash] @@ -40,20 +40,20 @@ PhysicalResultSink ----------------------------PhysicalProject ------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_returns.cr_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF6 i_item_sk->[cr_item_sk] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[catalog_returns] apply RFs: RF6 RF7 +----------------------------------PhysicalOlapScan[catalog_returns] apply RFs: RF6 RF7 --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[item] apply RFs: RF13 +----------------------------------PhysicalOlapScan[item] apply RFs: RF13 ----------------------------PhysicalProject ------------------------------hashJoin[LEFT_SEMI_JOIN broadcast] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF5 d_date->[d_date] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[date_dim] apply RFs: RF5 +----------------------------------PhysicalOlapScan[date_dim] apply RFs: RF5 --------------------------------PhysicalProject ----------------------------------hashJoin[LEFT_SEMI_JOIN broadcast] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF4 d_week_seq->[d_week_seq] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[date_dim] apply RFs: RF4 +--------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF4 ------------------------------------PhysicalProject --------------------------------------filter(d_date IN ('2000-06-17', '2000-08-22', '2000-11-17')) -----------------------------------------PhysicalFileScan[date_dim] +----------------------------------------PhysicalOlapScan[date_dim] ------------PhysicalProject --------------hashAgg[GLOBAL] ----------------PhysicalDistribute[DistributionSpecHash] @@ -63,18 +63,18 @@ PhysicalResultSink ------------------------PhysicalProject --------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_returns.wr_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF2 i_item_sk->[wr_item_sk] ----------------------------PhysicalProject -------------------------------PhysicalFileScan[web_returns] apply RFs: RF2 RF3 +------------------------------PhysicalOlapScan[web_returns] apply RFs: RF2 RF3 ----------------------------PhysicalProject -------------------------------PhysicalFileScan[item] +------------------------------PhysicalOlapScan[item] ------------------------PhysicalProject --------------------------hashJoin[LEFT_SEMI_JOIN broadcast] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF1 d_date->[d_date] ----------------------------PhysicalProject -------------------------------PhysicalFileScan[date_dim] apply RFs: RF1 +------------------------------PhysicalOlapScan[date_dim] apply RFs: RF1 ----------------------------PhysicalProject ------------------------------hashJoin[LEFT_SEMI_JOIN broadcast] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF0 d_week_seq->[d_week_seq] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[date_dim] apply RFs: RF0 +----------------------------------PhysicalOlapScan[date_dim] apply RFs: RF0 --------------------------------PhysicalProject ----------------------------------filter(d_date IN ('2000-06-17', '2000-08-22', '2000-11-17')) -------------------------------------PhysicalFileScan[date_dim] +------------------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query84.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query84.out index 94779e7a5127a2..031ed47a26e9ea 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query84.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query84.out @@ -5,9 +5,9 @@ PhysicalResultSink ----PhysicalDistribute[DistributionSpecGather] ------PhysicalTopN[LOCAL_SORT] --------PhysicalProject -----------hashJoin[INNER_JOIN shuffle] hashCondition=((store_returns.sr_cdemo_sk = customer_demographics.cd_demo_sk)) otherCondition=() build RFs:RF4 cd_demo_sk->[sr_cdemo_sk] +----------hashJoin[INNER_JOIN broadcast] hashCondition=((store_returns.sr_cdemo_sk = customer_demographics.cd_demo_sk)) otherCondition=() build RFs:RF4 cd_demo_sk->[sr_cdemo_sk] ------------PhysicalProject ---------------PhysicalFileScan[store_returns] apply RFs: RF4 +--------------PhysicalOlapScan[store_returns] apply RFs: RF4 ------------PhysicalProject --------------hashJoin[INNER_JOIN broadcast] hashCondition=((income_band.ib_income_band_sk = household_demographics.hd_income_band_sk)) otherCondition=() build RFs:RF3 ib_income_band_sk->[hd_income_band_sk] ----------------PhysicalProject @@ -17,15 +17,15 @@ PhysicalResultSink ------------------------PhysicalProject --------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((customer.c_current_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[c_current_addr_sk] ----------------------------PhysicalProject -------------------------------PhysicalFileScan[customer] apply RFs: RF0 RF1 RF2 +------------------------------PhysicalOlapScan[customer] apply RFs: RF0 RF1 RF2 ----------------------------PhysicalProject ------------------------------filter((customer_address.ca_city = 'Hopewell')) ---------------------------------PhysicalFileScan[customer_address] +--------------------------------PhysicalOlapScan[customer_address] ------------------------PhysicalProject ---------------------------PhysicalFileScan[customer_demographics] +--------------------------PhysicalOlapScan[customer_demographics] --------------------PhysicalProject -----------------------PhysicalFileScan[household_demographics] apply RFs: RF3 +----------------------PhysicalOlapScan[household_demographics] apply RFs: RF3 ----------------PhysicalProject ------------------filter((cast(ib_upper_bound as BIGINT) <= 87855) and (income_band.ib_lower_bound >= 37855)) ---------------------PhysicalFileScan[income_band] +--------------------PhysicalOlapScan[income_band] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query85.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query85.out index effb305aa8598c..74754368bc4f59 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query85.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query85.out @@ -23,24 +23,24 @@ PhysicalResultSink ----------------------------------------PhysicalProject ------------------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((web_sales.ws_item_sk = web_returns.wr_item_sk) and (web_sales.ws_order_number = web_returns.wr_order_number)) otherCondition=() build RFs:RF0 ws_item_sk->[wr_item_sk];RF1 ws_order_number->[wr_order_number] --------------------------------------------PhysicalProject -----------------------------------------------PhysicalFileScan[web_returns] apply RFs: RF0 RF1 RF3 RF4 RF7 RF9 +----------------------------------------------PhysicalOlapScan[web_returns] apply RFs: RF0 RF1 RF3 RF4 RF7 RF9 --------------------------------------------PhysicalProject ----------------------------------------------filter((web_sales.ws_net_profit <= 300.00) and (web_sales.ws_net_profit >= 50.00) and (web_sales.ws_sales_price <= 200.00) and (web_sales.ws_sales_price >= 50.00)) -------------------------------------------------PhysicalFileScan[web_sales] apply RFs: RF2 RF8 +------------------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF2 RF8 ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[web_page] +------------------------------------------PhysicalOlapScan[web_page] ------------------------------------PhysicalProject --------------------------------------filter(((((cd1.cd_marital_status = 'M') AND (cd1.cd_education_status = '4 yr Degree')) OR ((cd1.cd_marital_status = 'S') AND (cd1.cd_education_status = 'College'))) OR ((cd1.cd_marital_status = 'D') AND (cd1.cd_education_status = 'Secondary'))) and cd_education_status IN ('4 yr Degree', 'College', 'Secondary') and cd_marital_status IN ('D', 'M', 'S')) -----------------------------------------PhysicalFileScan[customer_demographics] apply RFs: RF5 RF6 +----------------------------------------PhysicalOlapScan[customer_demographics] apply RFs: RF5 RF6 --------------------------------PhysicalProject ----------------------------------filter(cd_education_status IN ('4 yr Degree', 'College', 'Secondary') and cd_marital_status IN ('D', 'M', 'S')) -------------------------------------PhysicalFileScan[customer_demographics] +------------------------------------PhysicalOlapScan[customer_demographics] ----------------------------PhysicalProject ------------------------------filter((customer_address.ca_country = 'United States') and ca_state IN ('AR', 'CA', 'IA', 'MO', 'MS', 'NE', 'TX', 'VA', 'WA')) ---------------------------------PhysicalFileScan[customer_address] +--------------------------------PhysicalOlapScan[customer_address] ------------------------PhysicalProject --------------------------filter((date_dim.d_year = 2001)) -----------------------------PhysicalFileScan[date_dim] +----------------------------PhysicalOlapScan[date_dim] --------------------PhysicalProject -----------------------PhysicalFileScan[reason] +----------------------PhysicalOlapScan[reason] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query86.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query86.out index fec55122b7e78b..5173961b93d094 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query86.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query86.out @@ -19,10 +19,10 @@ PhysicalResultSink --------------------------------PhysicalProject ----------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((item.i_item_sk = web_sales.ws_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ws_item_sk] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[web_sales] apply RFs: RF0 RF1 +--------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[item] +--------------------------------------PhysicalOlapScan[item] --------------------------------PhysicalProject ----------------------------------filter((d1.d_month_seq <= 1226) and (d1.d_month_seq >= 1215)) -------------------------------------PhysicalFileScan[date_dim] +------------------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query87.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query87.out index 9e9305092e65bc..995578ba1f269c 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query87.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query87.out @@ -14,12 +14,12 @@ PhysicalResultSink ----------------------PhysicalProject ------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_sales.ss_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF0 c_customer_sk->[ss_customer_sk] --------------------------PhysicalProject -----------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 +----------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 --------------------------PhysicalProject -----------------------------PhysicalFileScan[customer] +----------------------------PhysicalOlapScan[customer] ----------------------PhysicalProject ------------------------filter((date_dim.d_month_seq <= 1232) and (date_dim.d_month_seq >= 1221)) ---------------------------PhysicalFileScan[date_dim] +--------------------------PhysicalOlapScan[date_dim] ------------hashAgg[GLOBAL] --------------PhysicalDistribute[DistributionSpecHash] ----------------hashAgg[LOCAL] @@ -28,12 +28,12 @@ PhysicalResultSink ----------------------PhysicalProject ------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((catalog_sales.cs_bill_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF2 c_customer_sk->[cs_bill_customer_sk] --------------------------PhysicalProject -----------------------------PhysicalFileScan[catalog_sales] apply RFs: RF2 RF3 +----------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF2 RF3 --------------------------PhysicalProject -----------------------------PhysicalFileScan[customer] +----------------------------PhysicalOlapScan[customer] ----------------------PhysicalProject ------------------------filter((date_dim.d_month_seq <= 1232) and (date_dim.d_month_seq >= 1221)) ---------------------------PhysicalFileScan[date_dim] +--------------------------PhysicalOlapScan[date_dim] ------------hashAgg[GLOBAL] --------------PhysicalDistribute[DistributionSpecHash] ----------------hashAgg[LOCAL] @@ -42,10 +42,10 @@ PhysicalResultSink ----------------------PhysicalProject ------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((web_sales.ws_bill_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF4 c_customer_sk->[ws_bill_customer_sk] --------------------------PhysicalProject -----------------------------PhysicalFileScan[web_sales] apply RFs: RF4 RF5 +----------------------------PhysicalOlapScan[web_sales] apply RFs: RF4 RF5 --------------------------PhysicalProject -----------------------------PhysicalFileScan[customer] +----------------------------PhysicalOlapScan[customer] ----------------------PhysicalProject ------------------------filter((date_dim.d_month_seq <= 1232) and (date_dim.d_month_seq >= 1221)) ---------------------------PhysicalFileScan[date_dim] +--------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query88.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query88.out index 23c13971f72bc2..fa1d26b12e7fa8 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query88.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query88.out @@ -18,16 +18,16 @@ PhysicalResultSink ------------------------------PhysicalProject --------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk)) otherCondition=() build RFs:RF21 hd_demo_sk->[ss_hdemo_sk] ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[store_sales] apply RFs: RF21 RF22 RF23 +------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF21 RF22 RF23 ----------------------------------PhysicalProject ------------------------------------filter(((((household_demographics.hd_dep_count = 2) AND (household_demographics.hd_vehicle_count <= 4)) OR ((household_demographics.hd_dep_count = 4) AND (household_demographics.hd_vehicle_count <= 6))) OR ((household_demographics.hd_dep_count = 3) AND (household_demographics.hd_vehicle_count <= 5))) and hd_dep_count IN (2, 3, 4)) ---------------------------------------PhysicalFileScan[household_demographics] +--------------------------------------PhysicalOlapScan[household_demographics] ------------------------------PhysicalProject --------------------------------filter((time_dim.t_hour = 8) and (time_dim.t_minute >= 30)) -----------------------------------PhysicalFileScan[time_dim] +----------------------------------PhysicalOlapScan[time_dim] --------------------------PhysicalProject ----------------------------filter((store.s_store_name = 'ese')) -------------------------------PhysicalFileScan[store] +------------------------------PhysicalOlapScan[store] ----------------hashAgg[GLOBAL] ------------------PhysicalDistribute[DistributionSpecGather] --------------------hashAgg[LOCAL] @@ -38,16 +38,16 @@ PhysicalResultSink ------------------------------PhysicalProject --------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk)) otherCondition=() build RFs:RF18 hd_demo_sk->[ss_hdemo_sk] ----------------------------------PhysicalProject -------------------------------------PhysicalFileScan[store_sales] apply RFs: RF18 RF19 RF20 +------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF18 RF19 RF20 ----------------------------------PhysicalProject ------------------------------------filter(((((household_demographics.hd_dep_count = 2) AND (household_demographics.hd_vehicle_count <= 4)) OR ((household_demographics.hd_dep_count = 4) AND (household_demographics.hd_vehicle_count <= 6))) OR ((household_demographics.hd_dep_count = 3) AND (household_demographics.hd_vehicle_count <= 5))) and hd_dep_count IN (2, 3, 4)) ---------------------------------------PhysicalFileScan[household_demographics] +--------------------------------------PhysicalOlapScan[household_demographics] ------------------------------PhysicalProject --------------------------------filter((time_dim.t_hour = 9) and (time_dim.t_minute < 30)) -----------------------------------PhysicalFileScan[time_dim] +----------------------------------PhysicalOlapScan[time_dim] --------------------------PhysicalProject ----------------------------filter((store.s_store_name = 'ese')) -------------------------------PhysicalFileScan[store] +------------------------------PhysicalOlapScan[store] --------------hashAgg[GLOBAL] ----------------PhysicalDistribute[DistributionSpecGather] ------------------hashAgg[LOCAL] @@ -58,16 +58,16 @@ PhysicalResultSink ----------------------------PhysicalProject ------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk)) otherCondition=() build RFs:RF15 hd_demo_sk->[ss_hdemo_sk] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[store_sales] apply RFs: RF15 RF16 RF17 +----------------------------------PhysicalOlapScan[store_sales] apply RFs: RF15 RF16 RF17 --------------------------------PhysicalProject ----------------------------------filter(((((household_demographics.hd_dep_count = 2) AND (household_demographics.hd_vehicle_count <= 4)) OR ((household_demographics.hd_dep_count = 4) AND (household_demographics.hd_vehicle_count <= 6))) OR ((household_demographics.hd_dep_count = 3) AND (household_demographics.hd_vehicle_count <= 5))) and hd_dep_count IN (2, 3, 4)) -------------------------------------PhysicalFileScan[household_demographics] +------------------------------------PhysicalOlapScan[household_demographics] ----------------------------PhysicalProject ------------------------------filter((time_dim.t_hour = 9) and (time_dim.t_minute >= 30)) ---------------------------------PhysicalFileScan[time_dim] +--------------------------------PhysicalOlapScan[time_dim] ------------------------PhysicalProject --------------------------filter((store.s_store_name = 'ese')) -----------------------------PhysicalFileScan[store] +----------------------------PhysicalOlapScan[store] ------------hashAgg[GLOBAL] --------------PhysicalDistribute[DistributionSpecGather] ----------------hashAgg[LOCAL] @@ -78,16 +78,16 @@ PhysicalResultSink --------------------------PhysicalProject ----------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk)) otherCondition=() build RFs:RF12 hd_demo_sk->[ss_hdemo_sk] ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[store_sales] apply RFs: RF12 RF13 RF14 +--------------------------------PhysicalOlapScan[store_sales] apply RFs: RF12 RF13 RF14 ------------------------------PhysicalProject --------------------------------filter(((((household_demographics.hd_dep_count = 2) AND (household_demographics.hd_vehicle_count <= 4)) OR ((household_demographics.hd_dep_count = 4) AND (household_demographics.hd_vehicle_count <= 6))) OR ((household_demographics.hd_dep_count = 3) AND (household_demographics.hd_vehicle_count <= 5))) and hd_dep_count IN (2, 3, 4)) -----------------------------------PhysicalFileScan[household_demographics] +----------------------------------PhysicalOlapScan[household_demographics] --------------------------PhysicalProject ----------------------------filter((time_dim.t_hour = 10) and (time_dim.t_minute < 30)) -------------------------------PhysicalFileScan[time_dim] +------------------------------PhysicalOlapScan[time_dim] ----------------------PhysicalProject ------------------------filter((store.s_store_name = 'ese')) ---------------------------PhysicalFileScan[store] +--------------------------PhysicalOlapScan[store] ----------hashAgg[GLOBAL] ------------PhysicalDistribute[DistributionSpecGather] --------------hashAgg[LOCAL] @@ -98,16 +98,16 @@ PhysicalResultSink ------------------------PhysicalProject --------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk)) otherCondition=() build RFs:RF9 hd_demo_sk->[ss_hdemo_sk] ----------------------------PhysicalProject -------------------------------PhysicalFileScan[store_sales] apply RFs: RF9 RF10 RF11 +------------------------------PhysicalOlapScan[store_sales] apply RFs: RF9 RF10 RF11 ----------------------------PhysicalProject ------------------------------filter(((((household_demographics.hd_dep_count = 2) AND (household_demographics.hd_vehicle_count <= 4)) OR ((household_demographics.hd_dep_count = 4) AND (household_demographics.hd_vehicle_count <= 6))) OR ((household_demographics.hd_dep_count = 3) AND (household_demographics.hd_vehicle_count <= 5))) and hd_dep_count IN (2, 3, 4)) ---------------------------------PhysicalFileScan[household_demographics] +--------------------------------PhysicalOlapScan[household_demographics] ------------------------PhysicalProject --------------------------filter((time_dim.t_hour = 10) and (time_dim.t_minute >= 30)) -----------------------------PhysicalFileScan[time_dim] +----------------------------PhysicalOlapScan[time_dim] --------------------PhysicalProject ----------------------filter((store.s_store_name = 'ese')) -------------------------PhysicalFileScan[store] +------------------------PhysicalOlapScan[store] --------hashAgg[GLOBAL] ----------PhysicalDistribute[DistributionSpecGather] ------------hashAgg[LOCAL] @@ -118,16 +118,16 @@ PhysicalResultSink ----------------------PhysicalProject ------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk)) otherCondition=() build RFs:RF6 hd_demo_sk->[ss_hdemo_sk] --------------------------PhysicalProject -----------------------------PhysicalFileScan[store_sales] apply RFs: RF6 RF7 RF8 +----------------------------PhysicalOlapScan[store_sales] apply RFs: RF6 RF7 RF8 --------------------------PhysicalProject ----------------------------filter(((((household_demographics.hd_dep_count = 2) AND (household_demographics.hd_vehicle_count <= 4)) OR ((household_demographics.hd_dep_count = 4) AND (household_demographics.hd_vehicle_count <= 6))) OR ((household_demographics.hd_dep_count = 3) AND (household_demographics.hd_vehicle_count <= 5))) and hd_dep_count IN (2, 3, 4)) -------------------------------PhysicalFileScan[household_demographics] +------------------------------PhysicalOlapScan[household_demographics] ----------------------PhysicalProject ------------------------filter((time_dim.t_hour = 11) and (time_dim.t_minute < 30)) ---------------------------PhysicalFileScan[time_dim] +--------------------------PhysicalOlapScan[time_dim] ------------------PhysicalProject --------------------filter((store.s_store_name = 'ese')) -----------------------PhysicalFileScan[store] +----------------------PhysicalOlapScan[store] ------hashAgg[GLOBAL] --------PhysicalDistribute[DistributionSpecGather] ----------hashAgg[LOCAL] @@ -138,16 +138,16 @@ PhysicalResultSink --------------------PhysicalProject ----------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk)) otherCondition=() build RFs:RF3 hd_demo_sk->[ss_hdemo_sk] ------------------------PhysicalProject ---------------------------PhysicalFileScan[store_sales] apply RFs: RF3 RF4 RF5 +--------------------------PhysicalOlapScan[store_sales] apply RFs: RF3 RF4 RF5 ------------------------PhysicalProject --------------------------filter(((((household_demographics.hd_dep_count = 2) AND (household_demographics.hd_vehicle_count <= 4)) OR ((household_demographics.hd_dep_count = 4) AND (household_demographics.hd_vehicle_count <= 6))) OR ((household_demographics.hd_dep_count = 3) AND (household_demographics.hd_vehicle_count <= 5))) and hd_dep_count IN (2, 3, 4)) -----------------------------PhysicalFileScan[household_demographics] +----------------------------PhysicalOlapScan[household_demographics] --------------------PhysicalProject ----------------------filter((time_dim.t_hour = 11) and (time_dim.t_minute >= 30)) -------------------------PhysicalFileScan[time_dim] +------------------------PhysicalOlapScan[time_dim] ----------------PhysicalProject ------------------filter((store.s_store_name = 'ese')) ---------------------PhysicalFileScan[store] +--------------------PhysicalOlapScan[store] ----hashAgg[GLOBAL] ------PhysicalDistribute[DistributionSpecGather] --------hashAgg[LOCAL] @@ -158,14 +158,14 @@ PhysicalResultSink ------------------PhysicalProject --------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk)) otherCondition=() build RFs:RF0 hd_demo_sk->[ss_hdemo_sk] ----------------------PhysicalProject -------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 +------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 ----------------------PhysicalProject ------------------------filter(((((household_demographics.hd_dep_count = 2) AND (household_demographics.hd_vehicle_count <= 4)) OR ((household_demographics.hd_dep_count = 4) AND (household_demographics.hd_vehicle_count <= 6))) OR ((household_demographics.hd_dep_count = 3) AND (household_demographics.hd_vehicle_count <= 5))) and hd_dep_count IN (2, 3, 4)) ---------------------------PhysicalFileScan[household_demographics] +--------------------------PhysicalOlapScan[household_demographics] ------------------PhysicalProject --------------------filter((time_dim.t_hour = 12) and (time_dim.t_minute < 30)) -----------------------PhysicalFileScan[time_dim] +----------------------PhysicalOlapScan[time_dim] --------------PhysicalProject ----------------filter((store.s_store_name = 'ese')) -------------------PhysicalFileScan[store] +------------------PhysicalOlapScan[store] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query89.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query89.out index e890502749a694..a57dfec0fc83fc 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query89.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query89.out @@ -21,13 +21,13 @@ PhysicalResultSink ------------------------------------PhysicalProject --------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk] ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 +------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 ----------------------------------------PhysicalProject ------------------------------------------filter(((i_category IN ('Books', 'Home', 'Music') AND i_class IN ('classical', 'fiction', 'glassware')) OR (i_category IN ('Jewelry', 'Sports', 'Women') AND i_class IN ('baseball', 'dresses', 'semi-precious'))) and i_category IN ('Books', 'Home', 'Jewelry', 'Music', 'Sports', 'Women') and i_class IN ('baseball', 'classical', 'dresses', 'fiction', 'glassware', 'semi-precious')) ---------------------------------------------PhysicalFileScan[item] +--------------------------------------------PhysicalOlapScan[item] ------------------------------------PhysicalProject --------------------------------------filter((date_dim.d_year = 2000)) -----------------------------------------PhysicalFileScan[date_dim] +----------------------------------------PhysicalOlapScan[date_dim] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[store] +----------------------------------PhysicalOlapScan[store] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query9.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query9.out index 81e651e5445fc4..c6d5dd064ce48b 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query9.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query9.out @@ -20,95 +20,95 @@ PhysicalResultSink ----------------------------------NestedLoopJoin[CROSS_JOIN] ------------------------------------PhysicalProject --------------------------------------filter((reason.r_reason_sk = 1)) -----------------------------------------PhysicalFileScan[reason] +----------------------------------------PhysicalOlapScan[reason] ------------------------------------hashAgg[GLOBAL] --------------------------------------PhysicalDistribute[DistributionSpecGather] ----------------------------------------hashAgg[LOCAL] ------------------------------------------PhysicalProject --------------------------------------------filter((store_sales.ss_quantity <= 20) and (store_sales.ss_quantity >= 1)) -----------------------------------------------PhysicalFileScan[store_sales] +----------------------------------------------PhysicalOlapScan[store_sales] --------------------------------hashAgg[GLOBAL] ----------------------------------PhysicalDistribute[DistributionSpecGather] ------------------------------------hashAgg[LOCAL] --------------------------------------PhysicalProject ----------------------------------------filter((store_sales.ss_quantity <= 20) and (store_sales.ss_quantity >= 1)) -------------------------------------------PhysicalFileScan[store_sales] +------------------------------------------PhysicalOlapScan[store_sales] ------------------------------hashAgg[GLOBAL] --------------------------------PhysicalDistribute[DistributionSpecGather] ----------------------------------hashAgg[LOCAL] ------------------------------------PhysicalProject --------------------------------------filter((store_sales.ss_quantity <= 20) and (store_sales.ss_quantity >= 1)) -----------------------------------------PhysicalFileScan[store_sales] +----------------------------------------PhysicalOlapScan[store_sales] ----------------------------hashAgg[GLOBAL] ------------------------------PhysicalDistribute[DistributionSpecGather] --------------------------------hashAgg[LOCAL] ----------------------------------PhysicalProject ------------------------------------filter((store_sales.ss_quantity <= 40) and (store_sales.ss_quantity >= 21)) ---------------------------------------PhysicalFileScan[store_sales] +--------------------------------------PhysicalOlapScan[store_sales] --------------------------hashAgg[GLOBAL] ----------------------------PhysicalDistribute[DistributionSpecGather] ------------------------------hashAgg[LOCAL] --------------------------------PhysicalProject ----------------------------------filter((store_sales.ss_quantity <= 40) and (store_sales.ss_quantity >= 21)) -------------------------------------PhysicalFileScan[store_sales] +------------------------------------PhysicalOlapScan[store_sales] ------------------------hashAgg[GLOBAL] --------------------------PhysicalDistribute[DistributionSpecGather] ----------------------------hashAgg[LOCAL] ------------------------------PhysicalProject --------------------------------filter((store_sales.ss_quantity <= 40) and (store_sales.ss_quantity >= 21)) -----------------------------------PhysicalFileScan[store_sales] +----------------------------------PhysicalOlapScan[store_sales] ----------------------hashAgg[GLOBAL] ------------------------PhysicalDistribute[DistributionSpecGather] --------------------------hashAgg[LOCAL] ----------------------------PhysicalProject ------------------------------filter((store_sales.ss_quantity <= 60) and (store_sales.ss_quantity >= 41)) ---------------------------------PhysicalFileScan[store_sales] +--------------------------------PhysicalOlapScan[store_sales] --------------------hashAgg[GLOBAL] ----------------------PhysicalDistribute[DistributionSpecGather] ------------------------hashAgg[LOCAL] --------------------------PhysicalProject ----------------------------filter((store_sales.ss_quantity <= 60) and (store_sales.ss_quantity >= 41)) -------------------------------PhysicalFileScan[store_sales] +------------------------------PhysicalOlapScan[store_sales] ------------------hashAgg[GLOBAL] --------------------PhysicalDistribute[DistributionSpecGather] ----------------------hashAgg[LOCAL] ------------------------PhysicalProject --------------------------filter((store_sales.ss_quantity <= 60) and (store_sales.ss_quantity >= 41)) -----------------------------PhysicalFileScan[store_sales] +----------------------------PhysicalOlapScan[store_sales] ----------------hashAgg[GLOBAL] ------------------PhysicalDistribute[DistributionSpecGather] --------------------hashAgg[LOCAL] ----------------------PhysicalProject ------------------------filter((store_sales.ss_quantity <= 80) and (store_sales.ss_quantity >= 61)) ---------------------------PhysicalFileScan[store_sales] +--------------------------PhysicalOlapScan[store_sales] --------------hashAgg[GLOBAL] ----------------PhysicalDistribute[DistributionSpecGather] ------------------hashAgg[LOCAL] --------------------PhysicalProject ----------------------filter((store_sales.ss_quantity <= 80) and (store_sales.ss_quantity >= 61)) -------------------------PhysicalFileScan[store_sales] +------------------------PhysicalOlapScan[store_sales] ------------hashAgg[GLOBAL] --------------PhysicalDistribute[DistributionSpecGather] ----------------hashAgg[LOCAL] ------------------PhysicalProject --------------------filter((store_sales.ss_quantity <= 80) and (store_sales.ss_quantity >= 61)) -----------------------PhysicalFileScan[store_sales] +----------------------PhysicalOlapScan[store_sales] ----------hashAgg[GLOBAL] ------------PhysicalDistribute[DistributionSpecGather] --------------hashAgg[LOCAL] ----------------PhysicalProject ------------------filter((store_sales.ss_quantity <= 100) and (store_sales.ss_quantity >= 81)) ---------------------PhysicalFileScan[store_sales] +--------------------PhysicalOlapScan[store_sales] --------hashAgg[GLOBAL] ----------PhysicalDistribute[DistributionSpecGather] ------------hashAgg[LOCAL] --------------PhysicalProject ----------------filter((store_sales.ss_quantity <= 100) and (store_sales.ss_quantity >= 81)) -------------------PhysicalFileScan[store_sales] +------------------PhysicalOlapScan[store_sales] ------hashAgg[GLOBAL] --------PhysicalDistribute[DistributionSpecGather] ----------hashAgg[LOCAL] ------------PhysicalProject --------------filter((store_sales.ss_quantity <= 100) and (store_sales.ss_quantity >= 81)) -----------------PhysicalFileScan[store_sales] +----------------PhysicalOlapScan[store_sales] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query90.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query90.out index 29abb2e61fa7b7..798742dbb31a22 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query90.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query90.out @@ -14,16 +14,16 @@ PhysicalResultSink ----------------------PhysicalProject ------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_ship_hdemo_sk = household_demographics.hd_demo_sk)) otherCondition=() build RFs:RF3 hd_demo_sk->[ws_ship_hdemo_sk] --------------------------PhysicalProject -----------------------------PhysicalFileScan[web_sales] apply RFs: RF3 RF4 RF5 +----------------------------PhysicalOlapScan[web_sales] apply RFs: RF3 RF4 RF5 --------------------------PhysicalProject ----------------------------filter((household_demographics.hd_dep_count = 3)) -------------------------------PhysicalFileScan[household_demographics] +------------------------------PhysicalOlapScan[household_demographics] ----------------------PhysicalProject ------------------------filter((time_dim.t_hour <= 10) and (time_dim.t_hour >= 9)) ---------------------------PhysicalFileScan[time_dim] +--------------------------PhysicalOlapScan[time_dim] ------------------PhysicalProject --------------------filter((web_page.wp_char_count <= 5200) and (web_page.wp_char_count >= 5000)) -----------------------PhysicalFileScan[web_page] +----------------------PhysicalOlapScan[web_page] --------hashAgg[GLOBAL] ----------PhysicalDistribute[DistributionSpecGather] ------------hashAgg[LOCAL] @@ -34,14 +34,14 @@ PhysicalResultSink ----------------------PhysicalProject ------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((web_sales.ws_ship_hdemo_sk = household_demographics.hd_demo_sk)) otherCondition=() build RFs:RF0 hd_demo_sk->[ws_ship_hdemo_sk] --------------------------PhysicalProject -----------------------------PhysicalFileScan[web_sales] apply RFs: RF0 RF1 RF2 +----------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF2 --------------------------PhysicalProject ----------------------------filter((household_demographics.hd_dep_count = 3)) -------------------------------PhysicalFileScan[household_demographics] +------------------------------PhysicalOlapScan[household_demographics] ----------------------PhysicalProject ------------------------filter((time_dim.t_hour <= 17) and (time_dim.t_hour >= 16)) ---------------------------PhysicalFileScan[time_dim] +--------------------------PhysicalOlapScan[time_dim] ------------------PhysicalProject --------------------filter((web_page.wp_char_count <= 5200) and (web_page.wp_char_count >= 5000)) -----------------------PhysicalFileScan[web_page] +----------------------PhysicalOlapScan[web_page] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query91.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query91.out index 645768e2257003..48587871410146 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query91.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query91.out @@ -21,21 +21,21 @@ PhysicalResultSink ------------------------------------PhysicalProject --------------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_returns.cr_call_center_sk = call_center.cc_call_center_sk)) otherCondition=() build RFs:RF0 cc_call_center_sk->[cr_call_center_sk] ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[catalog_returns] apply RFs: RF0 RF1 RF2 +------------------------------------------PhysicalOlapScan[catalog_returns] apply RFs: RF0 RF1 RF2 ----------------------------------------PhysicalProject -------------------------------------------PhysicalFileScan[call_center] +------------------------------------------PhysicalOlapScan[call_center] ------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[customer] apply RFs: RF3 RF4 RF5 +--------------------------------------PhysicalOlapScan[customer] apply RFs: RF3 RF4 RF5 --------------------------------PhysicalProject ----------------------------------filter((date_dim.d_moy = 12) and (date_dim.d_year = 2000)) -------------------------------------PhysicalFileScan[date_dim] +------------------------------------PhysicalOlapScan[date_dim] ----------------------------PhysicalProject ------------------------------filter((customer_address.ca_gmt_offset = -7.00)) ---------------------------------PhysicalFileScan[customer_address] +--------------------------------PhysicalOlapScan[customer_address] ------------------------PhysicalProject --------------------------filter((((customer_demographics.cd_marital_status = 'M') AND (customer_demographics.cd_education_status = 'Unknown')) OR ((customer_demographics.cd_marital_status = 'W') AND (customer_demographics.cd_education_status = 'Advanced Degree'))) and cd_education_status IN ('Advanced Degree', 'Unknown') and cd_marital_status IN ('M', 'W')) -----------------------------PhysicalFileScan[customer_demographics] +----------------------------PhysicalOlapScan[customer_demographics] --------------------PhysicalProject ----------------------filter((hd_buy_potential like 'Unknown%')) -------------------------PhysicalFileScan[household_demographics] +------------------------PhysicalOlapScan[household_demographics] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query92.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query92.out index e37b61244be710..138971f0b42575 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query92.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query92.out @@ -15,11 +15,11 @@ PhysicalResultSink ------------------------PhysicalProject --------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((item.i_item_sk = web_sales.ws_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ws_item_sk] ----------------------------PhysicalProject -------------------------------PhysicalFileScan[web_sales] apply RFs: RF0 RF1 +------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 ----------------------------PhysicalProject ------------------------------filter((item.i_manufact_id = 356)) ---------------------------------PhysicalFileScan[item] +--------------------------------PhysicalOlapScan[item] ------------------------PhysicalProject --------------------------filter((date_dim.d_date <= '2001-06-10') and (date_dim.d_date >= '2001-03-12')) -----------------------------PhysicalFileScan[date_dim] +----------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query93.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query93.out index 6dacc4be587a21..ea2a35bae4e88b 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query93.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query93.out @@ -12,10 +12,10 @@ PhysicalResultSink ------------------PhysicalProject --------------------hashJoin[INNER_JOIN shuffle] hashCondition=((store_returns.sr_item_sk = store_sales.ss_item_sk) and (store_returns.sr_ticket_number = store_sales.ss_ticket_number)) otherCondition=() build RFs:RF0 sr_item_sk->[ss_item_sk];RF1 sr_ticket_number->[ss_ticket_number] ----------------------PhysicalProject -------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 +------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 ----------------------PhysicalProject -------------------------PhysicalFileScan[store_returns] apply RFs: RF2 +------------------------PhysicalOlapScan[store_returns] apply RFs: RF2 ------------------PhysicalProject --------------------filter((reason.r_reason_desc = 'reason 66')) -----------------------PhysicalFileScan[reason] +----------------------PhysicalOlapScan[reason] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query94.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query94.out index 1aaf42a34c719c..792f183626c468 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query94.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query94.out @@ -7,28 +7,28 @@ PhysicalResultSink --------hashAgg[DISTINCT_LOCAL] ----------hashAgg[GLOBAL] ------------hashAgg[LOCAL] ---------------PhysicalProject -----------------hashJoin[INNER_JOIN broadcast] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF3 web_site_sk->[ws_web_site_sk] -------------------PhysicalProject ---------------------hashJoin[INNER_JOIN broadcast] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF2 ca_address_sk->[ws_ship_addr_sk] -----------------------PhysicalProject -------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ws_ship_date_sk] ---------------------------hashJoin[LEFT_ANTI_JOIN bucketShuffle] hashCondition=((ws1.ws_order_number = wr1.wr_order_number)) otherCondition=() +--------------hashJoin[LEFT_ANTI_JOIN bucketShuffle] hashCondition=((ws1.ws_order_number = wr1.wr_order_number)) otherCondition=() +----------------PhysicalProject +------------------hashJoin[LEFT_SEMI_JOIN shuffle] hashCondition=((ws1.ws_order_number = ws2.ws_order_number)) otherCondition=(( not (ws_warehouse_sk = ws_warehouse_sk))) build RFs:RF3 ws_order_number->[ws_order_number] +--------------------PhysicalProject +----------------------hashJoin[INNER_JOIN broadcast] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF2 web_site_sk->[ws_web_site_sk] +------------------------PhysicalProject +--------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF1 ca_address_sk->[ws_ship_addr_sk] ----------------------------PhysicalProject -------------------------------hashJoin[RIGHT_SEMI_JOIN shuffle] hashCondition=((ws1.ws_order_number = ws2.ws_order_number)) otherCondition=(( not (ws_warehouse_sk = ws_warehouse_sk))) build RFs:RF0 ws_order_number->[ws_order_number] +------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ws_ship_date_sk] --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[web_sales] apply RFs: RF0 +----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF2 RF3 --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[web_sales] apply RFs: RF1 RF2 RF3 +----------------------------------filter((date_dim.d_date <= '1999-05-31') and (date_dim.d_date >= '1999-04-01')) +------------------------------------PhysicalOlapScan[date_dim] ----------------------------PhysicalProject -------------------------------PhysicalFileScan[web_returns] ---------------------------PhysicalProject -----------------------------filter((date_dim.d_date <= '1999-05-31') and (date_dim.d_date >= '1999-04-01')) -------------------------------PhysicalFileScan[date_dim] -----------------------PhysicalProject -------------------------filter((customer_address.ca_state = 'NE')) ---------------------------PhysicalFileScan[customer_address] -------------------PhysicalProject ---------------------filter((web_site.web_company_name = 'pri')) -----------------------PhysicalFileScan[web_site] +------------------------------filter((customer_address.ca_state = 'NE')) +--------------------------------PhysicalOlapScan[customer_address] +------------------------PhysicalProject +--------------------------filter((web_site.web_company_name = 'pri')) +----------------------------PhysicalOlapScan[web_site] +--------------------PhysicalProject +----------------------PhysicalOlapScan[web_sales] +----------------PhysicalProject +------------------PhysicalOlapScan[web_returns] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query95.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query95.out index b3921351e3e5b0..4146fd70b83ac6 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query95.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query95.out @@ -5,9 +5,9 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ----PhysicalProject ------hashJoin[INNER_JOIN shuffle] hashCondition=((ws1.ws_order_number = ws2.ws_order_number)) otherCondition=(( not (ws_warehouse_sk = ws_warehouse_sk))) build RFs:RF0 ws_order_number->[ws_order_number] --------PhysicalProject -----------PhysicalFileScan[web_sales] apply RFs: RF0 RF7 +----------PhysicalOlapScan[web_sales] apply RFs: RF0 RF7 --------PhysicalProject -----------PhysicalFileScan[web_sales] apply RFs: RF7 +----------PhysicalOlapScan[web_sales] apply RFs: RF7 --PhysicalResultSink ----PhysicalTopN[GATHER_SORT] ------hashAgg[DISTINCT_GLOBAL] @@ -15,29 +15,29 @@ PhysicalCteAnchor ( cteId=CTEId#0 ) ----------hashAgg[DISTINCT_LOCAL] ------------hashAgg[GLOBAL] --------------hashAgg[LOCAL] -----------------PhysicalProject -------------------hashJoin[INNER_JOIN broadcast] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF6 web_site_sk->[ws_web_site_sk] +----------------hashJoin[LEFT_SEMI_JOIN colocated] hashCondition=((ws1.ws_order_number = web_returns.wr_order_number)) otherCondition=() build RFs:RF6 wr_order_number->[ws_order_number,ws_order_number] +------------------hashJoin[LEFT_SEMI_JOIN shuffle] hashCondition=((ws1.ws_order_number = ws_wh.ws_order_number)) otherCondition=() build RFs:RF5 ws_order_number->[ws_order_number] --------------------PhysicalProject -----------------------hashJoin[INNER_JOIN broadcast] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF5 ca_address_sk->[ws_ship_addr_sk] +----------------------hashJoin[INNER_JOIN broadcast] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF4 web_site_sk->[ws_web_site_sk] ------------------------PhysicalProject ---------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF4 d_date_sk->[ws_ship_date_sk] -----------------------------hashJoin[RIGHT_SEMI_JOIN shuffleBucket] hashCondition=((ws1.ws_order_number = ws_wh.ws_order_number)) otherCondition=() build RFs:RF3 ws_order_number->[ws_order_number] -------------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF3 -------------------------------hashJoin[RIGHT_SEMI_JOIN bucketShuffle] hashCondition=((ws1.ws_order_number = web_returns.wr_order_number)) otherCondition=() build RFs:RF2 ws_order_number->[wr_order_number];RF7 ws_order_number->[ws_order_number,ws_order_number] +--------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF3 ca_address_sk->[ws_ship_addr_sk] +----------------------------PhysicalProject +------------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[ws_ship_date_sk] --------------------------------PhysicalProject -----------------------------------hashJoin[INNER_JOIN shuffle] hashCondition=((web_returns.wr_order_number = ws_wh.ws_order_number)) otherCondition=() build RFs:RF1 wr_order_number->[ws_order_number] -------------------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF1 -------------------------------------PhysicalProject ---------------------------------------PhysicalFileScan[web_returns] apply RFs: RF2 +----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF2 RF3 RF4 RF5 RF6 --------------------------------PhysicalProject -----------------------------------PhysicalFileScan[web_sales] apply RFs: RF4 RF5 RF6 +----------------------------------filter((date_dim.d_date <= '2002-05-31') and (date_dim.d_date >= '2002-04-01')) +------------------------------------PhysicalOlapScan[date_dim] ----------------------------PhysicalProject -------------------------------filter((date_dim.d_date <= '2002-05-31') and (date_dim.d_date >= '2002-04-01')) ---------------------------------PhysicalFileScan[date_dim] +------------------------------filter((customer_address.ca_state = 'AL')) +--------------------------------PhysicalOlapScan[customer_address] ------------------------PhysicalProject ---------------------------filter((customer_address.ca_state = 'AL')) -----------------------------PhysicalFileScan[customer_address] ---------------------PhysicalProject -----------------------filter((web_site.web_company_name = 'pri')) -------------------------PhysicalFileScan[web_site] +--------------------------filter((web_site.web_company_name = 'pri')) +----------------------------PhysicalOlapScan[web_site] +--------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF6 +------------------PhysicalProject +--------------------hashJoin[INNER_JOIN shuffle] hashCondition=((web_returns.wr_order_number = ws_wh.ws_order_number)) otherCondition=() build RFs:RF7 wr_order_number->[ws_order_number,ws_order_number] +----------------------PhysicalCteConsumer ( cteId=CTEId#0 ) +----------------------PhysicalProject +------------------------PhysicalOlapScan[web_returns] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query96.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query96.out index f6efb737f59dbd..5b0549e0eb3739 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query96.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query96.out @@ -12,14 +12,14 @@ PhysicalResultSink ------------------PhysicalProject --------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk)) otherCondition=() build RFs:RF0 hd_demo_sk->[ss_hdemo_sk] ----------------------PhysicalProject -------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 RF2 +------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 ----------------------PhysicalProject ------------------------filter((household_demographics.hd_dep_count = 6)) ---------------------------PhysicalFileScan[household_demographics] +--------------------------PhysicalOlapScan[household_demographics] ------------------PhysicalProject --------------------filter((time_dim.t_hour = 16) and (time_dim.t_minute >= 30)) -----------------------PhysicalFileScan[time_dim] +----------------------PhysicalOlapScan[time_dim] --------------PhysicalProject ----------------filter((store.s_store_name = 'ese')) -------------------PhysicalFileScan[store] +------------------PhysicalOlapScan[store] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query97.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query97.out index 0ee097983ef478..199f8d20f62131 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query97.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query97.out @@ -14,10 +14,10 @@ PhysicalResultSink ----------------------PhysicalProject ------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk] --------------------------PhysicalProject -----------------------------PhysicalFileScan[store_sales] apply RFs: RF1 +----------------------------PhysicalOlapScan[store_sales] apply RFs: RF1 --------------------------PhysicalProject ----------------------------filter((date_dim.d_month_seq <= 1201) and (date_dim.d_month_seq >= 1190)) -------------------------------PhysicalFileScan[date_dim] +------------------------------PhysicalOlapScan[date_dim] --------------PhysicalProject ----------------hashAgg[GLOBAL] ------------------PhysicalDistribute[DistributionSpecHash] @@ -25,8 +25,8 @@ PhysicalResultSink ----------------------PhysicalProject ------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[cs_sold_date_sk] --------------------------PhysicalProject -----------------------------PhysicalFileScan[catalog_sales] apply RFs: RF0 +----------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 --------------------------PhysicalProject ----------------------------filter((date_dim.d_month_seq <= 1201) and (date_dim.d_month_seq >= 1190)) -------------------------------PhysicalFileScan[date_dim] +------------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query98.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query98.out index 0a0ceceabee3de..65aec39f800674 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query98.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query98.out @@ -16,11 +16,11 @@ PhysicalResultSink --------------------------PhysicalProject ----------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk] ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[store_sales] apply RFs: RF0 RF1 +--------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 ------------------------------PhysicalProject --------------------------------filter(i_category IN ('Home', 'Men', 'Sports')) -----------------------------------PhysicalFileScan[item] +----------------------------------PhysicalOlapScan[item] --------------------------PhysicalProject ----------------------------filter((date_dim.d_date <= '2002-02-04') and (date_dim.d_date >= '2002-01-05')) -------------------------------PhysicalFileScan[date_dim] +------------------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query99.out b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query99.out index 4661913ce25f6b..d9bb469d649b59 100644 --- a/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query99.out +++ b/regression-test/data/nereids_tpcds_shape_sf10t_orc/shape/query99.out @@ -16,14 +16,14 @@ PhysicalResultSink --------------------------PhysicalProject ----------------------------hashJoin[INNER_JOIN broadcast] hashCondition=((catalog_sales.cs_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=() build RFs:RF0 w_warehouse_sk->[cs_warehouse_sk] ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[catalog_sales] apply RFs: RF0 RF1 RF2 RF3 +--------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2 RF3 ------------------------------PhysicalProject ---------------------------------PhysicalFileScan[warehouse] +--------------------------------PhysicalOlapScan[warehouse] --------------------------PhysicalProject -----------------------------PhysicalFileScan[ship_mode] +----------------------------PhysicalOlapScan[ship_mode] ----------------------PhysicalProject -------------------------PhysicalFileScan[call_center] +------------------------PhysicalOlapScan[call_center] ------------------PhysicalProject --------------------filter((date_dim.d_month_seq <= 1189) and (date_dim.d_month_seq >= 1178)) -----------------------PhysicalFileScan[date_dim] +----------------------PhysicalOlapScan[date_dim] diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/ddl/shape.tmpl b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/ddl/shape.tmpl index 439bca9877ed94..94ffc3df2ab587 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/ddl/shape.tmpl +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/ddl/shape.tmpl @@ -23,7 +23,7 @@ suite("query{--}") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query1.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query1.groovy index 1cfe1c3fd5af2a..6fd487b1b13e6b 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query1.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query1.groovy @@ -23,7 +23,7 @@ suite("query1") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query10.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query10.groovy index 886811691bb137..b2c5a253ddc626 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query10.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query10.groovy @@ -23,7 +23,7 @@ suite("query10") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query11.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query11.groovy index 55c07c0b1a4915..fb6ce7431a9672 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query11.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query11.groovy @@ -23,7 +23,7 @@ suite("query11") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query12.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query12.groovy index 2bdc10c5b832ce..b28c3b2dc7c2cf 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query12.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query12.groovy @@ -23,7 +23,7 @@ suite("query12") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query13.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query13.groovy index 6b1c2720e3b3da..d0b22c8711a782 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query13.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query13.groovy @@ -23,7 +23,7 @@ suite("query13") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query14.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query14.groovy index c74271aa97d3f5..02588b106d1f77 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query14.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query14.groovy @@ -23,7 +23,7 @@ suite("query14") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query15.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query15.groovy index 227e7e4f75be72..960d0fe3a2ef0b 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query15.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query15.groovy @@ -23,7 +23,7 @@ suite("query15") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query16.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query16.groovy index cbb5b1df50f6b7..cbd95d551bdcfa 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query16.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query16.groovy @@ -23,7 +23,7 @@ suite("query16") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query17.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query17.groovy index da6caf3165db00..43940a9c09e220 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query17.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query17.groovy @@ -23,7 +23,7 @@ suite("query17") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query18.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query18.groovy index cf4481d1b8a467..146d1b3e288dcc 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query18.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query18.groovy @@ -23,7 +23,7 @@ suite("query18") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query19.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query19.groovy index 68b418cf3e62e8..8f8e7e7f3119dd 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query19.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query19.groovy @@ -23,7 +23,7 @@ suite("query19") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query2.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query2.groovy index 5e79fa91c8d022..5d9aeca57187bd 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query2.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query2.groovy @@ -23,7 +23,7 @@ suite("query2") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query20.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query20.groovy index ce212fb97216c2..b883bb2e954123 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query20.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query20.groovy @@ -23,7 +23,7 @@ suite("query20") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query21.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query21.groovy index 6ce55bf3424795..e51d4eda44743c 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query21.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query21.groovy @@ -23,7 +23,7 @@ suite("query21") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query22.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query22.groovy index 4a7f09d1a1e187..541c834a803812 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query22.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query22.groovy @@ -23,7 +23,7 @@ suite("query22") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query23.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query23.groovy index 1179905aaaed54..ad04ac01030873 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query23.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query23.groovy @@ -23,7 +23,7 @@ suite("query23") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query24.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query24.groovy index 590d6d6a0f679d..a8bec14593d3fe 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query24.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query24.groovy @@ -23,7 +23,7 @@ suite("query24") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query25.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query25.groovy index f5241fcaabb1b8..736cafac4ab407 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query25.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query25.groovy @@ -23,7 +23,7 @@ suite("query25") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query26.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query26.groovy index 0c44bd988e2e90..e25cc6de9226b0 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query26.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query26.groovy @@ -23,7 +23,7 @@ suite("query26") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query27.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query27.groovy index 39b4969a85925f..b4b053c24fe72e 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query27.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query27.groovy @@ -23,7 +23,7 @@ suite("query27") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query28.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query28.groovy index 7d1e93ee89774a..f93dca39432185 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query28.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query28.groovy @@ -23,7 +23,7 @@ suite("query28") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query29.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query29.groovy index 353498bd2a45fe..6d9e2c966290b6 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query29.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query29.groovy @@ -23,7 +23,7 @@ suite("query29") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query3.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query3.groovy index d81dd79e3ae5d5..402efe913b1553 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query3.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query3.groovy @@ -23,7 +23,7 @@ suite("query3") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query30.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query30.groovy index 4f63cff2a3244e..4acbd442bde921 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query30.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query30.groovy @@ -23,7 +23,7 @@ suite("query30") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query31.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query31.groovy index 24f8f8f593b3e0..db743a0be5a944 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query31.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query31.groovy @@ -23,7 +23,7 @@ suite("query31") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query32.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query32.groovy index 9ed6b912198043..c5a6aad9350e2b 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query32.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query32.groovy @@ -23,7 +23,7 @@ suite("query32") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query33.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query33.groovy index 4113a940c58d67..1bc52e16cd9b7a 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query33.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query33.groovy @@ -23,7 +23,7 @@ suite("query33") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query34.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query34.groovy index a3f33fa3c1b8bb..147a8919f88397 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query34.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query34.groovy @@ -23,7 +23,7 @@ suite("query34") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query35.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query35.groovy index 2d50c39d92cfd7..4c2bf70d4285d7 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query35.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query35.groovy @@ -23,7 +23,7 @@ suite("query35") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query36.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query36.groovy index 177fda834d0b4b..105154bd5ffd62 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query36.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query36.groovy @@ -23,7 +23,7 @@ suite("query36") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query37.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query37.groovy index 8e6c4f23dc0858..21c90edd256e64 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query37.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query37.groovy @@ -23,7 +23,7 @@ suite("query37") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query38.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query38.groovy index df73aeaa06e63e..02a9b14da743d9 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query38.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query38.groovy @@ -23,7 +23,7 @@ suite("query38") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query39.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query39.groovy index 228b915a8eb538..559096b25ccfb5 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query39.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query39.groovy @@ -23,7 +23,7 @@ suite("query39") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query4.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query4.groovy index cdafe51e08a490..62cec3786a02c8 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query4.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query4.groovy @@ -23,7 +23,7 @@ suite("query4") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query40.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query40.groovy index 8a4d88dc20dc78..da170867391639 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query40.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query40.groovy @@ -23,7 +23,7 @@ suite("query40") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query41.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query41.groovy index c62008fe973ea2..f152006e931205 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query41.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query41.groovy @@ -23,7 +23,7 @@ suite("query41") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query42.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query42.groovy index 8bc5459119a0d2..d8165496028571 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query42.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query42.groovy @@ -23,7 +23,7 @@ suite("query42") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query43.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query43.groovy index bad7bc7ea8788c..602728a4ff22bb 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query43.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query43.groovy @@ -23,7 +23,7 @@ suite("query43") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query44.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query44.groovy index 516767d2d0214c..b4b4df91fd65a8 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query44.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query44.groovy @@ -23,7 +23,7 @@ suite("query44") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query45.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query45.groovy index dbe96d251d8d63..3d50047538c79c 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query45.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query45.groovy @@ -23,7 +23,7 @@ suite("query45") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query46.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query46.groovy index 42ad4feaf0fe7e..6fba922ee428ca 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query46.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query46.groovy @@ -23,7 +23,7 @@ suite("query46") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query47.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query47.groovy index fe2018a6731195..cb8e5506f02b44 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query47.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query47.groovy @@ -23,7 +23,7 @@ suite("query47") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query48.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query48.groovy index 2bfb4f48fe48bc..b4d1ce03722058 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query48.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query48.groovy @@ -23,7 +23,7 @@ suite("query48") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query49.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query49.groovy index 6c5ee84bab2fea..f43a6c50cbd4e0 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query49.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query49.groovy @@ -23,7 +23,7 @@ suite("query49") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query5.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query5.groovy index 8e1f469508b1c4..a537bad3476c65 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query5.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query5.groovy @@ -23,7 +23,7 @@ suite("query5") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query50.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query50.groovy index fdbda08ae76012..decb7a15974f50 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query50.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query50.groovy @@ -23,7 +23,7 @@ suite("query50") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query51.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query51.groovy index 4809ee6eabc79f..73473696db20f2 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query51.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query51.groovy @@ -23,7 +23,7 @@ suite("query51") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query52.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query52.groovy index 51658c4fe4c623..4fdba8ca909e14 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query52.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query52.groovy @@ -23,7 +23,7 @@ suite("query52") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query53.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query53.groovy index 4d385a4a3f3226..68c2458d0f192e 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query53.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query53.groovy @@ -23,7 +23,7 @@ suite("query53") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query54.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query54.groovy index 35a5885496c811..8cc4512b282c1e 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query54.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query54.groovy @@ -23,7 +23,7 @@ suite("query54") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query55.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query55.groovy index 2e05dc14788eb1..255b6eeb844935 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query55.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query55.groovy @@ -23,7 +23,7 @@ suite("query55") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query56.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query56.groovy index 1caccc0ea9a5ea..c3779c89a4b068 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query56.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query56.groovy @@ -23,7 +23,7 @@ suite("query56") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query57.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query57.groovy index fe575dbfc7593c..0c01b5efe7f50c 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query57.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query57.groovy @@ -23,7 +23,7 @@ suite("query57") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query58.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query58.groovy index 4225a3f418a347..7667e26c8d9bd0 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query58.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query58.groovy @@ -23,7 +23,7 @@ suite("query58") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query59.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query59.groovy index 98c4e11cb795a8..e450b4563deb52 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query59.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query59.groovy @@ -23,7 +23,7 @@ suite("query59") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query6.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query6.groovy index 2524414ab31fd7..42bd7a41841ad8 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query6.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query6.groovy @@ -23,7 +23,7 @@ suite("query6") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query60.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query60.groovy index 46ec164488b7b7..d73d7361c9688f 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query60.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query60.groovy @@ -23,7 +23,7 @@ suite("query60") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query61.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query61.groovy index 2143b84be96fbb..753a5ab395e3b3 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query61.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query61.groovy @@ -23,7 +23,7 @@ suite("query61") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query62.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query62.groovy index 60665dacb6ec1d..ae247691b87b12 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query62.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query62.groovy @@ -23,7 +23,7 @@ suite("query62") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query63.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query63.groovy index 3d31615aba2461..77b01b978106b7 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query63.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query63.groovy @@ -23,7 +23,7 @@ suite("query63") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query64.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query64.groovy index 5047f610ff41ae..65f4ffb3e4464f 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query64.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query64.groovy @@ -23,7 +23,7 @@ suite("query64") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query65.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query65.groovy index cf58a83913ac97..0264fe2f2c8b2f 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query65.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query65.groovy @@ -23,7 +23,7 @@ suite("query65") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query66.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query66.groovy index b87ea6731d813a..2bcfed4f628818 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query66.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query66.groovy @@ -23,7 +23,7 @@ suite("query66") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query67.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query67.groovy index 529bba1b921279..a8833b470b39d6 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query67.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query67.groovy @@ -23,7 +23,7 @@ suite("query67") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query68.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query68.groovy index 0ee23ddb53df52..469750f6d86c6b 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query68.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query68.groovy @@ -23,7 +23,7 @@ suite("query68") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query69.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query69.groovy index 4994ee82174626..d8d6ded3c21ac8 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query69.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query69.groovy @@ -23,7 +23,7 @@ suite("query69") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query7.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query7.groovy index 4ee9bc254aef20..40f223ab7c1c77 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query7.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query7.groovy @@ -23,7 +23,7 @@ suite("query7") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query70.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query70.groovy index 89e4df2fd441e5..145638e15c120d 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query70.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query70.groovy @@ -23,7 +23,7 @@ suite("query70") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query71.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query71.groovy index 02b85ce015b244..5812864fda89c7 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query71.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query71.groovy @@ -23,7 +23,7 @@ suite("query71") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query72.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query72.groovy index 4d4394f5743d2b..f1422b5a0410ab 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query72.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query72.groovy @@ -23,7 +23,7 @@ suite("query72") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query73.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query73.groovy index eaf19cdc12a70a..2a7b3ebb864526 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query73.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query73.groovy @@ -23,7 +23,7 @@ suite("query73") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query74.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query74.groovy index 18eaaa8b01f19f..ffa13ea03cdbd6 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query74.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query74.groovy @@ -23,7 +23,7 @@ suite("query74") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query75.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query75.groovy index cfbc00e24657c7..03c494071b96be 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query75.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query75.groovy @@ -23,7 +23,7 @@ suite("query75") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query76.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query76.groovy index 518792a1ffce50..2ab747a71eba49 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query76.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query76.groovy @@ -23,7 +23,7 @@ suite("query76") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query77.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query77.groovy index 11a9c24d21e0b6..adbfdb30a5d574 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query77.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query77.groovy @@ -23,7 +23,7 @@ suite("query77") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query78.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query78.groovy index 6fb835902ee4bc..2272daeb2b988e 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query78.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query78.groovy @@ -23,7 +23,7 @@ suite("query78") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query79.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query79.groovy index f6604983ffda81..1512ba4981dbaa 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query79.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query79.groovy @@ -23,7 +23,7 @@ suite("query79") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query8.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query8.groovy index 6755519fc45d1c..819e742414447f 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query8.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query8.groovy @@ -23,7 +23,7 @@ suite("query8") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query80.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query80.groovy index 9430b6d3554ca3..845df49c32eebf 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query80.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query80.groovy @@ -23,7 +23,7 @@ suite("query80") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query81.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query81.groovy index 28a5dd87c248af..0f55842cf37ca1 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query81.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query81.groovy @@ -23,7 +23,7 @@ suite("query81") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query82.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query82.groovy index 25e97de56f44fe..c436c6288679ca 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query82.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query82.groovy @@ -23,7 +23,7 @@ suite("query82") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query83.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query83.groovy index 54c2d3ceacb746..fc01492c721f32 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query83.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query83.groovy @@ -23,7 +23,7 @@ suite("query83") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query84.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query84.groovy index c95968978f640f..b86e88d1ea7999 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query84.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query84.groovy @@ -23,7 +23,7 @@ suite("query84") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query85.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query85.groovy index ea1b14ef5c6eef..f04a8cf0f02765 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query85.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query85.groovy @@ -23,7 +23,7 @@ suite("query85") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query86.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query86.groovy index c68bae30b590a7..45331da8c570a8 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query86.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query86.groovy @@ -23,7 +23,7 @@ suite("query86") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query87.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query87.groovy index 66c701c5dc9e92..8863236f6856fe 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query87.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query87.groovy @@ -23,7 +23,7 @@ suite("query87") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query88.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query88.groovy index e3a76adb8104c1..844c17aa7950c0 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query88.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query88.groovy @@ -23,7 +23,7 @@ suite("query88") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query89.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query89.groovy index b510e38617388f..1b5ffcfa8209da 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query89.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query89.groovy @@ -23,7 +23,7 @@ suite("query89") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query9.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query9.groovy index 062a3fe61cef4a..727f88ed76f987 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query9.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query9.groovy @@ -23,7 +23,7 @@ suite("query9") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query90.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query90.groovy index d3b083d030e004..7daa11d3a7d964 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query90.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query90.groovy @@ -23,7 +23,7 @@ suite("query90") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query91.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query91.groovy index b6c22e84c65209..6200e5a771dcd2 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query91.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query91.groovy @@ -23,7 +23,7 @@ suite("query91") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query92.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query92.groovy index 2705ce13421be5..3acbd70e06e7cc 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query92.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query92.groovy @@ -23,7 +23,7 @@ suite("query92") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query93.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query93.groovy index bf15b1dbc8f83e..ae815dc45d246d 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query93.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query93.groovy @@ -23,7 +23,7 @@ suite("query93") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query94.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query94.groovy index 16af7bc0523a09..da1b1a0f9c3c8d 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query94.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query94.groovy @@ -23,7 +23,7 @@ suite("query94") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query95.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query95.groovy index 80dcaa0aaeff19..0e44b59ae8ae45 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query95.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query95.groovy @@ -23,7 +23,7 @@ suite("query95") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query96.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query96.groovy index e9f5a204b99751..abbc23ef7e4fda 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query96.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query96.groovy @@ -23,7 +23,7 @@ suite("query96") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query97.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query97.groovy index cfda84a0aae697..f31c2acccb667d 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query97.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query97.groovy @@ -23,7 +23,7 @@ suite("query97") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query98.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query98.groovy index 1e2e6b8a30c68b..57171bdba0340f 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query98.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query98.groovy @@ -23,7 +23,7 @@ suite("query98") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false; diff --git a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query99.groovy b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query99.groovy index 11976ae66492b2..93e2a0a057ff27 100644 --- a/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query99.groovy +++ b/regression-test/suites/nereids_tpcds_shape_sf10t_orc/shape/query99.groovy @@ -23,7 +23,7 @@ suite("query99") { return } sql """ - use dlf.tpcds10000_oss; + use ${db}; set enable_nereids_planner=true; set enable_nereids_distribute_planner=false; set enable_fallback_to_original_planner=false;