You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by kg...@apache.org on 2018/06/13 11:49:50 UTC

[12/13] hive git commit: HIVE-19237: Only use an operatorId once in a plan (Zoltan Haindrich reviewed by Ashutosh Chauhan)

http://git-wip-us.apache.org/repos/asf/hive/blob/e8f283cf/ql/src/test/results/clientpositive/llap/explainanalyze_2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/explainanalyze_2.q.out b/ql/src/test/results/clientpositive/llap/explainanalyze_2.q.out
index 6ec4d00..0c6bd6a 100644
--- a/ql/src/test/results/clientpositive/llap/explainanalyze_2.q.out
+++ b/ql/src/test/results/clientpositive/llap/explainanalyze_2.q.out
@@ -63,11 +63,11 @@ Stage-0
           Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
         <-Union 4 [SIMPLE_EDGE]
           <-Reducer 3 [CONTAINS] llap
-            Reduce Output Operator [RS_53]
+            Reduce Output Operator [RS_84]
               PartitionCols:_col0, _col1
-              Select Operator [SEL_24] (rows=66/61 width=177)
+              Select Operator [SEL_82] (rows=66/61 width=177)
                 Output:["_col0","_col1"]
-                Merge Join Operator [MERGEJOIN_79] (rows=66/61 width=177)
+                Merge Join Operator [MERGEJOIN_81] (rows=66/61 width=177)
                   Conds:RS_21._col2=RS_22._col1(Inner),Output:["_col1","_col4"]
                 <-Reducer 11 [SIMPLE_EDGE] llap
                   SHUFFLE [RS_22]
@@ -78,22 +78,22 @@ Stage-0
                         Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                       <-Union 10 [SIMPLE_EDGE]
                         <-Map 12 [CONTAINS] llap
-                          Reduce Output Operator [RS_15]
+                          Reduce Output Operator [RS_98]
                             PartitionCols:_col1, _col0
-                            Select Operator [SEL_11] (rows=500/500 width=178)
+                            Select Operator [SEL_96] (rows=500/500 width=178)
                               Output:["_col0","_col1"]
-                              Filter Operator [FIL_72] (rows=500/500 width=178)
+                              Filter Operator [FIL_95] (rows=500/500 width=178)
                                 predicate:value is not null
-                                TableScan [TS_9] (rows=500/500 width=178)
+                                TableScan [TS_94] (rows=500/500 width=178)
                                   Output:["key","value"]
                         <-Map 9 [CONTAINS] llap
-                          Reduce Output Operator [RS_15]
+                          Reduce Output Operator [RS_93]
                             PartitionCols:_col1, _col0
-                            Select Operator [SEL_8] (rows=25/25 width=175)
+                            Select Operator [SEL_91] (rows=25/25 width=175)
                               Output:["_col0","_col1"]
-                              Filter Operator [FIL_71] (rows=25/25 width=175)
+                              Filter Operator [FIL_90] (rows=25/25 width=175)
                                 predicate:value is not null
-                                TableScan [TS_6] (rows=25/25 width=175)
+                                TableScan [TS_89] (rows=25/25 width=175)
                                   Output:["key","value"]
                 <-Reducer 2 [SIMPLE_EDGE] llap
                   SHUFFLE [RS_21]
@@ -119,11 +119,11 @@ Stage-0
                             TableScan [TS_3] (rows=25/25 width=175)
                               default@src1,x,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
           <-Reducer 7 [CONTAINS] llap
-            Reduce Output Operator [RS_53]
+            Reduce Output Operator [RS_88]
               PartitionCols:_col0, _col1
-              Select Operator [SEL_49] (rows=66/61 width=177)
+              Select Operator [SEL_86] (rows=66/61 width=177)
                 Output:["_col0","_col1"]
-                Merge Join Operator [MERGEJOIN_80] (rows=66/61 width=177)
+                Merge Join Operator [MERGEJOIN_85] (rows=66/61 width=177)
                   Conds:RS_46._col2=RS_47._col1(Inner),Output:["_col1","_col4"]
                 <-Reducer 15 [SIMPLE_EDGE] llap
                   SHUFFLE [RS_47]
@@ -134,22 +134,22 @@ Stage-0
                         Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                       <-Union 14 [SIMPLE_EDGE]
                         <-Map 13 [CONTAINS] llap
-                          Reduce Output Operator [RS_40]
+                          Reduce Output Operator [RS_103]
                             PartitionCols:_col1, _col0
-                            Select Operator [SEL_33] (rows=25/25 width=175)
+                            Select Operator [SEL_101] (rows=25/25 width=175)
                               Output:["_col0","_col1"]
-                              Filter Operator [FIL_75] (rows=25/25 width=175)
+                              Filter Operator [FIL_100] (rows=25/25 width=175)
                                 predicate:value is not null
-                                TableScan [TS_31] (rows=25/25 width=175)
+                                TableScan [TS_99] (rows=25/25 width=175)
                                   Output:["key","value"]
                         <-Map 16 [CONTAINS] llap
-                          Reduce Output Operator [RS_40]
+                          Reduce Output Operator [RS_108]
                             PartitionCols:_col1, _col0
-                            Select Operator [SEL_36] (rows=500/500 width=178)
+                            Select Operator [SEL_106] (rows=500/500 width=178)
                               Output:["_col0","_col1"]
-                              Filter Operator [FIL_76] (rows=500/500 width=178)
+                              Filter Operator [FIL_105] (rows=500/500 width=178)
                                 predicate:value is not null
-                                TableScan [TS_34] (rows=500/500 width=178)
+                                TableScan [TS_104] (rows=500/500 width=178)
                                   Output:["key","value"]
                 <-Reducer 6 [SIMPLE_EDGE] llap
                   SHUFFLE [RS_46]
@@ -257,17 +257,17 @@ Stage-0
           Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
         <-Union 6 [SIMPLE_EDGE]
           <-Reducer 5 [CONTAINS] llap
-            Reduce Output Operator [RS_111]
+            Reduce Output Operator [RS_163]
               PartitionCols:_col0, _col1
-              Group By Operator [GBY_63] (rows=196/15 width=177)
+              Group By Operator [GBY_161] (rows=196/15 width=177)
                 Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
               <-Union 4 [SIMPLE_EDGE]
                 <-Reducer 10 [CONTAINS] llap
-                  Reduce Output Operator [RS_62]
+                  Reduce Output Operator [RS_171]
                     PartitionCols:_col0, _col1
-                    Select Operator [SEL_58] (rows=130/61 width=177)
+                    Select Operator [SEL_169] (rows=130/61 width=177)
                       Output:["_col0","_col1"]
-                      Merge Join Operator [MERGEJOIN_155] (rows=130/61 width=177)
+                      Merge Join Operator [MERGEJOIN_168] (rows=130/61 width=177)
                         Conds:RS_55._col3=RS_56._col1(Inner),Output:["_col1","_col2"]
                       <-Reducer 20 [SIMPLE_EDGE] llap
                         SHUFFLE [RS_56]
@@ -278,39 +278,39 @@ Stage-0
                               Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                             <-Union 19 [SIMPLE_EDGE]
                               <-Map 22 [CONTAINS] llap
-                                Reduce Output Operator [RS_49]
+                                Reduce Output Operator [RS_200]
                                   PartitionCols:_col1, _col0
-                                  Select Operator [SEL_45] (rows=500/500 width=178)
+                                  Select Operator [SEL_198] (rows=500/500 width=178)
                                     Output:["_col0","_col1"]
-                                    Filter Operator [FIL_144] (rows=500/500 width=178)
+                                    Filter Operator [FIL_197] (rows=500/500 width=178)
                                       predicate:value is not null
-                                      TableScan [TS_43] (rows=500/500 width=178)
+                                      TableScan [TS_196] (rows=500/500 width=178)
                                         Output:["key","value"]
                               <-Reducer 18 [CONTAINS] llap
-                                Reduce Output Operator [RS_49]
+                                Reduce Output Operator [RS_190]
                                   PartitionCols:_col1, _col0
-                                  Select Operator [SEL_42] (rows=525/319 width=178)
+                                  Select Operator [SEL_188] (rows=525/319 width=178)
                                     Output:["_col0","_col1"]
-                                    Group By Operator [GBY_41] (rows=525/319 width=178)
+                                    Group By Operator [GBY_187] (rows=525/319 width=178)
                                       Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                                     <-Union 17 [SIMPLE_EDGE]
                                       <-Map 16 [CONTAINS] llap
-                                        Reduce Output Operator [RS_40]
+                                        Reduce Output Operator [RS_186]
                                           PartitionCols:_col1, _col0
-                                          Select Operator [SEL_33] (rows=25/25 width=175)
+                                          Select Operator [SEL_184] (rows=25/25 width=175)
                                             Output:["_col0","_col1"]
-                                            Filter Operator [FIL_142] (rows=25/25 width=175)
+                                            Filter Operator [FIL_183] (rows=25/25 width=175)
                                               predicate:value is not null
-                                              TableScan [TS_31] (rows=25/25 width=175)
+                                              TableScan [TS_182] (rows=25/25 width=175)
                                                 Output:["key","value"]
                                       <-Map 21 [CONTAINS] llap
