wangyum commented on a change in pull request #31907:
URL: https://github.com/apache/spark/pull/31907#discussion_r598090539



##########
File path: 
sql/core/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q47.sf100/explain.txt
##########
@@ -1,62 +1,61 @@
 == Physical Plan ==
-TakeOrderedAndProject (58)
-+- * Project (57)
-   +- * SortMergeJoin Inner (56)
-      :- * Project (48)
-      :  +- * SortMergeJoin Inner (47)
-      :     :- * Sort (37)
-      :     :  +- Exchange (36)
-      :     :     +- * Filter (35)
-      :     :        +- Window (34)
-      :     :           +- * Sort (33)
-      :     :              +- Exchange (32)
-      :     :                 +- * Project (31)
-      :     :                    +- Window (30)
-      :     :                       +- * Sort (29)
-      :     :                          +- Exchange (28)
-      :     :                             +- * HashAggregate (27)
-      :     :                                +- Exchange (26)
-      :     :                                   +- * HashAggregate (25)
-      :     :                                      +- * Project (24)
-      :     :                                         +- * SortMergeJoin Inner 
(23)
-      :     :                                            :- * Sort (17)
-      :     :                                            :  +- Exchange (16)
-      :     :                                            :     +- * Project 
(15)
-      :     :                                            :        +- * 
BroadcastHashJoin Inner BuildRight (14)
-      :     :                                            :           :- * 
Project (9)
-      :     :                                            :           :  +- * 
BroadcastHashJoin Inner BuildRight (8)
-      :     :                                            :           :     :- 
* Filter (3)
-      :     :                                            :           :     :  
+- * ColumnarToRow (2)
-      :     :                                            :           :     :   
  +- Scan parquet default.store_sales (1)
-      :     :                                            :           :     +- 
BroadcastExchange (7)
-      :     :                                            :           :        
+- * Filter (6)
-      :     :                                            :           :         
  +- * ColumnarToRow (5)
-      :     :                                            :           :         
     +- Scan parquet default.date_dim (4)
-      :     :                                            :           +- 
BroadcastExchange (13)
-      :     :                                            :              +- * 
Filter (12)
-      :     :                                            :                 +- 
* ColumnarToRow (11)
-      :     :                                            :                    
+- Scan parquet default.store (10)
-      :     :                                            +- * Sort (22)
-      :     :                                               +- Exchange (21)
-      :     :                                                  +- * Filter (20)
-      :     :                                                     +- * 
ColumnarToRow (19)
-      :     :                                                        +- Scan 
parquet default.item (18)
-      :     +- * Sort (46)
-      :        +- Exchange (45)
-      :           +- * Project (44)
-      :              +- * Filter (43)
-      :                 +- Window (42)
-      :                    +- * Sort (41)
-      :                       +- Exchange (40)
-      :                          +- * HashAggregate (39)
-      :                             +- ReusedExchange (38)
-      +- * Sort (55)
-         +- Exchange (54)
-            +- * Project (53)
-               +- * Filter (52)
-                  +- Window (51)
-                     +- * Sort (50)
-                        +- ReusedExchange (49)
+TakeOrderedAndProject (57)
++- * Project (56)
+   +- * SortMergeJoin Inner (55)
+      :- * Project (47)
+      :  +- * SortMergeJoin Inner (46)
+      :     :- * Sort (36)
+      :     :  +- Exchange (35)
+      :     :     +- * Project (34)
+      :     :        +- * Filter (33)
+      :     :           +- Window (32)
+      :     :              +- * Filter (31)

Review comment:
       
![image](https://user-images.githubusercontent.com/5399861/111865928-f4d25900-89a4-11eb-9fbf-8800d5f2516c.png)
   




-- 
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.

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