starocean999 commented on code in PR #63763:
URL: https://github.com/apache/doris/pull/63763#discussion_r3592342174


##########
regression-test/data/shape_check/tpcds_sf1000_constraints/shape/query1.out:
##########
@@ -0,0 +1,37 @@
+-- This file is automatically generated. You should know what you did if you 
want to edit this
+-- !ds_shape_1_constraints --
+PhysicalCteAnchor ( cteId=CTEId#0 )
+--PhysicalCteProducer ( cteId=CTEId#0 )
+----PhysicalProject
+------hashAgg[GLOBAL]
+--------PhysicalDistribute[DistributionSpecHash]
+----------hashAgg[LOCAL]
+------------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
+------------------PhysicalOlapScan[store_returns] apply RFs: RF0
+----------------PhysicalProject
+------------------filter((date_dim.d_year = 2000))
+--------------------PhysicalOlapScan[date_dim]
+--PhysicalResultSink
+----PhysicalTopN[MERGE_SORT]
+------PhysicalDistribute[DistributionSpecGather]
+--------PhysicalTopN[LOCAL_SORT]
+----------PhysicalProject
+------------hashJoin[INNER_JOIN broadcast] 
hashCondition=((ctr1.ctr_customer_sk = customer.c_customer_sk)) 
otherCondition=() build RFs:RF4 ctr_customer_sk->c_customer_sk
+--------------PhysicalProject
+----------------PhysicalOlapScan[customer] apply RFs: RF4
+--------------PhysicalProject
+----------------hashJoin[INNER_JOIN broadcast] 
hashCondition=((ctr1.ctr_store_sk = ctr2.ctr_store_sk)) 
otherCondition=((cast(ctr_total_return as DECIMALV3(38, 5)) > 
(avg(ctr_total_return) * 1.2))) build RFs:RF2 ctr_store_sk->ctr_store_sk;RF3 
ctr_store_sk->s_store_sk
+------------------PhysicalProject
+--------------------hashJoin[INNER_JOIN shuffle] 
hashCondition=((store.s_store_sk = ctr1.ctr_store_sk)) otherCondition=() build 
RFs:RF1 s_store_sk->ctr_store_sk
+----------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF1 RF2
+----------------------PhysicalProject
+------------------------filter((store.s_state = 'TN'))
+--------------------------PhysicalOlapScan[store] apply RFs: RF3
+------------------hashAgg[GLOBAL]
+--------------------PhysicalDistribute[DistributionSpecHash]
+----------------------hashAgg[LOCAL]
+------------------------PhysicalDistribute[DistributionSpecExecutionAny]
+--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
+

Review Comment:
   no need change



##########
regression-test/data/shape_check/tpcds_sf1000_constraints/shape/query14.out:
##########
@@ -0,0 +1,170 @@
+-- This file is automatically generated. You should know what you did if you 
want to edit this
+-- !ds_shape_14_constraints --
+PhysicalCteAnchor ( cteId=CTEId#0 )
+--PhysicalCteProducer ( cteId=CTEId#0 )
+----PhysicalProject
+------hashJoin[INNER_JOIN broadcast] hashCondition=((item.i_brand_id = 
t.brand_id) and (item.i_category_id = t.category_id) and (item.i_class_id = 
t.class_id)) otherCondition=() build RFs:RF8 brand_id->i_brand_id;RF9 
class_id->i_class_id;RF10 category_id->i_category_id
+--------PhysicalProject
+----------PhysicalOlapScan[item] apply RFs: RF8 RF9 RF10
+--------PhysicalIntersect build RFs:RF6 brand_id->i_brand_id RF7 
brand_id->i_brand_id 

Review Comment:
   no need change



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to