-                                        Reduce Output Operator [RS_40]
+                                        Reduce Output Operator [RS_195]
                                           PartitionCols:_col1, _col0
-                                          Select Operator [SEL_36] (rows=500/500 width=178)
+                                          Select Operator [SEL_193] (rows=500/500 width=178)
                                             Output:["_col0","_col1"]
-                                            Filter Operator [FIL_143] (rows=500/500 width=178)
+                                            Filter Operator [FIL_192] (rows=500/500 width=178)
                                               predicate:value is not null
-                                              TableScan [TS_34] (rows=500/500 width=178)
+                                              TableScan [TS_191] (rows=500/500 width=178)
                                                 Output:["key","value"]
                       <-Reducer 9 [SIMPLE_EDGE] llap
                         SHUFFLE [RS_55]
@@ -336,11 +336,11 @@ Stage-0
                                   TableScan [TS_3] (rows=25/25 width=175)
                                     default@src1,x,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
                 <-Reducer 3 [CONTAINS] llap
-                  Reduce Output Operator [RS_62]
+                  Reduce Output Operator [RS_160]
                     PartitionCols:_col0, _col1
-                    Select Operator [SEL_24] (rows=66/61 width=177)
+                    Select Operator [SEL_158] (rows=66/61 width=177)
                       Output:["_col0","_col1"]
-                      Merge Join Operator [MERGEJOIN_154] (rows=66/61 width=177)
+                      Merge Join Operator [MERGEJOIN_157] (rows=66/61 width=177)
                         Conds:RS_21._col3=RS_22._col1(Inner),Output:["_col1","_col2"]
                       <-Reducer 2 [SIMPLE_EDGE] llap
                         SHUFFLE [RS_21]
@@ -364,29 +364,29 @@ Stage-0
                               Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                             <-Union 13 [SIMPLE_EDGE]
                               <-Map 12 [CONTAINS] llap
-                                Reduce Output Operator [RS_15]
+                                Reduce Output Operator [RS_176]
                                   PartitionCols:_col1, _col0
-                                  Select Operator [SEL_8] (rows=25/25 width=175)
+                                  Select Operator [SEL_174] (rows=25/25 width=175)
                                     Output:["_col0","_col1"]
-                                    Filter Operator [FIL_138] (rows=25/25 width=175)
+                                    Filter Operator [FIL_173] (rows=25/25 width=175)
                                       predicate:value is not null
-                                      TableScan [TS_6] (rows=25/25 width=175)
+                                      TableScan [TS_172] (rows=25/25 width=175)
                                         Output:["key","value"]
                               <-Map 15 [CONTAINS] llap
-                                Reduce Output Operator [RS_15]
+                                Reduce Output Operator [RS_181]
                                   PartitionCols:_col1, _col0
-                                  Select Operator [SEL_11] (rows=500/500 width=178)
+                                  Select Operator [SEL_179] (rows=500/500 width=178)
                                     Output:["_col0","_col1"]
-                                    Filter Operator [FIL_139] (rows=500/500 width=178)
+                                    Filter Operator [FIL_178] (rows=500/500 width=178)
                                       predicate:value is not null
-                                      TableScan [TS_9] (rows=500/500 width=178)
+                                      TableScan [TS_177] (rows=500/500 width=178)
                                         Output:["key","value"]
           <-Reducer 8 [CONTAINS] llap
-            Reduce Output Operator [RS_111]
+            Reduce Output Operator [RS_167]
               PartitionCols:_col0, _col1
-              Select Operator [SEL_107] (rows=193/61 width=177)
+              Select Operator [SEL_165] (rows=193/61 width=177)
                 Output:["_col0","_col1"]
-                Merge Join Operator [MERGEJOIN_156] (rows=193/61 width=177)
+                Merge Join Operator [MERGEJOIN_164] (rows=193/61 width=177)
                   Conds:RS_104._col3=RS_105._col1(Inner),Output:["_col1","_col2"]
                 <-Reducer 2 [SIMPLE_EDGE] llap
                   SHUFFLE [RS_104]
@@ -401,56 +401,56 @@ Stage-0
                         Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                       <-Union 28 [SIMPLE_EDGE]
                         <-Map 32 [CONTAINS] llap
-                          Reduce Output Operator [RS_98]
+                          Reduce Output Operator [RS_228]
                             PartitionCols:_col1, _col0
-                            Select Operator [SEL_94] (rows=500/500 width=178)
+                            Select Operator [SEL_226] (rows=500/500 width=178)
                               Output:["_col0","_col1"]
-                              Filter Operator [FIL_150] (rows=500/500 width=178)
+                              Filter Operator [FIL_225] (rows=500/500 width=178)
                                 predicate:value is not null
-                                TableScan [TS_92] (rows=500/500 width=178)
+                                TableScan [TS_224] (rows=500/500 width=178)
                                   Output:["key","value"]
                         <-Reducer 27 [CONTAINS] llap
-                          Reduce Output Operator [RS_98]
+                          Reduce Output Operator [RS_213]
                             PartitionCols:_col1, _col0
-                            Select Operator [SEL_91] (rows=1025/319 width=178)
+                            Select Operator [SEL_211] (rows=1025/319 width=178)
                               Output:["_col0","_col1"]
-                              Group By Operator [GBY_90] (rows=1025/319 width=178)
+                              Group By Operator [GBY_210] (rows=1025/319 width=178)
                                 Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                               <-Union 26 [SIMPLE_EDGE]
                                 <-Map 31 [CONTAINS] llap
-                                  Reduce Output Operator [RS_89]
+                                  Reduce Output Operator [RS_223]
                                     PartitionCols:_col1, _col0
-                                    Select Operator [SEL_85] (rows=500/500 width=178)
+                                    Select Operator [SEL_221] (rows=500/500 width=178)
                                       Output:["_col0","_col1"]
-                                      Filter Operator [FIL_149] (rows=500/500 width=178)
+                                      Filter Operator [FIL_220] (rows=500/500 width=178)
                                         predicate:value is not null
-                                        TableScan [TS_83] (rows=500/500 width=178)
+                                        TableScan [TS_219] (rows=500/500 width=178)
                                           Output:["key","value"]
                                 <-Reducer 25 [CONTAINS] llap
-                                  Reduce Output Operator [RS_89]
+                                  Reduce Output Operator [RS_209]
                                     PartitionCols:_col1, _col0
-                                    Select Operator [SEL_82] (rows=525/319 width=178)
+                                    Select Operator [SEL_207] (rows=525/319 width=178)
                                       Output:["_col0","_col1"]
-                                      Group By Operator [GBY_81] (rows=525/319 width=178)
+                                      Group By Operator [GBY_206] (rows=525/319 width=178)
                                         Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                                       <-Union 24 [SIMPLE_EDGE]
                                         <-Map 23 [CONTAINS] llap
-                                          Reduce Output Operator [RS_80]
+                                          Reduce Output Operator [RS_205]
                                             PartitionCols:_col1, _col0
-                                            Select Operator [SEL_73] (rows=25/25 width=175)
+                                            Select Operator [SEL_203] (rows=25/25 width=175)
                                               Output:["_col0","_col1"]
-                                              Filter Operator [FIL_147] (rows=25/25 width=175)
+                                              Filter Operator [FIL_202] (rows=25/25 width=175)
                                                 predicate:value is not null
-                                                TableScan [TS_71] (rows=25/25 width=175)
+                                                TableScan [TS_201] (rows=25/25 width=175)
                                                   Output:["key","value"]
                                         <-Map 30 [CONTAINS] llap
-                                          Reduce Output Operator [RS_80]
+                                          Reduce Output Operator [RS_218]
                                             PartitionCols:_col1, _col0
-                                            Select Operator [SEL_76] (rows=500/500 width=178)
+                                            Select Operator [SEL_216] (rows=500/500 width=178)
                                               Output:["_col0","_col1"]
-                                              Filter Operator [FIL_148] (rows=500/500 width=178)
+                                              Filter Operator [FIL_215] (rows=500/500 width=178)
                                                 predicate:value is not null
-                                                TableScan [TS_74] (rows=500/500 width=178)
+                                                TableScan [TS_214] (rows=500/500 width=178)
                                                   Output:["key","value"]
 
 PREHOOK: query: CREATE TABLE srcbucket_mapjoin_n11(key int, value string) partitioned by (ds string) CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE
@@ -860,30 +860,30 @@ Stage-0
                       default@tab_part_n7,b_n10,Tbl:COMPLETE,Col:COMPLETE,Output:["key"]
             <-Union 2 [SIMPLE_EDGE]
               <-Map 1 [CONTAINS] llap
-                Reduce Output Operator [RS_18]
+                Reduce Output Operator [RS_48]
                   PartitionCols:_col0
-                  Merge Join Operator [MERGEJOIN_36] (rows=401/480 width=4)
-                    Conds:SEL_2._col0=SEL_5._col0(Inner),Output:["_col0"]
+                  Merge Join Operator [MERGEJOIN_45] (rows=401/480 width=4)
+                    Conds:SEL_43._col0=SEL_5._col0(Inner),Output:["_col0"]
                   <-Select Operator [SEL_5] (rows=242/242 width=4)
                       Output:["_col0"]
                       Filter Operator [FIL_33] (rows=242/242 width=4)
                         predicate:key is not null
                         TableScan [TS_3] (rows=242/242 width=4)
                           default@tab_n6,s3,Tbl:COMPLETE,Col:COMPLETE,Output:["key"]
