zhengruifeng commented on pull request #33893:
URL: https://github.com/apache/spark/pull/33893#issuecomment-910234795


   added test("General Skew Join: 5-table join")
   
   ```
   == Physical Plan ==
   AdaptiveSparkPlan (68)
   +- == Final Plan ==
      CollectLimit (45)
      +- * HashAggregate (44)
         +- AQEShuffleRead (43)
            +- ShuffleQueryStage (42)
               +- Exchange (41)
                  +- * HashAggregate (40)
                     +- * Project (39)
                        +- * SortMergeJoin(skew=true) Inner (38)
                           :- * Project (22)
                           :  +- * SortMergeJoin(skew=true) Cross (21)
                           :     :- * Project (14)
                           :     :  +- * SortMergeJoin(skew=true) LeftOuter (13)
                           :     :     :- * Sort (6)
                           :     :     :  +- AQEShuffleRead (5)
                           :     :     :     +- ShuffleQueryStage (4)
                           :     :     :        +- Exchange (3)
                           :     :     :           +- * Project (2)
                           :     :     :              +- * Range (1)
                           :     :     +- * Sort (12)
                           :     :        +- AQEShuffleRead (11)
                           :     :           +- ShuffleQueryStage (10)
                           :     :              +- Exchange (9)
                           :     :                 +- * Project (8)
                           :     :                    +- * Range (7)
                           :     +- * Sort (20)
                           :        +- AQEShuffleRead (19)
                           :           +- ShuffleQueryStage (18)
                           :              +- Exchange (17)
                           :                 +- * Project (16)
                           :                    +- * Range (15)
                           +- * Sort (37)
                              +- * Project (36)
                                 +- * ShuffledHashJoin(skew=true) Inner 
BuildLeft (35)
                                    :- * HashAggregate(skew=true) (29)
                                    :  +- AQEShuffleRead (28)
                                    :     +- ShuffleQueryStage (27)
                                    :        +- Exchange (26)
                                    :           +- * HashAggregate (25)
                                    :              +- * Project (24)
                                    :                 +- * Range (23)
                                    +- AQEShuffleRead (34)
                                       +- ShuffleQueryStage (33)
                                          +- Exchange (32)
                                             +- * Project (31)
                                                +- * Range (30)
   ```
   
   
![image](https://user-images.githubusercontent.com/7322292/131670788-f2bf7146-8533-4433-801f-17697c457567.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.

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