-                  <-Select Operator [SEL_2] (rows=242/242 width=4)
+                  <-Select Operator [SEL_43] (rows=242/242 width=4)
                       Output:["_col0"]
-                      Filter Operator [FIL_32] (rows=242/242 width=4)
+                      Filter Operator [FIL_41] (rows=242/242 width=4)
                         predicate:key is not null
-                        TableScan [TS_0] (rows=242/242 width=4)
+                        TableScan [TS_39] (rows=242/242 width=4)
                           Output:["key"]
               <-Map 6 [CONTAINS] llap
-                Reduce Output Operator [RS_18]
+                Reduce Output Operator [RS_53]
                   PartitionCols:_col0
-                  Select Operator [SEL_12] (rows=242/242 width=4)
+                  Select Operator [SEL_51] (rows=242/242 width=4)
                     Output:["_col0"]
-                    Filter Operator [FIL_34] (rows=242/242 width=4)
+                    Filter Operator [FIL_50] (rows=242/242 width=4)
                       predicate:key is not null
-                      TableScan [TS_10] (rows=242/242 width=4)
+                      TableScan [TS_49] (rows=242/242 width=4)
                         Output:["key"]
 
 PREHOOK: query: select count(*) from (select s1.key as key, s1.value as value from tab_n6 s1 join tab_n6 s3 on s1.key=s3.key join tab_n6 s2 on s1.value=s2.value
@@ -950,18 +950,18 @@ Stage-0
                       default@tab_part_n7,b_n10,Tbl:COMPLETE,Col:COMPLETE,Output:["key"]
             <-Union 4 [SIMPLE_EDGE]
               <-Map 9 [CONTAINS] llap
-                Reduce Output Operator [RS_24]
+                Reduce Output Operator [RS_57]
                   PartitionCols:_col0
-                  Select Operator [SEL_18] (rows=242/242 width=4)
+                  Select Operator [SEL_55] (rows=242/242 width=4)
                     Output:["_col0"]
-                    Filter Operator [FIL_45] (rows=242/242 width=4)
+                    Filter Operator [FIL_54] (rows=242/242 width=4)
                       predicate:key is not null
-                      TableScan [TS_16] (rows=242/242 width=4)
+                      TableScan [TS_53] (rows=242/242 width=4)
                         Output:["key"]
               <-Reducer 3 [CONTAINS] llap
-                Reduce Output Operator [RS_24]
+                Reduce Output Operator [RS_52]
                   PartitionCols:_col0
-                  Merge Join Operator [MERGEJOIN_48] (rows=633/1166 width=4)
+                  Merge Join Operator [MERGEJOIN_50] (rows=633/1166 width=4)
                     Conds:RS_12._col0=RS_13._col0(Inner),Output:["_col0"]
                   <-Map 8 [SIMPLE_EDGE] llap
                     SHUFFLE [RS_13]
@@ -1135,28 +1135,28 @@ Stage-5
           Dependency Collection{}
             Stage-3
               Reducer 5 llap
-              File Output Operator [FS_5]
-                Group By Operator [GBY_3] (rows=1/1 width=880)
+              File Output Operator [FS_81]
+                Group By Operator [GBY_79] (rows=1/1 width=880)
                   Output:["_col0","_col1"],aggregations:["compute_stats(VALUE._col0, 'hll')","compute_stats(VALUE._col2, 'hll')"]
                 <-Union 4 [CUSTOM_SIMPLE_EDGE]
                   <-Reducer 12 [CONTAINS] llap
-                    File Output Operator [FS_75]
+                    File Output Operator [FS_167]
                       table:{"name:":"default.a_n14"}
-                      Select Operator [SEL_72] (rows=193/820 width=175)
+                      Select Operator [SEL_165] (rows=193/820 width=175)
                         Output:["_col0","_col1"]
-                        Merge Join Operator [MERGEJOIN_121] (rows=193/820 width=175)
+                        Merge Join Operator [MERGEJOIN_164] (rows=193/820 width=175)
                           Conds:RS_69._col1=Union 23._col0(Inner),Output:["_col0","_col3"]
                         <-Reducer 11 [SIMPLE_EDGE] llap
                           SHUFFLE [RS_69]
                             PartitionCols:_col1
-                            Merge Join Operator [MERGEJOIN_118] (rows=39/115 width=264)
+                            Merge Join Operator [MERGEJOIN_136] (rows=39/115 width=264)
                               Conds:RS_66._col0=RS_67._col0(Inner),Output:["_col0","_col1","_col3"]
                             <-Map 10 [SIMPLE_EDGE] llap
                               SHUFFLE [RS_66]
                                 PartitionCols:_col0
                                 Select Operator [SEL_5] (rows=25/25 width=175)
                                   Output:["_col0","_col1"]
-                                  Filter Operator [FIL_102] (rows=25/25 width=175)
+                                  Filter Operator [FIL_120] (rows=25/25 width=175)
                                     predicate:(key is not null and value is not null)
                                     TableScan [TS_3] (rows=25/25 width=175)
                                       default@src1,x,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
@@ -1165,83 +1165,83 @@ Stage-5
                                 PartitionCols:_col0
                                 Select Operator [SEL_51] (rows=25/25 width=175)
                                   Output:["_col0","_col1"]
-                                  Filter Operator [FIL_111] (rows=25/25 width=175)
+                                  Filter Operator [FIL_129] (rows=25/25 width=175)
                                     predicate:key is not null
                                     TableScan [TS_49] (rows=25/25 width=175)
                                       default@src1,y,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
                         <-Union 23 [SIMPLE_EDGE]
                           <-Map 22 [CONTAINS] llap
-                            Reduce Output Operator [RS_70]
+                            Reduce Output Operator [RS_205]
                               PartitionCols:_col0
-                              Select Operator [SEL_54] (rows=25/25 width=89)
+                              Select Operator [SEL_203] (rows=25/25 width=89)
                                 Output:["_col0"]
-                                Filter Operator [FIL_112] (rows=25/25 width=89)
+                                Filter Operator [FIL_202] (rows=25/25 width=89)
                                   predicate:value is not null
-                                  TableScan [TS_52] (rows=25/25 width=89)
+                                  TableScan [TS_201] (rows=25/25 width=89)
                                     Output:["value"]
                           <-Map 24 [CONTAINS] llap
-                            Reduce Output Operator [RS_70]
+                            Reduce Output Operator [RS_210]
                               PartitionCols:_col0
-                              Select Operator [SEL_57] (rows=500/500 width=91)
+                              Select Operator [SEL_208] (rows=500/500 width=91)
                                 Output:["_col0"]
-                                Filter Operator [FIL_113] (rows=500/500 width=91)
+                                Filter Operator [FIL_207] (rows=500/500 width=91)
                                   predicate:value is not null
-                                  TableScan [TS_55] (rows=500/500 width=91)
+                                  TableScan [TS_206] (rows=500/500 width=91)
                                     Output:["value"]
                           <-Map 25 [CONTAINS] llap
-                            Reduce Output Operator [RS_70]
+                            Reduce Output Operator [RS_215]
                               PartitionCols:_col0
-                              Select Operator [SEL_61] (rows=500/500 width=91)
+                              Select Operator [SEL_213] (rows=500/500 width=91)
                                 Output:["_col0"]
-                                Filter Operator [FIL_114] (rows=500/500 width=91)
+                                Filter Operator [FIL_212] (rows=500/500 width=91)
                                   predicate:value is not null
-                                  TableScan [TS_59] (rows=500/500 width=91)
+                                  TableScan [TS_211] (rows=500/500 width=91)
                                     Output:["value"]
                           <-Map 26 [CONTAINS] llap
-                            Reduce Output Operator [RS_70]
+                            Reduce Output Operator [RS_220]
                               PartitionCols:_col0
-                              Select Operator [SEL_64] (rows=500/500 width=91)
+                              Select Operator [SEL_218] (rows=500/500 width=91)
                                 Output:["_col0"]
-                                Filter Operator [FIL_115] (rows=500/500 width=91)
+                                Filter Operator [FIL_217] (rows=500/500 width=91)
                                   predicate:value is not null
-                                  TableScan [TS_62] (rows=500/500 width=91)
+                                  TableScan [TS_216] (rows=500/500 width=91)
                                     Output:["value"]
-                    Reduce Output Operator [RS_2]
-                      Select Operator [SEL_1] (rows=2899/6411 width=178)
+                    Reduce Output Operator [RS_173]
+                      Select Operator [SEL_168] (rows=2899/820 width=178)
                         Output:["key","value"]
-                         Please refer to the previous Select Operator [SEL_72]
-                    File Output Operator [FS_77]
+                         Please refer to the previous Select Operator [SEL_165]
+                    File Output Operator [FS_169]
                       table:{"name:":"default.b_n10"}
-                       Please refer to the previous Select Operator [SEL_72]
-                    Reduce Output Operator [RS_2]
-                      Select Operator [SEL_1] (rows=2899/6411 width=178)
+                       Please refer to the previous Select Operator [SEL_165]
+                    Reduce Output Operator [RS_174]
+                      Select Operator [SEL_170] (rows=2899/820 width=178)
                         Output:["key","value"]
-                         Please refer to the previous Select Operator [SEL_72]
-                    File Output Operator [FS_79]
+                         Please refer to the previous Select Operator [SEL_165]
+                    File Output Operator [FS_171]
                       table:{"name:":"default.c_n3"}
-                       Please refer to the previous Select Operator [SEL_72]
-                    Reduce Output Operator [RS_2]
-                      Select Operator [SEL_1] (rows=2899/6411 width=178)
+                       Please refer to the previous Select Operator [SEL_165]
+                    Reduce Output Operator [RS_175]
+                      Select Operator [SEL_172] (rows=2899/820 width=178)
                         Output:["key","value"]
-                         Please refer to the previous Select Operator [SEL_72]
+                         Please refer to the previous Select Operator [SEL_165]
                   <-Reducer 3 [CONTAINS] llap
-                    File Output Operator [FS_75]
+                    File Output Operator [FS_143]
                       table:{"name:":"default.a_n14"}
-                      Select Operator [SEL_20] (rows=66/170 width=177)
+                      Select Operator [SEL_141] (rows=66/170 width=177)
                         Output:["_col0","_col1"]
-                        Merge Join Operator [MERGEJOIN_119] (rows=66/170 width=177)
+                        Merge Join Operator [MERGEJOIN_140] (rows=66/170 width=177)
                           Conds:RS_17._col3=Union 14._col0(Inner),Output:["_col1","_col2"]
                         <-Reducer 2 [SIMPLE_EDGE] llap
                           SHUFFLE [RS_17]
                             PartitionCols:_col3
-                            Merge Join Operator [MERGEJOIN_116] (rows=39/37 width=266)
+                            Merge Join Operator [MERGEJOIN_134] (rows=39/37 width=266)
                               Conds:RS_14._col0=RS_15._col0(Inner),Output:["_col1","_col2","_col3"]
                             <-Map 1 [SIMPLE_EDGE] llap
                               SHUFFLE [RS_14]
                                 PartitionCols:_col0
                                 Select Operator [SEL_2] (rows=500/500 width=178)
                                   Output:["_col0","_col1"]
-                                  Filter Operator [FIL_101] (rows=500/500 width=178)
+                                  Filter Operator [FIL_119] (rows=500/500 width=178)
                                     predicate:key is not null
                                     TableScan [TS_0] (rows=500/500 width=178)
                                       default@src,y,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
@@ -1251,59 +1251,59 @@ Stage-5
                                  Please refer to the previous Select Operator [SEL_5]
                         <-Union 14 [SIMPLE_EDGE]
                           <-Map 13 [CONTAINS] llap
-                            Reduce Output Operator [RS_18]
+                            Reduce Output Operator [RS_180]
                               PartitionCols:_col0
-                              Select Operator [SEL_8] (rows=25/25 width=89)
+                              Select Operator [SEL_178] (rows=25/25 width=89)
                                 Output:["_col0"]
-                                Filter Operator [FIL_103] (rows=25/25 width=89)
+                                Filter Operator [FIL_177] (rows=25/25 width=89)
                                   predicate:value is not null
-                                  TableScan [TS_6] (rows=25/25 width=89)
+                                  TableScan [TS_176] (rows=25/25 width=89)
                                     Output:["value"]
                           <-Map 15 [CONTAINS] llap
-                            Reduce Output Operator [RS_18]
+                            Reduce Output Operator [RS_185]
                               PartitionCols:_col0
-                              Select Operator [SEL_11] (rows=500/500 width=91)
+                              Select Operator [SEL_183] (rows=500/500 width=91)
                                 Output:["_col0"]
-                                Filter Operator [FIL_104] (rows=500/500 width=91)
+                                Filter Operator [FIL_182] (rows=500/500 width=91)
                                   predicate:value is not null
-                                  TableScan [TS_9] (rows=500/500 width=91)
+                                  TableScan [TS_181] (rows=500/500 width=91)
                                     Output:["value"]
-                    Reduce Output Operator [RS_2]
-                      Select Operator [SEL_1] (rows=2899/6411 width=178)
+                    Reduce Output Operator [RS_149]
+                      Select Operator [SEL_144] (rows=2899/170 width=178)
                         Output:["key","value"]
-                         Please refer to the previous Select Operator [SEL_20]
-                    File Output Operator [FS_77]
+                         Please refer to the previous Select Operator [SEL_141]
+                    File Output Operator [FS_145]
                       table:{"name:":"default.b_n10"}
-                       Please refer to the previous Select Operator [SEL_20]
-                    Reduce Output Operator [RS_2]
-                      Select Operator [SEL_1] (rows=2899/6411 width=178)
+                       Please refer to the previous Select Operator [SEL_141]
+                    Reduce Output Operator [RS_150]
+                      Select Operator [SEL_146] (rows=2899/170 width=178)
                         Output:["key","value"]
-                         Please refer to the previous Select Operator [SEL_20]
-                    File Output Operator [FS_79]
+                         Please refer to the previous Select Operator [SEL_141]
+                    File Output Operator [FS_147]
                       table:{"name:":"default.c_n3"}
-                       Please refer to the previous Select Operator [SEL_20]
-                    Reduce Output Operator [RS_2]
-                      Select Operator [SEL_1] (rows=2899/6411 width=178)
+                       Please refer to the previous Select Operator [SEL_141]
+                    Reduce Output Operator [RS_151]
+                      Select Operator [SEL_148] (rows=2899/170 width=178)
                         Output:["key","value"]
-                         Please refer to the previous Select Operator [SEL_20]
+                         Please refer to the previous Select Operator [SEL_141]
                   <-Reducer 9 [CONTAINS] llap
-                    File Output Operator [FS_75]
+                    File Output Operator [FS_155]
                       table:{"name:":"default.a_n14"}
-                      Select Operator [SEL_44] (rows=2640/5421 width=178)
+                      Select Operator [SEL_153] (rows=2640/5421 width=178)
                         Output:["_col0","_col1"]
-                        Merge Join Operator [MERGEJOIN_120] (rows=2640/5421 width=178)
+                        Merge Join Operator [MERGEJOIN_152] (rows=2640/5421 width=178)
                           Conds:RS_41._col1=Union 18._col0(Inner),Output:["_col0","_col3"]
                         <-Reducer 8 [SIMPLE_EDGE] llap
                           SHUFFLE [RS_41]
                             PartitionCols:_col1
-                            Merge Join Operator [MERGEJOIN_117] (rows=791/1028 width=269)
+                            Merge Join Operator [MERGEJOIN_135] (rows=791/1028 width=269)
                               Conds:RS_38._col0=RS_39._col0(Inner),Output:["_col0","_col1","_col3"]
                             <-Map 1 [SIMPLE_EDGE] llap
                               SHUFFLE [RS_38]
                                 PartitionCols:_col0
                                 Select Operator [SEL_23] (rows=500/500 width=178)
                                   Output:["_col0","_col1"]
-                                  Filter Operator [FIL_105] (rows=500/500 width=178)
+                                  Filter Operator [FIL_123] (rows=500/500 width=178)
                                     predicate:(key is not null and value is not null)
                                      Please refer to the previous TableScan [TS_0]
                             <-Map 16 [SIMPLE_EDGE] llap
@@ -1311,64 +1311,64 @@ Stage-5
                                 PartitionCols:_col0
                                 Select Operator [SEL_26] (rows=500/500 width=178)
                                   Output:["_col0","_col1"]
-                                  Filter Operator [FIL_106] (rows=500/500 width=178)
+                                  Filter Operator [FIL_124] (rows=500/500 width=178)
                                     predicate:key is not null
                                     TableScan [TS_24] (rows=500/500 width=178)
                                       default@src,y,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
                         <-Union 18 [SIMPLE_EDGE]
                           <-Map 17 [CONTAINS] llap
-                            Reduce Output Operator [RS_42]
+                            Reduce Output Operator [RS_190]
                               PartitionCols:_col0
-                              Select Operator [SEL_29] (rows=25/25 width=89)
+                              Select Operator [SEL_188] (rows=25/25 width=89)
                                 Output:["_col0"]
-                                Filter Operator [FIL_107] (rows=25/25 width=89)
+                                Filter Operator [FIL_187] (rows=25/25 width=89)
                                   predicate:value is not null
-                                  TableScan [TS_27] (rows=25/25 width=89)
+                                  TableScan [TS_186] (rows=25/25 width=89)
                                     Output:["value"]
                           <-Map 19 [CONTAINS] llap
-                            Reduce Output Operator [RS_42]
+                            Reduce Output Operator [RS_195]
                               PartitionCols:_col0
-                              Select Operator [SEL_32] (rows=500/500 width=91)
+                              Select Operator [SEL_193] (rows=500/500 width=91)
                                 Output:["_col0"]
-                                Filter Operator [FIL_108] (rows=500/500 width=91)
+                                Filter Operator [FIL_192] (rows=500/500 width=91)
                                   predicate:value is not null
-                                  TableScan [TS_30] (rows=500/500 width=91)
+                                  TableScan [TS_191] (rows=500/500 width=91)
                                     Output:["value"]
                           <-Map 20 [CONTAINS] llap
-                            Reduce Output Operator [RS_42]
+                            Reduce Output Operator [RS_200]
                               PartitionCols:_col0
-                              Select Operator [SEL_36] (rows=500/500 width=91)
+                              Select Operator [SEL_198] (rows=500/500 width=91)
                                 Output:["_col0"]
-                                Filter Operator [FIL_109] (rows=500/500 width=91)
+                                Filter Operator [FIL_197] (rows=500/500 width=91)
                                   predicate:value is not null
-                                  TableScan [TS_34] (rows=500/500 width=91)
+                                  TableScan [TS_196] (rows=500/500 width=91)
                                     Output:["value"]
-                    Reduce Output Operator [RS_2]
-                      Select Operator [SEL_1] (rows=2899/6411 width=178)
+                    Reduce Output Operator [RS_161]
+                      Select Operator [SEL_156] (rows=2899/5421 width=178)
                         Output:["key","value"]
-                         Please refer to the previous Select Operator [SEL_44]
-                    File Output Operator [FS_77]
+                         Please refer to the previous Select Operator [SEL_153]
+                    File Output Operator [FS_157]
                       table:{"name:":"default.b_n10"}
-                       Please refer to the previous Select Operator [SEL_44]
-                    Reduce Output Operator [RS_2]
-                      Select Operator [SEL_1] (rows=2899/6411 width=178)
+                       Please refer to the previous Select Operator [SEL_153]
+                    Reduce Output Operator [RS_162]
+                      Select Operator [SEL_158] (rows=2899/5421 width=178)
                         Output:["key","value"]
-                         Please refer to the previous Select Operator [SEL_44]
-                    File Output Operator [FS_79]
+                         Please refer to the previous Select Operator [SEL_153]
+                    File Output Operator [FS_159]
                       table:{"name:":"default.c_n3"}
-                       Please refer to the previous Select Operator [SEL_44]
-                    Reduce Output Operator [RS_2]
-                      Select Operator [SEL_1] (rows=2899/6411 width=178)
+                       Please refer to the previous Select Operator [SEL_153]
+                    Reduce Output Operator [RS_163]
+                      Select Operator [SEL_160] (rows=2899/5421 width=178)
                         Output:["key","value"]
-                         Please refer to the previous Select Operator [SEL_44]
+                         Please refer to the previous Select Operator [SEL_153]
               Reducer 6 llap
-              File Output Operator [FS_5]
-                Group By Operator [GBY_3] (rows=1/1 width=880)
+              File Output Operator [FS_89]
+                Group By Operator [GBY_87] (rows=1/1 width=880)
                   Output:["_col0","_col1"],aggregations:["compute_stats(VALUE._col0, 'hll')","compute_stats(VALUE._col2, 'hll')"]
                 <- Please refer to the previous Union 4 [CUSTOM_SIMPLE_EDGE]
               Reducer 7 llap
-              File Output Operator [FS_5]
-                Group By Operator [GBY_3] (rows=1/1 width=880)
+              File Output Operator [FS_97]
+                Group By Operator [GBY_95] (rows=1/1 width=880)
                   Output:["_col0","_col1"],aggregations:["compute_stats(VALUE._col0, 'hll')","compute_stats(VALUE._col2, 'hll')"]
                 <- Please refer to the previous Union 4 [CUSTOM_SIMPLE_EDGE]
 Stage-6
@@ -1495,34 +1495,34 @@ Stage-5
           Dependency Collection{}
             Stage-3
               Reducer 10 llap
-              File Output Operator [FS_5]
-                Group By Operator [GBY_3] (rows=1/1 width=880)
+              File Output Operator [FS_137]
+                Group By Operator [GBY_135] (rows=1/1 width=880)
                   Output:["_col0","_col1"],aggregations:["compute_stats(VALUE._col0, 'hll')","compute_stats(VALUE._col2, 'hll')"]
                 <-Reducer 7 [CUSTOM_SIMPLE_EDGE] llap
-                  PARTITION_ONLY_SHUFFLE [RS_2]
-                    Select Operator [SEL_1] (rows=2899/319 width=178)
+                  PARTITION_ONLY_SHUFFLE [RS_134]
+                    Select Operator [SEL_133] (rows=2899/319 width=178)
                       Output:["key","value"]
                       Group By Operator [GBY_112] (rows=2899/319 width=178)
                         Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                       <-Union 6 [SIMPLE_EDGE]
                         <-Reducer 15 [CONTAINS] llap
-                          Reduce Output Operator [RS_111]
+                          Reduce Output Operator [RS_194]
                             PartitionCols:_col0, _col1
-                            Select Operator [SEL_107] (rows=193/304 width=175)
+                            Select Operator [SEL_192] (rows=193/304 width=175)
                               Output:["_col0","_col1"]
-                              Merge Join Operator [MERGEJOIN_161] (rows=193/304 width=175)
+                              Merge Join Operator [MERGEJOIN_191] (rows=193/304 width=175)
                                 Conds:RS_104._col1=RS_105._col1(Inner),Output:["_col0","_col3"]
                               <-Reducer 14 [SIMPLE_EDGE] llap
                                 SHUFFLE [RS_104]
                                   PartitionCols:_col1
-                                  Merge Join Operator [MERGEJOIN_158] (rows=39/115 width=264)
+                                  Merge Join Operator [MERGEJOIN_176] (rows=39/115 width=264)
                                     Conds:RS_101._col0=RS_102._col0(Inner),Output:["_col0","_col1","_col3"]
                                   <-Map 13 [SIMPLE_EDGE] llap
                                     SHUFFLE [RS_101]
                                       PartitionCols:_col0
                                       Select Operator [SEL_5] (rows=25/25 width=175)
                                         Output:["_col0","_col1"]
-                                        Filter Operator [FIL_142] (rows=25/25 width=175)
+                                        Filter Operator [FIL_160] (rows=25/25 width=175)
                                           predicate:(key is not null and value is not null)
                                           TableScan [TS_3] (rows=25/25 width=175)
                                             default@src1,x,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
@@ -1531,7 +1531,7 @@ Stage-5
                                       PartitionCols:_col0
                                       Select Operator [SEL_70] (rows=25/25 width=175)
                                         Output:["_col0","_col1"]
-                                        Filter Operator [FIL_151] (rows=25/25 width=175)
+                                        Filter Operator [FIL_169] (rows=25/25 width=175)
                                           predicate:key is not null
                                           TableScan [TS_68] (rows=25/25 width=175)
                                             default@src1,y,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
@@ -1544,81 +1544,81 @@ Stage-5
                                       Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                                     <-Union 34 [SIMPLE_EDGE]
                                       <-Map 38 [CONTAINS] llap
-                                        Reduce Output Operator [RS_98]
+                                        Reduce Output Operator [RS_251]
                                           PartitionCols:_col1, _col0
-                                          Select Operator [SEL_94] (rows=500/500 width=178)
+                                          Select Operator [SEL_249] (rows=500/500 width=178)
                                             Output:["_col0","_col1"]
-                                            Filter Operator [FIL_155] (rows=500/500 width=178)
+                                            Filter Operator [FIL_248] (rows=500/500 width=178)
                                               predicate:value is not null
-                                              TableScan [TS_92] (rows=500/500 width=178)
+                                              TableScan [TS_247] (rows=500/500 width=178)
                                                 Output:["key","value"]
                                       <-Reducer 33 [CONTAINS] llap
-                                        Reduce Output Operator [RS_98]
+                                        Reduce Output Operator [RS_236]
                                           PartitionCols:_col1, _col0
-                                          Select Operator [SEL_91] (rows=1025/319 width=178)
+                                          Select Operator [SEL_234] (rows=1025/319 width=178)
                                             Output:["_col0","_col1"]
-                                            Group By Operator [GBY_90] (rows=1025/319 width=178)
+                                            Group By Operator [GBY_233] (rows=1025/319 width=178)
                                               Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                                             <-Union 32 [SIMPLE_EDGE]
                                               <-Map 37 [CONTAINS] llap
-                                                Reduce Output Operator [RS_89]
+                                                Reduce Output Operator [RS_246]
                                                   PartitionCols:_col1, _col0
-                                                  Select Operator [SEL_85] (rows=500/500 width=178)
+                                                  Select Operator [SEL_244] (rows=500/500 width=178)
                                                     Output:["_col0","_col1"]
-                                                    Filter Operator [FIL_154] (rows=500/500 width=178)
+                                                    Filter Operator [FIL_243] (rows=500/500 width=178)
                                                       predicate:value is not null
-                                                      TableScan [TS_83] (rows=500/500 width=178)
+                                                      TableScan [TS_242] (rows=500/500 width=178)
                                                         Output:["key","value"]
                                               <-Reducer 31 [CONTAINS] llap
-                                                Reduce Output Operator [RS_89]
+                                                Reduce Output Operator [RS_232]
                                                   PartitionCols:_col1, _col0
-                                                  Select Operator [SEL_82] (rows=525/319 width=178)
+                                                  Select Operator [SEL_230] (rows=525/319 width=178)
                                                     Output:["_col0","_col1"]
-                                                    Group By Operator [GBY_81] (rows=525/319 width=178)
+                                                    Group By Operator [GBY_229] (rows=525/319 width=178)
                                                       Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                                                     <-Union 30 [SIMPLE_EDGE]
                                                       <-Map 29 [CONTAINS] llap
-                                                        Reduce Output Operator [RS_80]
+                                                        Reduce Output Operator [RS_228]
                                                           PartitionCols:_col1, _col0
-                                                          Select Operator [SEL_73] (rows=25/25 width=175)
+                                                          Select Operator [SEL_226] (rows=25/25 width=175)
                                                             Output:["_col0","_col1"]
-                                                            Filter Operator [FIL_152] (rows=25/25 width=175)
+                                                            Filter Operator [FIL_225] (rows=25/25 width=175)
                                                               predicate:value is not null
-                                                              TableScan [TS_71] (rows=25/25 width=175)
+                                                              TableScan [TS_224] (rows=25/25 width=175)
                                                                 Output:["key","value"]
                                                       <-Map 36 [CONTAINS] llap
-                                                        Reduce Output Operator [RS_80]
+                                                        Reduce Output Operator [RS_241]
                                                           PartitionCols:_col1, _col0
-                                                          Select Operator [SEL_76] (rows=500/500 width=178)
+                                                          Select Operator [SEL_239] (rows=500/500 width=178)
                                                             Output:["_col0","_col1"]
-                                                            Filter Operator [FIL_153] (rows=500/500 width=178)
+                                                            Filter Operator [FIL_238] (rows=500/500 width=178)
                                                               predicate:value is not null
-                                                              TableScan [TS_74] (rows=500/500 width=178)
+                                                              TableScan [TS_237] (rows=500/500 width=178)
                                                                 Output:["key","value"]
                         <-Reducer 5 [CONTAINS] llap
-                          Reduce Output Operator [RS_111]
+                          Reduce Output Operator [RS_186]
                             PartitionCols:_col0, _col1
-                            Group By Operator [GBY_63] (rows=2706/309 width=178)
+                            Group By Operator [GBY_184] (rows=2706/309 width=178)
                               Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                             <-Union 4 [SIMPLE_EDGE]
                               <-Reducer 12 [CONTAINS] llap
-                                Reduce Output Operator [RS_62]
+                                Reduce Output Operator [RS_190]
                                   PartitionCols:_col0, _col1
-                                  Select Operator [SEL_58] (rows=2640/1056 width=178)
+                                  Select Operator [SEL_188] (rows=2640/1056 width=178)
                                     Output:["_col0","_col1"]
-                                    Merge Join Operator [MERGEJOIN_160] (rows=2640/1056 width=178)
+                                    Merge Join Operator [MERGEJOIN_187] (rows=2640/1056 width=178)
                                       Conds:RS_55._col1=RS_56._col1(Inner),Output:["_col0","_col3"]
                                     <-Reducer 11 [SIMPLE_EDGE] llap
                                       SHUFFLE [RS_55]
                                         PartitionCols:_col1
-                                        Merge Join Operator [MERGEJOIN_157] (rows=791/1028 width=269)
+                                        Merge Join Operator [MERGEJOIN_175] (rows=791/1028 width=269)
                                           Conds:RS_52._col0=RS_53._col0(Inner),Output:["_col0","_col1","_col3"]
                                         <-Map 1 [SIMPLE_EDGE] llap
                                           SHUFFLE [RS_52]
                                             PartitionCols:_col0
                                             Select Operator [SEL_27] (rows=500/500 width=178)
                                               Output:["_col0","_col1"]
-                                              Filter Operator [FIL_145] (rows=500/500 width=178)
+                                              Filter Operator [FIL_163] (rows=500/500 width=178)
                                                 predicate:(key is not null and value is not null)
                                                 TableScan [TS_0] (rows=500/500 width=178)
                                                   default@src,y,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
@@ -1627,7 +1627,7 @@ Stage-5
                                             PartitionCols:_col0
                                             Select Operator [SEL_30] (rows=500/500 width=178)
                                               Output:["_col0","_col1"]
-                                              Filter Operator [FIL_146] (rows=500/500 width=178)
+                                              Filter Operator [FIL_164] (rows=500/500 width=178)
                                                 predicate:key is not null
                                                 TableScan [TS_28] (rows=500/500 width=178)
                                                   default@src,y,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
@@ -1640,46 +1640,46 @@ Stage-5
                                             Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                                           <-Union 24 [SIMPLE_EDGE]
                                             <-Map 27 [CONTAINS] llap
-                                              Reduce Output Operator [RS_49]
+                                              Reduce Output Operator [RS_223]
                                                 PartitionCols:_col1, _col0
-                                                Select Operator [SEL_45] (rows=500/500 width=178)
+                                                Select Operator [SEL_221] (rows=500/500 width=178)
                                                   Output:["_col0","_col1"]
-                                                  Filter Operator [FIL_149] (rows=500/500 width=178)
+                                                  Filter Operator [FIL_220] (rows=500/500 width=178)
                                                     predicate:value is not null
-                                                    TableScan [TS_43] (rows=500/500 width=178)
+                                                    TableScan [TS_219] (rows=500/500 width=178)
                                                       Output:["key","value"]
                                             <-Reducer 23 [CONTAINS] llap
-                                              Reduce Output Operator [RS_49]
+                                              Reduce Output Operator [RS_213]
                                                 PartitionCols:_col1, _col0
-                                                Select Operator [SEL_42] (rows=525/319 width=178)
+                                                Select Operator [SEL_211] (rows=525/319 width=178)
                                                   Output:["_col0","_col1"]
-                                                  Group By Operator [GBY_41] (rows=525/319 width=178)
+                                                  Group By Operator [GBY_210] (rows=525/319 width=178)
                                                     Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                                                   <-Union 22 [SIMPLE_EDGE]
                                                     <-Map 21 [CONTAINS] llap
-                                                      Reduce Output Operator [RS_40]
+                                                      Reduce Output Operator [RS_209]
                                                         PartitionCols:_col1, _col0
-                                                        Select Operator [SEL_33] (rows=25/25 width=175)
+                                                        Select Operator [SEL_207] (rows=25/25 width=175)
                                                           Output:["_col0","_col1"]
-                                                          Filter Operator [FIL_147] (rows=25/25 width=175)
+                                                          Filter Operator [FIL_206] (rows=25/25 width=175)
                                                             predicate:value is not null
-                                                            TableScan [TS_31] (rows=25/25 width=175)
+                                                            TableScan [TS_205] (rows=25/25 width=175)
                                                               Output:["key","value"]
                                                     <-Map 26 [CONTAINS] llap
-                                                      Reduce Output Operator [RS_40]
+                                                      Reduce Output Operator [RS_218]
                                                         PartitionCols:_col1, _col0
-                                                        Select Operator [SEL_36] (rows=500/500 width=178)
+                                                        Select Operator [SEL_216] (rows=500/500 width=178)
                                                           Output:["_col0","_col1"]
-                                                          Filter Operator [FIL_148] (rows=500/500 width=178)
+                                                          Filter Operator [FIL_215] (rows=500/500 width=178)
                                                             predicate:value is not null
-                                                            TableScan [TS_34] (rows=500/500 width=178)
+                                                            TableScan [TS_214] (rows=500/500 width=178)
                                                               Output:["key","value"]
                               <-Reducer 3 [CONTAINS] llap
-                                Reduce Output Operator [RS_62]
+                                Reduce Output Operator [RS_183]
                                   PartitionCols:_col0, _col1
-                                  Select Operator [SEL_24] (rows=66/61 width=177)
+                                  Select Operator [SEL_181] (rows=66/61 width=177)
                                     Output:["_col0","_col1"]
-                                    Merge Join Operator [MERGEJOIN_159] (rows=66/61 width=177)
+                                    Merge Join Operator [MERGEJOIN_180] (rows=66/61 width=177)
                                       Conds:RS_21._col3=RS_22._col1(Inner),Output:["_col1","_col2"]
                                     <-Reducer 18 [SIMPLE_EDGE] llap
                                       SHUFFLE [RS_22]
@@ -1690,34 +1690,34 @@ Stage-5
                                             Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                                           <-Union 17 [SIMPLE_EDGE]
                                             <-Map 16 [CONTAINS] llap
-                                              Reduce Output Operator [RS_15]
+                                              Reduce Output Operator [RS_199]
                                                 PartitionCols:_col1, _col0
-                                                Select Operator [SEL_8] (rows=25/25 width=175)
+                                                Select Operator [SEL_197] (rows=25/25 width=175)
                                                   Output:["_col0","_col1"]
-                                                  Filter Operator [FIL_143] (rows=25/25 width=175)
+                                                  Filter Operator [FIL_196] (rows=25/25 width=175)
                                                     predicate:value is not null
-                                                    TableScan [TS_6] (rows=25/25 width=175)
+                                                    TableScan [TS_195] (rows=25/25 width=175)
                                                       Output:["key","value"]
                                             <-Map 19 [CONTAINS] llap
-                                              Reduce Output Operator [RS_15]
+                                              Reduce Output Operator [RS_204]
                                                 PartitionCols:_col1, _col0
-                                                Select Operator [SEL_11] (rows=500/500 width=178)
+                                                Select Operator [SEL_202] (rows=500/500 width=178)
                                                   Output:["_col0","_col1"]
-                                                  Filter Operator [FIL_144] (rows=500/500 width=178)
+                                                  Filter Operator [FIL_201] (rows=500/500 width=178)
                                                     predicate:value is not null
-                                                    TableScan [TS_9] (rows=500/500 width=178)
+                                                    TableScan [TS_200] (rows=500/500 width=178)
                                                       Output:["key","value"]
                                     <-Reducer 2 [SIMPLE_EDGE] llap
                                       SHUFFLE [RS_21]
                                         PartitionCols:_col3
-                                        Merge Join Operator [MERGEJOIN_156] (rows=39/37 width=266)
+                                        Merge Join Operator [MERGEJOIN_174] (rows=39/37 width=266)
                                           Conds:RS_18._col0=RS_19._col0(Inner),Output:["_col1","_col2","_col3"]
                                         <-Map 1 [SIMPLE_EDGE] llap
                                           SHUFFLE [RS_18]
                                             PartitionCols:_col0
                                             Select Operator [SEL_2] (rows=500/500 width=178)
                                               Output:["_col0","_col1"]
-                                              Filter Operator [FIL_141] (rows=500/500 width=178)
+                                              Filter Operator [FIL_159] (rows=500/500 width=178)
                                                 predicate:key is not null
                                                  Please refer to the previous TableScan [TS_0]
                                         <-Map 13 [SIMPLE_EDGE] llap
@@ -1725,21 +1725,21 @@ Stage-5
                                             PartitionCols:_col0
                                              Please refer to the previous Select Operator [SEL_5]
               Reducer 8 llap
-              File Output Operator [FS_5]
-                Group By Operator [GBY_3] (rows=1/1 width=880)
+              File Output Operator [FS_121]
+                Group By Operator [GBY_119] (rows=1/1 width=880)
                   Output:["_col0","_col1"],aggregations:["compute_stats(VALUE._col0, 'hll')","compute_stats(VALUE._col2, 'hll')"]
                 <-Reducer 7 [CUSTOM_SIMPLE_EDGE] llap
-                  PARTITION_ONLY_SHUFFLE [RS_2]
-                    Select Operator [SEL_1] (rows=2899/319 width=178)
+                  PARTITION_ONLY_SHUFFLE [RS_118]
+                    Select Operator [SEL_117] (rows=2899/319 width=178)
                       Output:["key","value"]
                        Please refer to the previous Group By Operator [GBY_112]
               Reducer 9 llap
-              File Output Operator [FS_5]
-                Group By Operator [GBY_3] (rows=1/1 width=880)
+              File Output Operator [FS_129]
+                Group By Operator [GBY_127] (rows=1/1 width=880)
                   Output:["_col0","_col1"],aggregations:["compute_stats(VALUE._col0, 'hll')","compute_stats(VALUE._col2, 'hll')"]
                 <-Reducer 7 [CUSTOM_SIMPLE_EDGE] llap
-                  PARTITION_ONLY_SHUFFLE [RS_2]
-                    Select Operator [SEL_1] (rows=2899/319 width=178)
+                  PARTITION_ONLY_SHUFFLE [RS_126]
+                    Select Operator [SEL_125] (rows=2899/319 width=178)
                       Output:["key","value"]
                        Please refer to the previous Group By Operator [GBY_112]
 Stage-6
@@ -1822,8 +1822,8 @@ Stage-4
           Dependency Collection{}
             Stage-2
               Reducer 6 llap
-              File Output Operator [FS_5]
-                Group By Operator [GBY_3] (rows=1/2 width=880)
+              File Output Operator [FS_24]
+                Group By Operator [GBY_22] (rows=1/1 width=880)
                   Output:["_col0","_col1"],aggregations:["compute_stats(VALUE._col0, 'hll')","compute_stats(VALUE._col2, 'hll')"]
                 <-Reducer 5 [CUSTOM_SIMPLE_EDGE] llap
                   File Output Operator [FS_18]
@@ -1839,39 +1839,39 @@ Stage-4
                             Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                           <-Union 3 [SIMPLE_EDGE]
                             <-Map 8 [CONTAINS] llap
-                              Reduce Output Operator [RS_10]
+                              Reduce Output Operator [RS_44]
                                 PartitionCols:_col0, _col1
-                                Select Operator [SEL_6] (rows=500/500 width=178)
+                                Select Operator [SEL_42] (rows=500/500 width=178)
                                   Output:["_col0","_col1"]
-                                  TableScan [TS_5] (rows=500/500 width=178)
+                                  TableScan [TS_41] (rows=500/500 width=178)
                                     Output:["key","value"]
                             <-Reducer 2 [CONTAINS] llap
-                              Reduce Output Operator [RS_10]
+                              Reduce Output Operator [RS_40]
                                 PartitionCols:_col0, _col1
-                                Select Operator [SEL_4] (rows=1/1 width=272)
+                                Select Operator [SEL_38] (rows=1/1 width=272)
                                   Output:["_col0","_col1"]
-                                  Group By Operator [GBY_3] (rows=1/2 width=8)
+                                  Group By Operator [GBY_37] (rows=1/1 width=8)
                                     Output:["_col0"],aggregations:["count()"]
                                   <-Map 1 [CUSTOM_SIMPLE_EDGE] llap
                                     PARTITION_ONLY_SHUFFLE [RS_2]
-                                      Select Operator [SEL_1] (rows=500/310 width=10)
+                                      Select Operator [SEL_1] (rows=500/500 width=10)
                                         TableScan [TS_0] (rows=500/500 width=10)
                                           default@src,s1,Tbl:COMPLETE,Col:COMPLETE
-                  PARTITION_ONLY_SHUFFLE [RS_2]
-                    Select Operator [SEL_1] (rows=316/310 width=272)
+                  PARTITION_ONLY_SHUFFLE [RS_21]
+                    Select Operator [SEL_20] (rows=316/310 width=272)
                       Output:["key","value"]
                        Please refer to the previous Select Operator [SEL_16]
               Reducer 7 llap
-              File Output Operator [FS_5]
-                Group By Operator [GBY_3] (rows=1/2 width=1320)
+              File Output Operator [FS_36]
+                Group By Operator [GBY_34] (rows=1/1 width=1320)
                   Output:["_col0","_col1","_col2"],aggregations:["compute_stats(VALUE._col0, 'hll')","compute_stats(VALUE._col2, 'hll')","compute_stats(VALUE._col3, 'hll')"]
                 <-Reducer 4 [CUSTOM_SIMPLE_EDGE] llap
-                  PARTITION_ONLY_SHUFFLE [RS_2]
-                    Select Operator [SEL_1] (rows=501/310 width=456)
+                  PARTITION_ONLY_SHUFFLE [RS_33]
+                    Select Operator [SEL_32] (rows=501/310 width=456)
                       Output:["key","val1","val2"]
-                      Select Operator [SEL_22] (rows=501/310 width=456)
+                      Select Operator [SEL_28] (rows=501/310 width=456)
                         Output:["_col0","_col1","_col2"]
-                        Group By Operator [GBY_21] (rows=501/310 width=280)
+                        Group By Operator [GBY_27] (rows=501/310 width=280)
                           Output:["_col0","_col1","_col2"],aggregations:["count(DISTINCT substr(_col1, 5))"],keys:_col0, _col1
                            Please refer to the previous Group By Operator [GBY_11]
 Stage-5
@@ -2012,8 +2012,8 @@ Stage-4
           Dependency Collection{}
             Stage-2
               Reducer 5 llap
-              File Output Operator [FS_5]
-                Group By Operator [GBY_3] (rows=1/2 width=880)
+              File Output Operator [FS_22]
+                Group By Operator [GBY_20] (rows=1/1 width=880)
                   Output:["_col0","_col1"],aggregations:["compute_stats(VALUE._col0, 'hll')","compute_stats(VALUE._col2, 'hll')"]
                 <-Reducer 4 [CUSTOM_SIMPLE_EDGE] llap
                   File Output Operator [FS_16]
@@ -2024,60 +2024,60 @@ Stage-4
                         Output:["_col0","_col1"],aggregations:["count(DISTINCT KEY._col1:0._col0)"],keys:KEY._col0
                       <-Union 3 [SIMPLE_EDGE]
                         <-Map 8 [CONTAINS] llap
-                          Reduce Output Operator [RS_12]
+                          Reduce Output Operator [RS_43]
                             PartitionCols:_col0
-                            Select Operator [SEL_6] (rows=500/500 width=178)
+                            Select Operator [SEL_41] (rows=500/500 width=178)
                               Output:["_col0","_col1"]
-                              TableScan [TS_5] (rows=500/500 width=178)
+                              TableScan [TS_40] (rows=500/500 width=178)
                                 Output:["key","value"]
-                          Reduce Output Operator [RS_18]
+                          Reduce Output Operator [RS_44]
                             PartitionCols:_col0, _col1
-                             Please refer to the previous Select Operator [SEL_6]
+                             Please refer to the previous Select Operator [SEL_41]
                         <-Map 9 [CONTAINS] llap
-                          Reduce Output Operator [RS_12]
+                          Reduce Output Operator [RS_48]
                             PartitionCols:_col0
-                            Select Operator [SEL_9] (rows=500/500 width=178)
+                            Select Operator [SEL_46] (rows=500/500 width=178)
                               Output:["_col0","_col1"]
-                              TableScan [TS_8] (rows=500/500 width=178)
+                              TableScan [TS_45] (rows=500/500 width=178)
                                 Output:["key","value"]
-                          Reduce Output Operator [RS_18]
+                          Reduce Output Operator [RS_49]
                             PartitionCols:_col0, _col1
-                             Please refer to the previous Select Operator [SEL_9]
+                             Please refer to the previous Select Operator [SEL_46]
                         <-Reducer 2 [CONTAINS] llap
-                          Reduce Output Operator [RS_12]
+                          Reduce Output Operator [RS_38]
                             PartitionCols:_col0
-                            Select Operator [SEL_4] (rows=1/1 width=272)
+                            Select Operator [SEL_36] (rows=1/1 width=272)
                               Output:["_col0","_col1"]
-                              Group By Operator [GBY_3] (rows=1/2 width=8)
+                              Group By Operator [GBY_35] (rows=1/1 width=8)
                                 Output:["_col0"],aggregations:["count()"]
                               <-Map 1 [CUSTOM_SIMPLE_EDGE] llap
                                 PARTITION_ONLY_SHUFFLE [RS_2]
-                                  Select Operator [SEL_1] (rows=500/310 width=10)
+                                  Select Operator [SEL_1] (rows=500/500 width=10)
                                     TableScan [TS_0] (rows=500/500 width=10)
                                       default@src,s1,Tbl:COMPLETE,Col:COMPLETE
-                          Reduce Output Operator [RS_18]
+                          Reduce Output Operator [RS_39]
                             PartitionCols:_col0, _col1
-                             Please refer to the previous Select Operator [SEL_4]
-                  PARTITION_ONLY_SHUFFLE [RS_2]
-                    Select Operator [SEL_1] (rows=316/310 width=272)
+                             Please refer to the previous Select Operator [SEL_36]
+                  PARTITION_ONLY_SHUFFLE [RS_19]
+                    Select Operator [SEL_18] (rows=316/310 width=272)
                       Output:["key","value"]
                        Please refer to the previous Select Operator [SEL_14]
               Reducer 7 llap
-              File Output Operator [FS_5]
-                Group By Operator [GBY_3] (rows=1/2 width=1320)
+              File Output Operator [FS_34]
+                Group By Operator [GBY_32] (rows=1/1 width=1320)
                   Output:["_col0","_col1","_col2"],aggregations:["compute_stats(VALUE._col0, 'hll')","compute_stats(VALUE._col2, 'hll')","compute_stats(VALUE._col3, 'hll')"]
                 <-Reducer 6 [CUSTOM_SIMPLE_EDGE] llap
-                  File Output Operator [FS_22]
+                  File Output Operator [FS_28]
                     table:{"name:":"default.dest2_n29"}
-                    Select Operator [SEL_20] (rows=1001/310 width=456)
+                    Select Operator [SEL_26] (rows=1001/310 width=456)
                       Output:["_col0","_col1","_col2"]
-                      Group By Operator [GBY_19] (rows=1001/310 width=280)
+                      Group By Operator [GBY_25] (rows=1001/310 width=280)
                         Output:["_col0","_col1","_col2"],aggregations:["count(DISTINCT KEY._col2:0._col0)"],keys:KEY._col0, KEY._col1
                       <- Please refer to the previous Union 3 [SIMPLE_EDGE]
-                  PARTITION_ONLY_SHUFFLE [RS_2]
-                    Select Operator [SEL_1] (rows=1001/310 width=456)
+                  PARTITION_ONLY_SHUFFLE [RS_31]
+                    Select Operator [SEL_30] (rows=1001/310 width=456)
                       Output:["key","val1","val2"]
-                       Please refer to the previous Select Operator [SEL_20]
+                       Please refer to the previous Select Operator [SEL_26]
 Stage-5
   Stats Work{}
     Stage-1
@@ -2148,8 +2148,8 @@ Stage-4
           Dependency Collection{}
             Stage-2
               Reducer 5 llap
-              File Output Operator [FS_5]
-                Group By Operator [GBY_3] (rows=1/2 width=880)
+              File Output Operator [FS_20]
+                Group By Operator [GBY_18] (rows=1/1 width=880)
                   Output:["_col0","_col1"],aggregations:["compute_stats(VALUE._col0, 'hll')","compute_stats(VALUE._col2, 'hll')"]
                 <-Reducer 4 [CUSTOM_SIMPLE_EDGE] llap
                   File Output Operator [FS_14]
@@ -2160,50 +2160,50 @@ Stage-4
                         Output:["_col0","_col1"],aggregations:["count(DISTINCT KEY._col1:0._col0)"],keys:KEY._col0
                       <-Union 3 [SIMPLE_EDGE]
                         <-Map 8 [CONTAINS] llap
-                          Reduce Output Operator [RS_10]
+                          Reduce Output Operator [RS_41]
                             PartitionCols:_col0
-                            Select Operator [SEL_6] (rows=500/500 width=178)
+                            Select Operator [SEL_39] (rows=500/500 width=178)
                               Output:["_col0","_col1"]
-                              TableScan [TS_5] (rows=500/500 width=178)
+                              TableScan [TS_38] (rows=500/500 width=178)
                                 Output:["key","value"]
-                          Reduce Output Operator [RS_16]
+                          Reduce Output Operator [RS_42]
                             PartitionCols:_col0, _col1
-                             Please refer to the previous Select Operator [SEL_6]
+                             Please refer to the previous Select Operator [SEL_39]
                         <-Reducer 2 [CONTAINS] llap
-                          Reduce Output Operator [RS_10]
+                          Reduce Output Operator [RS_36]
                             PartitionCols:_col0
-                            Select Operator [SEL_4] (rows=1/1 width=272)
+                            Select Operator [SEL_34] (rows=1/1 width=272)
                               Output:["_col0","_col1"]
-                              Group By Operator [GBY_3] (rows=1/2 width=8)
+                              Group By Operator [GBY_33] (rows=1/1 width=8)
                                 Output:["_col0"],aggregations:["count()"]
                               <-Map 1 [CUSTOM_SIMPLE_EDGE] llap
                                 PARTITION_ONLY_SHUFFLE [RS_2]
-                                  Select Operator [SEL_1] (rows=500/310 width=10)
+                                  Select Operator [SEL_1] (rows=500/500 width=10)
                                     TableScan [TS_0] (rows=500/500 width=10)
                                       default@src,s1,Tbl:COMPLETE,Col:COMPLETE
-                          Reduce Output Operator [RS_16]
+                          Reduce Output Operator [RS_37]
                             PartitionCols:_col0, _col1
-                             Please refer to the previous Select Operator [SEL_4]
-                  PARTITION_ONLY_SHUFFLE [RS_2]
-                    Select Operator [SEL_1] (rows=316/310 width=272)
+                             Please refer to the previous Select Operator [SEL_34]
+                  PARTITION_ONLY_SHUFFLE [RS_17]
+                    Select Operator [SEL_16] (rows=316/310 width=272)
                       Output:["key","value"]
                        Please refer to the previous Select Operator [SEL_12]
               Reducer 7 llap
-              File Output Operator [FS_5]
-                Group By Operator [GBY_3] (rows=1/2 width=1320)
+              File Output Operator [FS_32]
+                Group By Operator [GBY_30] (rows=1/1 width=1320)
                   Output:["_col0","_col1","_col2"],aggregations:["compute_stats(VALUE._col0, 'hll')","compute_stats(VALUE._col2, 'hll')","compute_stats(VALUE._col3, 'hll')"]
                 <-Reducer 6 [CUSTOM_SIMPLE_EDGE] llap
-                  File Output Operator [FS_20]
+                  File Output Operator [FS_26]
                     table:{"name:":"default.dest2_n29"}
-                    Select Operator [SEL_18] (rows=501/310 width=456)
+                    Select Operator [SEL_24] (rows=501/310 width=456)
                       Output:["_col0","_col1","_col2"]
-                      Group By Operator [GBY_17] (rows=501/310 width=280)
+                      Group By Operator [GBY_23] (rows=501/310 width=280)
                         Output:["_col0","_col1","_col2"],aggregations:["count(DISTINCT KEY._col2:0._col0)"],keys:KEY._col0, KEY._col1
                       <- Please refer to the previous Union 3 [SIMPLE_EDGE]
-                  PARTITION_ONLY_SHUFFLE [RS_2]
-                    Select Operator [SEL_1] (rows=501/310 width=456)
+                  PARTITION_ONLY_SHUFFLE [RS_29]
+                    Select Operator [SEL_28] (rows=501/310 width=456)
                       Output:["key","val1","val2"]
-                       Please refer to the previous Select Operator [SEL_18]
+                       Please refer to the previous Select Operator [SEL_24]
 Stage-5
   Stats Work{}
     Stage-1