FAQ
Repository: hive
Updated Branches:
   refs/heads/branch-1.2 387890a96 -> 82335bf51


http://git-wip-us.apache.org/repos/asf/hive/blob/82335bf5/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out b/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out
index b54f496..1080bf4 100644
--- a/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out
+++ b/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out
@@ -85,17 +85,17 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: a
- Statistics: Num rows: 154 Data size: 616 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 3 Data size: 12 Basic stats: COMPLETE Column stats: NONE
                    Filter Operator
                      predicate: (rn < 100) (type: boolean)
- Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                      Select Operator
                        expressions: rn (type: int)
                        outputColumnNames: _col0
- Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                        File Output Operator
                          compressed: false
- Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                          table:
                              input format: org.apache.hadoop.mapred.TextInputFormat
                              output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -103,14 +103,14 @@ STAGE PLANS:
                              name: default.orc_rn1
                    Filter Operator
                      predicate: ((rn >= 100) and (rn < 1000)) (type: boolean)
- Statistics: Num rows: 17 Data size: 68 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                      Select Operator
                        expressions: rn (type: int)
                        outputColumnNames: _col0
- Statistics: Num rows: 17 Data size: 68 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                        File Output Operator
                          compressed: false
- Statistics: Num rows: 17 Data size: 68 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                          table:
                              input format: org.apache.hadoop.mapred.TextInputFormat
                              output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -118,14 +118,14 @@ STAGE PLANS:
                              name: default.orc_rn2
                    Filter Operator
                      predicate: (rn >= 1000) (type: boolean)
- Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                      Select Operator
                        expressions: rn (type: int)
                        outputColumnNames: _col0
- Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                        File Output Operator
                          compressed: false
- Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                          table:
                              input format: org.apache.hadoop.mapred.TextInputFormat
                              output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat

http://git-wip-us.apache.org/repos/asf/hive/blob/82335bf5/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out b/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out
index a2f4458..4101c35 100644
--- a/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out
+++ b/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out
@@ -111,11 +111,11 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: ctinyint (type: tinyint), csmallint (type: smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), cdouble (type: double), cstring1 (type: string), cstring2 (type: string), ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: boolean), cboolean2 (type: boolean)
                      outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
- Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                      Map Join Operator
                        condition map:
                             Left Outer Join0 to 1
@@ -125,11 +125,11 @@ STAGE PLANS:
                        outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col20, _col21, _col22, _col23
                        input vertices:
                          1 Map 2
- Statistics: Num rows: 14 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                        HybridGraceHashJoin: true
                        File Output Operator
                          compressed: false
- Statistics: Num rows: 14 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                          table:
                              input format: org.apache.hadoop.mapred.TextInputFormat
                              output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -139,16 +139,16 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: ctinyint (type: tinyint), csmallint (type: smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), cdouble (type: double), cstring1 (type: string), cstring2 (type: string), ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: boolean), cboolean2 (type: boolean)
                      outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
- Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col2 (type: int)
                        sort order: +
                        Map-reduce partition columns: _col2 (type: int)
- Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        value expressions: _col0 (type: tinyint), _col1 (type: smallint), _col3 (type: bigint), _col4 (type: float), _col5 (type: double), _col6 (type: string), _col7 (type: string), _col8 (type: timestamp), _col9 (type: timestamp), _col10 (type: boolean), _col11 (type: boolean)
              Execution mode: vectorized

@@ -218,11 +218,11 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: ctinyint (type: tinyint)
                      outputColumnNames: _col0
- Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                      Map Join Operator
                        condition map:
                             Left Outer Join0 to 1
@@ -232,11 +232,11 @@ STAGE PLANS:
                        outputColumnNames: _col0
                        input vertices:
                          1 Map 2
- Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                        HybridGraceHashJoin: true
                        File Output Operator
                          compressed: false
- Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                          table:
                              input format: org.apache.hadoop.mapred.TextInputFormat
                              output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -246,16 +246,16 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: ctinyint (type: tinyint)
                      outputColumnNames: _col0
- Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: tinyint)
                        sort order: +
                        Map-reduce partition columns: _col0 (type: tinyint)
- Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
              Execution mode: vectorized

    Stage: Stage-0
@@ -357,11 +357,11 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: ctinyint (type: tinyint), cint (type: int)
                      outputColumnNames: _col0, _col1
- Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                      Map Join Operator
                        condition map:
                             Left Outer Join0 to 1
@@ -371,7 +371,7 @@ STAGE PLANS:
                        outputColumnNames: _col0
                        input vertices:
                          1 Map 3
- Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                        HybridGraceHashJoin: true
                        Map Join Operator
                          condition map:
@@ -382,7 +382,7 @@ STAGE PLANS:
                          outputColumnNames: _col0
                          input vertices:
                            1 Map 4
- Statistics: Num rows: 1263 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                          HybridGraceHashJoin: true
                          Group By Operator
                            aggregations: count(), sum(_col0)
@@ -398,31 +398,31 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: cint (type: int)
                      outputColumnNames: _col0
- Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
                        Map-reduce partition columns: _col0 (type: int)
- Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
              Execution mode: vectorized
          Map 4
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: ctinyint (type: tinyint)
                      outputColumnNames: _col0
- Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: tinyint)
                        sort order: +
                        Map-reduce partition columns: _col0 (type: tinyint)
- Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
              Execution mode: vectorized
          Reducer 2
              Reduce Operator Tree:

http://git-wip-us.apache.org/repos/asf/hive/blob/82335bf5/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out b/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out
index 8c8f54e..b8e18e0 100644
--- a/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out
+++ b/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out
@@ -118,11 +118,11 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 348 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: cint (type: int), cbigint (type: bigint)
                      outputColumnNames: _col0, _col1
- Statistics: Num rows: 348 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                      Map Join Operator
                        condition map:
                             Left Outer Join0 to 1
@@ -132,7 +132,7 @@ STAGE PLANS:
                        outputColumnNames: _col1
                        input vertices:
                          1 Map 3
- Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                        HybridGraceHashJoin: true
                        Map Join Operator
                          condition map:
@@ -143,12 +143,12 @@ STAGE PLANS:
                          outputColumnNames: _col1
                          input vertices:
                            1 Map 4
- Statistics: Num rows: 1263 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                          HybridGraceHashJoin: true
                          Select Operator
                            expressions: _col1 (type: bigint)
                            outputColumnNames: _col0
- Statistics: Num rows: 1263 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                            Group By Operator
                              aggregations: count(), sum(_col0)
                              mode: hash
@@ -163,31 +163,31 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: cint (type: int)
                      outputColumnNames: _col0
- Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
                        Map-reduce partition columns: _col0 (type: int)
- Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
              Execution mode: vectorized
          Map 4
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: cbigint (type: bigint)
                      outputColumnNames: _col0
- Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: bigint)
                        sort order: +
                        Map-reduce partition columns: _col0 (type: bigint)
- Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
              Execution mode: vectorized
          Reducer 2
              Reduce Operator Tree:

http://git-wip-us.apache.org/repos/asf/hive/blob/82335bf5/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out b/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out
index fa47a03..b5619a0 100644
--- a/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out
+++ b/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out
@@ -118,11 +118,11 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: cint (type: int), cstring1 (type: string)
                      outputColumnNames: _col0, _col1
- Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                      Map Join Operator
                        condition map:
                             Left Outer Join0 to 1
@@ -132,7 +132,7 @@ STAGE PLANS:
                        outputColumnNames: _col1
                        input vertices:
                          1 Map 3
- Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                        HybridGraceHashJoin: true
                        Map Join Operator
                          condition map:
@@ -142,7 +142,7 @@ STAGE PLANS:
                            1 _col0 (type: string)
                          input vertices:
                            1 Map 4
- Statistics: Num rows: 1263 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                          HybridGraceHashJoin: true
                          Group By Operator
                            aggregations: count()
@@ -158,31 +158,31 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: cint (type: int)
                      outputColumnNames: _col0
- Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
                        Map-reduce partition columns: _col0 (type: int)
- Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
              Execution mode: vectorized
          Map 4
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: cstring1 (type: string)
                      outputColumnNames: _col0
- Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: string)
                        sort order: +
                        Map-reduce partition columns: _col0 (type: string)
- Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
              Execution mode: vectorized
          Reducer 2
              Reduce Operator Tree:
@@ -265,11 +265,11 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 20 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: cstring1 (type: string), cstring2 (type: string)
                      outputColumnNames: _col0, _col1
- Statistics: Num rows: 20 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                      Map Join Operator
                        condition map:
                             Left Outer Join0 to 1
@@ -279,7 +279,7 @@ STAGE PLANS:
                        outputColumnNames: _col0
                        input vertices:
                          1 Map 3
- Statistics: Num rows: 45 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                        HybridGraceHashJoin: true
                        Map Join Operator
                          condition map:
@@ -289,7 +289,7 @@ STAGE PLANS:
                            1 _col0 (type: string)
                          input vertices:
                            1 Map 4
- Statistics: Num rows: 49 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                          HybridGraceHashJoin: true
                          Group By Operator
                            aggregations: count()
@@ -305,31 +305,31 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: cstring2 (type: string)
                      outputColumnNames: _col0
- Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: string)
                        sort order: +
                        Map-reduce partition columns: _col0 (type: string)
- Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
              Execution mode: vectorized
          Map 4
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: cstring1 (type: string)
                      outputColumnNames: _col0
- Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: string)
                        sort order: +
                        Map-reduce partition columns: _col0 (type: string)
- Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
              Execution mode: vectorized
          Reducer 2
              Reduce Operator Tree:
@@ -412,11 +412,11 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 19 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: cint (type: int), cbigint (type: bigint), cstring1 (type: string), cstring2 (type: string)
                      outputColumnNames: _col0, _col1, _col2, _col3
- Statistics: Num rows: 19 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                      Map Join Operator
                        condition map:
                             Left Outer Join0 to 1
@@ -426,7 +426,7 @@ STAGE PLANS:
                        outputColumnNames: _col0, _col2
                        input vertices:
                          1 Map 3
- Statistics: Num rows: 41 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                        HybridGraceHashJoin: true
                        Map Join Operator
                          condition map:
@@ -436,7 +436,7 @@ STAGE PLANS:
                            1 _col1 (type: string), _col0 (type: int)
                          input vertices:
                            1 Map 4
- Statistics: Num rows: 45 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                          HybridGraceHashJoin: true
                          Group By Operator
                            aggregations: count()
@@ -452,31 +452,31 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 38 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: cbigint (type: bigint), cstring2 (type: string)
                      outputColumnNames: _col0, _col1
- Statistics: Num rows: 38 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col1 (type: string), _col0 (type: bigint)
                        sort order: ++
                        Map-reduce partition columns: _col1 (type: string), _col0 (type: bigint)
- Statistics: Num rows: 38 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
              Execution mode: vectorized
          Map 4
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: cint (type: int), cstring1 (type: string)
                      outputColumnNames: _col0, _col1
- Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col1 (type: string), _col0 (type: int)
                        sort order: ++
                        Map-reduce partition columns: _col1 (type: string), _col0 (type: int)
- Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
              Execution mode: vectorized
          Reducer 2
              Reduce Operator Tree:

http://git-wip-us.apache.org/repos/asf/hive/blob/82335bf5/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out b/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out
index a73cd06..2c9a9cd 100644
--- a/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out
+++ b/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out
@@ -111,11 +111,11 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: ctinyint (type: tinyint), csmallint (type: smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), cdouble (type: double), cstring1 (type: string), cstring2 (type: string), ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: boolean), cboolean2 (type: boolean)
                      outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
- Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                      Map Join Operator
                        condition map:
                             Left Outer Join0 to 1
@@ -125,11 +125,11 @@ STAGE PLANS:
                        outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col20, _col21, _col22, _col23
                        input vertices:
                          1 Map 2
- Statistics: Num rows: 13 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                        HybridGraceHashJoin: true
                        File Output Operator
                          compressed: false
- Statistics: Num rows: 13 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                          table:
                              input format: org.apache.hadoop.mapred.TextInputFormat
                              output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -139,16 +139,16 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: ctinyint (type: tinyint), csmallint (type: smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), cdouble (type: double), cstring1 (type: string), cstring2 (type: string), ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: boolean), cboolean2 (type: boolean)
                      outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
- Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col2 (type: int)
                        sort order: +
                        Map-reduce partition columns: _col2 (type: int)
- Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        value expressions: _col0 (type: tinyint), _col1 (type: smallint), _col3 (type: bigint), _col4 (type: float), _col5 (type: double), _col6 (type: string), _col7 (type: string), _col8 (type: timestamp), _col9 (type: timestamp), _col10 (type: boolean), _col11 (type: boolean)
              Execution mode: vectorized

@@ -613,11 +613,11 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: ctinyint (type: tinyint)
                      outputColumnNames: _col0
- Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                      Map Join Operator
                        condition map:
                             Left Outer Join0 to 1
@@ -627,11 +627,11 @@ STAGE PLANS:
                        outputColumnNames: _col0
                        input vertices:
                          1 Map 2
- Statistics: Num rows: 1095 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                        HybridGraceHashJoin: true
                        File Output Operator
                          compressed: false
- Statistics: Num rows: 1095 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                          table:
                              input format: org.apache.hadoop.mapred.TextInputFormat
                              output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -641,16 +641,16 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: ctinyint (type: tinyint)
                      outputColumnNames: _col0
- Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: tinyint)
                        sort order: +
                        Map-reduce partition columns: _col0 (type: tinyint)
- Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
              Execution mode: vectorized

    Stage: Stage-0
@@ -749,11 +749,11 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 498 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: ctinyint (type: tinyint), cint (type: int)
                      outputColumnNames: _col0, _col1
- Statistics: Num rows: 498 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                      Map Join Operator
                        condition map:
                             Left Outer Join0 to 1
@@ -763,7 +763,7 @@ STAGE PLANS:
                        outputColumnNames: _col0
                        input vertices:
                          1 Map 3
- Statistics: Num rows: 1095 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                        HybridGraceHashJoin: true
                        Map Join Operator
                          condition map:
@@ -773,7 +773,7 @@ STAGE PLANS:
                            1 _col0 (type: tinyint)
                          input vertices:
                            1 Map 4
- Statistics: Num rows: 1204 Data size: 4823 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 36 Data size: 7165 Basic stats: COMPLETE Column stats: NONE
                          HybridGraceHashJoin: true
                          Group By Operator
                            aggregations: count()
@@ -789,31 +789,31 @@ STAGE PLANS:
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: cint (type: int)
                      outputColumnNames: _col0
- Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
                        Map-reduce partition columns: _col0 (type: int)
- Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
              Execution mode: vectorized
          Map 4
              Map Operator Tree:
                  TableScan
                    alias: c
- Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                    Select Operator
                      expressions: ctinyint (type: tinyint)
                      outputColumnNames: _col0
- Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: tinyint)
                        sort order: +
                        Map-reduce partition columns: _col0 (type: tinyint)
- Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
+ Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
              Execution mode: vectorized
          Reducer 2
              Reduce Operator Tree:

Search Discussions

  • Vgumashta at Jun 7, 2015 at 6:38 pm
    http://git-wip-us.apache.org/repos/asf/hive/blob/82335bf5/ql/src/test/results/clientpositive/tez/vector_leftsemi_mapjoin.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/vector_leftsemi_mapjoin.q.out b/ql/src/test/results/clientpositive/tez/vector_leftsemi_mapjoin.q.out
    index 9f40f9e..6e4971d 100644
    --- a/ql/src/test/results/clientpositive/tez/vector_leftsemi_mapjoin.q.out
    +++ b/ql/src/test/results/clientpositive/tez/vector_leftsemi_mapjoin.q.out
    @@ -435,42 +435,42 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                            Select Operator
                              expressions: _col1 (type: string)
                              outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: string)
                                sort order: +
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
                        alias: b
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key < 15) (type: boolean)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                          Group By Operator
                            keys: key (type: int), key (type: int)
                            mode: hash
                            outputColumnNames: _col0, _col1
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col1 (type: int)
                              sort order: +
                              Map-reduce partition columns: _col1 (type: int)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
              Reducer 2
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: string)
                      outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -616,24 +616,24 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: t3
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key > 5) (type: boolean)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int)
                            outputColumnNames: _col0
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                            Group By Operator
                              keys: _col0 (type: int)
                              mode: hash
                              outputColumnNames: _col0
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
                                Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
              Map 2
                  Map Operator Tree:
                      TableScan
    @@ -651,24 +651,24 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 1
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                            Select Operator
                              expressions: _col1 (type: string)
                              outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: string)
                                sort order: +
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: string)
                      outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -902,10 +902,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -915,11 +915,11 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col0 (type: int)
                              sort order: +
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -947,10 +947,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1121,15 +1121,15 @@ STAGE PLANS:
                            input vertices:
                              1 Map 3
                              2 Map 4
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                            Select Operator
                              expressions: _col0 (type: int), _col1 (type: string), _col5 (type: int), _col6 (type: string)
                              outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int), _col1 (type: string)
                                sort order: ++
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                                value expressions: _col2 (type: int), _col3 (type: string)
              Map 3
                  Map Operator Tree:
    @@ -1149,33 +1149,33 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int)
                            outputColumnNames: key
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                            Group By Operator
                              keys: key (type: int)
                              mode: hash
                              outputColumnNames: _col0
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
                                Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
              Reducer 2
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int), KEY.reducesinkkey1 (type: string), VALUE._col0 (type: int), VALUE._col1 (type: string)
                      outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1233,10 +1233,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key is not null and value is not null) (type: boolean)
    - Statistics: Num rows: 2 Data size: 238 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 558 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -1246,11 +1246,11 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col0 (type: int), _col1 (type: string)
                              sort order: ++
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -1278,10 +1278,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int), KEY.reducesinkkey1 (type: string)
                      outputColumnNames: _col0, _col1
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1337,10 +1337,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -1353,11 +1353,11 @@ STAGE PLANS:
                            input vertices:
                              1 Map 3
                              2 Map 4
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col0 (type: int)
                              sort order: +
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -1407,10 +1407,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1468,7 +1468,7 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Map Join Operator
                          condition map:
                               Left Outer Join0 to 1
    @@ -1481,11 +1481,11 @@ STAGE PLANS:
                          input vertices:
                            1 Map 3
                            2 Map 4
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -1520,10 +1520,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1603,12 +1603,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: b
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 5
                  Map Operator Tree:
                      TableScan
    @@ -1639,20 +1639,20 @@ STAGE PLANS:
                        1 key (type: int)
                        2 _col0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1725,12 +1725,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 4
                  Map Operator Tree:
                      TableScan
    @@ -1771,20 +1771,20 @@ STAGE PLANS:
                        1 _col0 (type: int)
                        2 key (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1857,12 +1857,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 4
                  Map Operator Tree:
                      TableScan
    @@ -1903,20 +1903,20 @@ STAGE PLANS:
                        1 _col0 (type: int)
                        2 key (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1991,12 +1991,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 4
                  Map Operator Tree:
                      TableScan
    @@ -2037,20 +2037,20 @@ STAGE PLANS:
                        1 _col0 (type: int)
                        2 key (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -2136,10 +2136,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 3 Data size: 358 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -2149,7 +2149,7 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                            Map Join Operator
                              condition map:
                                   Left Outer Join0 to 1
    @@ -2159,11 +2159,11 @@ STAGE PLANS:
                              outputColumnNames: _col0
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -2201,10 +2201,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -2282,14 +2282,14 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: ((key > 100) and value is not null) (type: boolean)
    - Statistics: Num rows: 1 Data size: 119 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int), value (type: string)
                            outputColumnNames: _col0, _col1
    - Statistics: Num rows: 1 Data size: 119 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: NONE
                            Map Join Operator
                              condition map:
                                   Left Semi Join 0 to 1
    @@ -2666,43 +2666,43 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Select Operator
                              expressions: _col1 (type: string)
                              outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: string)
                                sort order: +
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
                        alias: b
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key < 15) (type: boolean)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                          Group By Operator
                            keys: key (type: int), key (type: int)
                            mode: hash
                            outputColumnNames: _col0, _col1
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col1 (type: int)
                              sort order: +
                              Map-reduce partition columns: _col1 (type: int)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
              Reducer 2
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: string)
                      outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -2849,24 +2849,24 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: t3
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key > 5) (type: boolean)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int)
                            outputColumnNames: _col0
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                            Group By Operator
                              keys: _col0 (type: int)
                              mode: hash
                              outputColumnNames: _col0
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
                                Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
              Map 2
                  Map Operator Tree:
                      TableScan
    @@ -2884,25 +2884,25 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 1
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Select Operator
                              expressions: _col1 (type: string)
                              outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: string)
                                sort order: +
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: string)
                      outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3138,10 +3138,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -3151,12 +3151,12 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Reduce Output Operator
                              key expressions: _col0 (type: int)
                              sort order: +
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -3184,10 +3184,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3359,16 +3359,16 @@ STAGE PLANS:
                            input vertices:
                              1 Map 3
                              2 Map 4
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Select Operator
                              expressions: _col0 (type: int), _col1 (type: string), _col5 (type: int), _col6 (type: string)
                              outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int), _col1 (type: string)
                                sort order: ++
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                                value expressions: _col2 (type: int), _col3 (type: string)
              Map 3
                  Map Operator Tree:
    @@ -3388,33 +3388,33 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int)
                            outputColumnNames: key
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                            Group By Operator
                              keys: key (type: int)
                              mode: hash
                              outputColumnNames: _col0
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
                                Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
              Reducer 2
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int), KEY.reducesinkkey1 (type: string), VALUE._col0 (type: int), VALUE._col1 (type: string)
                      outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3472,10 +3472,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key is not null and value is not null) (type: boolean)
    - Statistics: Num rows: 2 Data size: 238 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 558 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -3485,12 +3485,12 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Reduce Output Operator
                              key expressions: _col0 (type: int), _col1 (type: string)
                              sort order: ++
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -3518,10 +3518,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int), KEY.reducesinkkey1 (type: string)
                      outputColumnNames: _col0, _col1
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3577,10 +3577,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -3593,12 +3593,12 @@ STAGE PLANS:
                            input vertices:
                              1 Map 3
                              2 Map 4
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Reduce Output Operator
                              key expressions: _col0 (type: int)
                              sort order: +
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -3648,10 +3648,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3709,7 +3709,7 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Map Join Operator
                          condition map:
                               Left Outer Join0 to 1
    @@ -3722,12 +3722,12 @@ STAGE PLANS:
                          input vertices:
                            1 Map 3
                            2 Map 4
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                          HybridGraceHashJoin: true
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -3762,10 +3762,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3845,12 +3845,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: b
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 5
                  Map Operator Tree:
                      TableScan
    @@ -3881,20 +3881,20 @@ STAGE PLANS:
                        1 key (type: int)
                        2 _col0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3967,12 +3967,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 4
                  Map Operator Tree:
                      TableScan
    @@ -4013,20 +4013,20 @@ STAGE PLANS:
                        1 _col0 (type: int)
                        2 key (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -4099,12 +4099,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 4
                  Map Operator Tree:
                      TableScan
    @@ -4145,20 +4145,20 @@ STAGE PLANS:
                        1 _col0 (type: int)
                        2 key (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -4233,12 +4233,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 4
                  Map Operator Tree:
                      TableScan
    @@ -4279,20 +4279,20 @@ STAGE PLANS:
                        1 _col0 (type: int)
                        2 key (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -4378,10 +4378,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 3 Data size: 358 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -4391,7 +4391,7 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -4402,12 +4402,12 @@ STAGE PLANS:
                              outputColumnNames: _col0
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -4445,10 +4445,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -4526,14 +4526,14 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: ((key > 100) and value is not null) (type: boolean)
    - Statistics: Num rows: 1 Data size: 119 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int), value (type: string)
                            outputColumnNames: _col0, _col1
    - Statistics: Num rows: 1 Data size: 119 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: NONE
                            Map Join Operator
                              condition map:
                                   Left Semi Join 0 to 1
    @@ -4917,44 +4917,44 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                            Select Operator
                              expressions: _col1 (type: string)
                              outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: string)
                                sort order: +
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 3
                  Map Operator Tree:
                      TableScan
                        alias: b
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key < 15) (type: boolean)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                          Group By Operator
                            keys: key (type: int), key (type: int)
                            mode: hash
                            outputColumnNames: _col0, _col1
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col1 (type: int)
                              sort order: +
                              Map-reduce partition columns: _col1 (type: int)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: string)
                      outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -5104,24 +5104,24 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: t3
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key > 5) (type: boolean)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int)
                            outputColumnNames: _col0
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                            Group By Operator
                              keys: _col0 (type: int)
                              mode: hash
                              outputColumnNames: _col0
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
                                Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 2
                  Map Operator Tree:
    @@ -5140,25 +5140,25 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 1
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                            Select Operator
                              expressions: _col1 (type: string)
                              outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: string)
                                sort order: +
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: string)
                      outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -5399,10 +5399,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -5412,11 +5412,11 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col0 (type: int)
                              sort order: +
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 3
                  Map Operator Tree:
    @@ -5446,10 +5446,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -5624,15 +5624,15 @@ STAGE PLANS:
                            input vertices:
                              1 Map 3
                              2 Map 4
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                            Select Operator
                              expressions: _col0 (type: int), _col1 (type: string), _col5 (type: int), _col6 (type: string)
                              outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int), _col1 (type: string)
                                sort order: ++
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                                value expressions: _col2 (type: int), _col3 (type: string)
                  Execution mode: vectorized
              Map 3
    @@ -5654,34 +5654,34 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int)
                            outputColumnNames: key
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                            Group By Operator
                              keys: key (type: int)
                              mode: hash
                              outputColumnNames: _col0
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
                                Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int), KEY.reducesinkkey1 (type: string), VALUE._col0 (type: int), VALUE._col1 (type: string)
                      outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -5740,10 +5740,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key is not null and value is not null) (type: boolean)
    - Statistics: Num rows: 2 Data size: 238 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 558 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -5753,11 +5753,11 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col0 (type: int), _col1 (type: string)
                              sort order: ++
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 3
                  Map Operator Tree:
    @@ -5787,10 +5787,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int), KEY.reducesinkkey1 (type: string)
                      outputColumnNames: _col0, _col1
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -5847,10 +5847,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -5863,11 +5863,11 @@ STAGE PLANS:
                            input vertices:
                              1 Map 3
                              2 Map 4
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col0 (type: int)
                              sort order: +
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 3
                  Map Operator Tree:
    @@ -5920,10 +5920,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -5982,7 +5982,7 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Map Join Operator
                          condition map:
                               Left Outer Join0 to 1
    @@ -5995,11 +5995,11 @@ STAGE PLANS:
                          input vertices:
                            1 Map 3
                            2 Map 4
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 3
                  Map Operator Tree:
    @@ -6037,10 +6037,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    +

    <TRUNCATED>
  • Vgumashta at Jun 7, 2015 at 6:38 pm
    Repository: hive
    Updated Branches:
       refs/heads/branch-1.2 387890a96 -> 82335bf51


    http://git-wip-us.apache.org/repos/asf/hive/blob/82335bf5/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out b/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out
    index b54f496..1080bf4 100644
    --- a/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out
    +++ b/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out
    @@ -85,17 +85,17 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 154 Data size: 616 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 3 Data size: 12 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (rn < 100) (type: boolean)
    - Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: rn (type: int)
                            outputColumnNames: _col0
    - Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -103,14 +103,14 @@ STAGE PLANS:
                                  name: default.orc_rn1
                        Filter Operator
                          predicate: ((rn >= 100) and (rn < 1000)) (type: boolean)
    - Statistics: Num rows: 17 Data size: 68 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: rn (type: int)
                            outputColumnNames: _col0
    - Statistics: Num rows: 17 Data size: 68 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 17 Data size: 68 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -118,14 +118,14 @@ STAGE PLANS:
                                  name: default.orc_rn2
                        Filter Operator
                          predicate: (rn >= 1000) (type: boolean)
    - Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: rn (type: int)
                            outputColumnNames: _col0
    - Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat

    http://git-wip-us.apache.org/repos/asf/hive/blob/82335bf5/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out b/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out
    index a2f4458..4101c35 100644
    --- a/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out
    +++ b/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out
    @@ -111,11 +111,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint), csmallint (type: smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), cdouble (type: double), cstring1 (type: string), cstring2 (type: string), ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: boolean), cboolean2 (type: boolean)
                          outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
    - Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -125,11 +125,11 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col20, _col21, _col22, _col23
                            input vertices:
                              1 Map 2
    - Statistics: Num rows: 14 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 14 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -139,16 +139,16 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint), csmallint (type: smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), cdouble (type: double), cstring1 (type: string), cstring2 (type: string), ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: boolean), cboolean2 (type: boolean)
                          outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
    - Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col2 (type: int)
                            sort order: +
                            Map-reduce partition columns: _col2 (type: int)
    - Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                            value expressions: _col0 (type: tinyint), _col1 (type: smallint), _col3 (type: bigint), _col4 (type: float), _col5 (type: double), _col6 (type: string), _col7 (type: string), _col8 (type: timestamp), _col9 (type: timestamp), _col10 (type: boolean), _col11 (type: boolean)
                  Execution mode: vectorized

    @@ -218,11 +218,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -232,11 +232,11 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 2
    - Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -246,16 +246,16 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: tinyint)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: tinyint)
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized

        Stage: Stage-0
    @@ -357,11 +357,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint), cint (type: int)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -371,7 +371,7 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -382,7 +382,7 @@ STAGE PLANS:
                              outputColumnNames: _col0
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 1263 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Group By Operator
                                aggregations: count(), sum(_col0)
    @@ -398,31 +398,31 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int)
                          outputColumnNames: _col0
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 4
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: tinyint)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: tinyint)
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:

    http://git-wip-us.apache.org/repos/asf/hive/blob/82335bf5/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out b/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out
    index 8c8f54e..b8e18e0 100644
    --- a/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out
    +++ b/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out
    @@ -118,11 +118,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 348 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int), cbigint (type: bigint)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 348 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -132,7 +132,7 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -143,12 +143,12 @@ STAGE PLANS:
                              outputColumnNames: _col1
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 1263 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Select Operator
                                expressions: _col1 (type: bigint)
                                outputColumnNames: _col0
    - Statistics: Num rows: 1263 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                                Group By Operator
                                  aggregations: count(), sum(_col0)
                                  mode: hash
    @@ -163,31 +163,31 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int)
                          outputColumnNames: _col0
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 4
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cbigint (type: bigint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: bigint)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: bigint)
    - Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:

    http://git-wip-us.apache.org/repos/asf/hive/blob/82335bf5/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out b/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out
    index fa47a03..b5619a0 100644
    --- a/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out
    +++ b/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out
    @@ -118,11 +118,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int), cstring1 (type: string)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -132,7 +132,7 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -142,7 +142,7 @@ STAGE PLANS:
                                1 _col0 (type: string)
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 1263 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Group By Operator
                                aggregations: count()
    @@ -158,31 +158,31 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int)
                          outputColumnNames: _col0
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 4
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cstring1 (type: string)
                          outputColumnNames: _col0
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: string)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: string)
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:
    @@ -265,11 +265,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 20 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cstring1 (type: string), cstring2 (type: string)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 20 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -279,7 +279,7 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 45 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -289,7 +289,7 @@ STAGE PLANS:
                                1 _col0 (type: string)
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 49 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Group By Operator
                                aggregations: count()
    @@ -305,31 +305,31 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cstring2 (type: string)
                          outputColumnNames: _col0
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: string)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: string)
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 4
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cstring1 (type: string)
                          outputColumnNames: _col0
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: string)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: string)
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:
    @@ -412,11 +412,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 19 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int), cbigint (type: bigint), cstring1 (type: string), cstring2 (type: string)
                          outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 19 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -426,7 +426,7 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col2
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 41 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -436,7 +436,7 @@ STAGE PLANS:
                                1 _col1 (type: string), _col0 (type: int)
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 45 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Group By Operator
                                aggregations: count()
    @@ -452,31 +452,31 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 38 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cbigint (type: bigint), cstring2 (type: string)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 38 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col1 (type: string), _col0 (type: bigint)
                            sort order: ++
                            Map-reduce partition columns: _col1 (type: string), _col0 (type: bigint)
    - Statistics: Num rows: 38 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 4
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int), cstring1 (type: string)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col1 (type: string), _col0 (type: int)
                            sort order: ++
                            Map-reduce partition columns: _col1 (type: string), _col0 (type: int)
    - Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:

    http://git-wip-us.apache.org/repos/asf/hive/blob/82335bf5/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out b/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out
    index a73cd06..2c9a9cd 100644
    --- a/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out
    +++ b/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out
    @@ -111,11 +111,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint), csmallint (type: smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), cdouble (type: double), cstring1 (type: string), cstring2 (type: string), ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: boolean), cboolean2 (type: boolean)
                          outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
    - Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -125,11 +125,11 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col20, _col21, _col22, _col23
                            input vertices:
                              1 Map 2
    - Statistics: Num rows: 13 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 13 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -139,16 +139,16 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint), csmallint (type: smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), cdouble (type: double), cstring1 (type: string), cstring2 (type: string), ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: boolean), cboolean2 (type: boolean)
                          outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
    - Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col2 (type: int)
                            sort order: +
                            Map-reduce partition columns: _col2 (type: int)
    - Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                            value expressions: _col0 (type: tinyint), _col1 (type: smallint), _col3 (type: bigint), _col4 (type: float), _col5 (type: double), _col6 (type: string), _col7 (type: string), _col8 (type: timestamp), _col9 (type: timestamp), _col10 (type: boolean), _col11 (type: boolean)
                  Execution mode: vectorized

    @@ -613,11 +613,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -627,11 +627,11 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 2
    - Statistics: Num rows: 1095 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 1095 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -641,16 +641,16 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: tinyint)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: tinyint)
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized

        Stage: Stage-0
    @@ -749,11 +749,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 498 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint), cint (type: int)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 498 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -763,7 +763,7 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 1095 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -773,7 +773,7 @@ STAGE PLANS:
                                1 _col0 (type: tinyint)
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 1204 Data size: 4823 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 36 Data size: 7165 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Group By Operator
                                aggregations: count()
    @@ -789,31 +789,31 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int)
                          outputColumnNames: _col0
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 4
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: tinyint)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: tinyint)
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:
  • Vgumashta at Jun 7, 2015 at 6:39 pm
    Repository: hive
    Updated Branches:
       refs/heads/master d3863be02 -> 4d592303a


    http://git-wip-us.apache.org/repos/asf/hive/blob/4d592303/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out b/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out
    index b54f496..1080bf4 100644
    --- a/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out
    +++ b/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out
    @@ -85,17 +85,17 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 154 Data size: 616 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 3 Data size: 12 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (rn < 100) (type: boolean)
    - Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: rn (type: int)
                            outputColumnNames: _col0
    - Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -103,14 +103,14 @@ STAGE PLANS:
                                  name: default.orc_rn1
                        Filter Operator
                          predicate: ((rn >= 100) and (rn < 1000)) (type: boolean)
    - Statistics: Num rows: 17 Data size: 68 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: rn (type: int)
                            outputColumnNames: _col0
    - Statistics: Num rows: 17 Data size: 68 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 17 Data size: 68 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -118,14 +118,14 @@ STAGE PLANS:
                                  name: default.orc_rn2
                        Filter Operator
                          predicate: (rn >= 1000) (type: boolean)
    - Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: rn (type: int)
                            outputColumnNames: _col0
    - Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat

    http://git-wip-us.apache.org/repos/asf/hive/blob/4d592303/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out b/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out
    index a2f4458..4101c35 100644
    --- a/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out
    +++ b/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out
    @@ -111,11 +111,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint), csmallint (type: smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), cdouble (type: double), cstring1 (type: string), cstring2 (type: string), ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: boolean), cboolean2 (type: boolean)
                          outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
    - Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -125,11 +125,11 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col20, _col21, _col22, _col23
                            input vertices:
                              1 Map 2
    - Statistics: Num rows: 14 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 14 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -139,16 +139,16 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint), csmallint (type: smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), cdouble (type: double), cstring1 (type: string), cstring2 (type: string), ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: boolean), cboolean2 (type: boolean)
                          outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
    - Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col2 (type: int)
                            sort order: +
                            Map-reduce partition columns: _col2 (type: int)
    - Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                            value expressions: _col0 (type: tinyint), _col1 (type: smallint), _col3 (type: bigint), _col4 (type: float), _col5 (type: double), _col6 (type: string), _col7 (type: string), _col8 (type: timestamp), _col9 (type: timestamp), _col10 (type: boolean), _col11 (type: boolean)
                  Execution mode: vectorized

    @@ -218,11 +218,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -232,11 +232,11 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 2
    - Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -246,16 +246,16 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: tinyint)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: tinyint)
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized

        Stage: Stage-0
    @@ -357,11 +357,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint), cint (type: int)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -371,7 +371,7 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -382,7 +382,7 @@ STAGE PLANS:
                              outputColumnNames: _col0
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 1263 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Group By Operator
                                aggregations: count(), sum(_col0)
    @@ -398,31 +398,31 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int)
                          outputColumnNames: _col0
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 4
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: tinyint)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: tinyint)
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:

    http://git-wip-us.apache.org/repos/asf/hive/blob/4d592303/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out b/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out
    index 8c8f54e..b8e18e0 100644
    --- a/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out
    +++ b/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out
    @@ -118,11 +118,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 348 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int), cbigint (type: bigint)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 348 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -132,7 +132,7 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -143,12 +143,12 @@ STAGE PLANS:
                              outputColumnNames: _col1
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 1263 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Select Operator
                                expressions: _col1 (type: bigint)
                                outputColumnNames: _col0
    - Statistics: Num rows: 1263 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                                Group By Operator
                                  aggregations: count(), sum(_col0)
                                  mode: hash
    @@ -163,31 +163,31 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int)
                          outputColumnNames: _col0
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 4
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cbigint (type: bigint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: bigint)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: bigint)
    - Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:

    http://git-wip-us.apache.org/repos/asf/hive/blob/4d592303/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out b/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out
    index fa47a03..b5619a0 100644
    --- a/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out
    +++ b/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out
    @@ -118,11 +118,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int), cstring1 (type: string)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -132,7 +132,7 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -142,7 +142,7 @@ STAGE PLANS:
                                1 _col0 (type: string)
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 1263 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Group By Operator
                                aggregations: count()
    @@ -158,31 +158,31 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int)
                          outputColumnNames: _col0
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 4
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cstring1 (type: string)
                          outputColumnNames: _col0
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: string)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: string)
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:
    @@ -265,11 +265,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 20 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cstring1 (type: string), cstring2 (type: string)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 20 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -279,7 +279,7 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 45 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -289,7 +289,7 @@ STAGE PLANS:
                                1 _col0 (type: string)
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 49 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Group By Operator
                                aggregations: count()
    @@ -305,31 +305,31 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cstring2 (type: string)
                          outputColumnNames: _col0
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: string)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: string)
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 4
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cstring1 (type: string)
                          outputColumnNames: _col0
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: string)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: string)
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:
    @@ -412,11 +412,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 19 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int), cbigint (type: bigint), cstring1 (type: string), cstring2 (type: string)
                          outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 19 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -426,7 +426,7 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col2
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 41 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -436,7 +436,7 @@ STAGE PLANS:
                                1 _col1 (type: string), _col0 (type: int)
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 45 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Group By Operator
                                aggregations: count()
    @@ -452,31 +452,31 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 38 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cbigint (type: bigint), cstring2 (type: string)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 38 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col1 (type: string), _col0 (type: bigint)
                            sort order: ++
                            Map-reduce partition columns: _col1 (type: string), _col0 (type: bigint)
    - Statistics: Num rows: 38 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 4
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int), cstring1 (type: string)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col1 (type: string), _col0 (type: int)
                            sort order: ++
                            Map-reduce partition columns: _col1 (type: string), _col0 (type: int)
    - Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:

    http://git-wip-us.apache.org/repos/asf/hive/blob/4d592303/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out b/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out
    index a73cd06..2c9a9cd 100644
    --- a/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out
    +++ b/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out
    @@ -111,11 +111,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint), csmallint (type: smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), cdouble (type: double), cstring1 (type: string), cstring2 (type: string), ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: boolean), cboolean2 (type: boolean)
                          outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
    - Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -125,11 +125,11 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col20, _col21, _col22, _col23
                            input vertices:
                              1 Map 2
    - Statistics: Num rows: 13 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 13 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -139,16 +139,16 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint), csmallint (type: smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), cdouble (type: double), cstring1 (type: string), cstring2 (type: string), ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: boolean), cboolean2 (type: boolean)
                          outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
    - Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col2 (type: int)
                            sort order: +
                            Map-reduce partition columns: _col2 (type: int)
    - Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                            value expressions: _col0 (type: tinyint), _col1 (type: smallint), _col3 (type: bigint), _col4 (type: float), _col5 (type: double), _col6 (type: string), _col7 (type: string), _col8 (type: timestamp), _col9 (type: timestamp), _col10 (type: boolean), _col11 (type: boolean)
                  Execution mode: vectorized

    @@ -613,11 +613,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -627,11 +627,11 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 2
    - Statistics: Num rows: 1095 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 1095 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -641,16 +641,16 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: tinyint)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: tinyint)
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized

        Stage: Stage-0
    @@ -749,11 +749,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 498 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint), cint (type: int)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 498 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -763,7 +763,7 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 1095 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -773,7 +773,7 @@ STAGE PLANS:
                                1 _col0 (type: tinyint)
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 1204 Data size: 4823 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 36 Data size: 7165 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Group By Operator
                                aggregations: count()
    @@ -789,31 +789,31 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int)
                          outputColumnNames: _col0
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 4
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: tinyint)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: tinyint)
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:
  • Vgumashta at Jun 7, 2015 at 6:39 pm
    HIVE-10929: In Tez mode,dynamic partitioning query with union all fails at moveTask,Invalid partition key & values (Vikram Dixit K reviewed by Gunther Hagleitner)


    Project: http://git-wip-us.apache.org/repos/asf/hive/repo
    Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/4d592303
    Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/4d592303
    Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/4d592303

    Branch: refs/heads/master
    Commit: 4d592303ad0f925c7d0815c003cedd45ab4f0064
    Parents: d3863be
    Author: Vaibhav Gumashta <vgumashta@apache.org>
    Authored: Sun Jun 7 11:38:10 2015 -0700
    Committer: Vaibhav Gumashta <vgumashta@apache.org>
    Committed: Sun Jun 7 11:39:12 2015 -0700

    ----------------------------------------------------------------------
      .../test/resources/testconfiguration.properties | 1 +
      .../hadoop/hive/ql/parse/GenTezUtils.java | 8 +
      .../tez_union_dynamic_partition.q | 21 +
      .../clientpositive/tez/explainuser_2.q.out | 63 +-
      .../tez/tez_union_dynamic_partition.q.out | 148 +++
      .../results/clientpositive/tez/union4.q.out | 4 +
      .../results/clientpositive/tez/union6.q.out | 4 +
      .../tez/vector_leftsemi_mapjoin.q.out | 1032 +++++++++---------
      .../tez/vector_multi_insert.q.out | 20 +-
      .../clientpositive/tez/vector_outer_join1.q.out | 48 +-
      .../clientpositive/tez/vector_outer_join2.q.out | 22 +-
      .../clientpositive/tez/vector_outer_join3.q.out | 60 +-
      .../clientpositive/tez/vector_outer_join4.q.out | 48 +-
      13 files changed, 855 insertions(+), 624 deletions(-)
    ----------------------------------------------------------------------


    http://git-wip-us.apache.org/repos/asf/hive/blob/4d592303/itests/src/test/resources/testconfiguration.properties
    ----------------------------------------------------------------------
    diff --git a/itests/src/test/resources/testconfiguration.properties b/itests/src/test/resources/testconfiguration.properties
    index 47a1107..784b502 100644
    --- a/itests/src/test/resources/testconfiguration.properties
    +++ b/itests/src/test/resources/testconfiguration.properties
    @@ -336,6 +336,7 @@ minitez.query.files=bucket_map_join_tez1.q,\
        tez_schema_evolution.q,\
        tez_union.q,\
        tez_union2.q,\
    + tez_union_dynamic_partition.q,\
        tez_union_view.q,\
        tez_union_decimal.q,\
        tez_union_group_by.q,\

    http://git-wip-us.apache.org/repos/asf/hive/blob/4d592303/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java
    ----------------------------------------------------------------------
    diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java
    index 0edfc5d..11c1df6 100644
    --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java
    +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java
    @@ -36,6 +36,7 @@ import org.apache.hadoop.hive.ql.exec.FetchTask;
      import org.apache.hadoop.hive.ql.exec.FileSinkOperator;
      import org.apache.hadoop.hive.ql.exec.HashTableDummyOperator;
      import org.apache.hadoop.hive.ql.exec.Operator;
    +import org.apache.hadoop.hive.ql.exec.OperatorUtils;
      import org.apache.hadoop.hive.ql.exec.ReduceSinkOperator;
      import org.apache.hadoop.hive.ql.exec.TableScanOperator;
      import org.apache.hadoop.hive.ql.exec.UnionOperator;
    @@ -238,6 +239,11 @@ public class GenTezUtils {

          Iterator<Operator<?>> it = newRoots.iterator();
          for (Operator<?> orig: roots) {
    + Set<FileSinkOperator> fsOpSet = OperatorUtils.findOperators(orig, FileSinkOperator.class);
    + for (FileSinkOperator fsOp : fsOpSet) {
    + context.fileSinkSet.remove(fsOp);
    + }
    +
            Operator<?> newRoot = it.next();

            replacementMap.put(orig, newRoot);
    @@ -301,6 +307,8 @@ public class GenTezUtils {
              linked.add(desc);

              desc.setDirName(new Path(path, ""+linked.size()));
    + desc.setLinkedFileSink(true);
    + desc.setParentDir(path);
              desc.setLinkedFileSinkDesc(linked);
            }


    http://git-wip-us.apache.org/repos/asf/hive/blob/4d592303/ql/src/test/queries/clientpositive/tez_union_dynamic_partition.q
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/queries/clientpositive/tez_union_dynamic_partition.q b/ql/src/test/queries/clientpositive/tez_union_dynamic_partition.q
    new file mode 100644
    index 0000000..1c44a6c
    --- /dev/null
    +++ b/ql/src/test/queries/clientpositive/tez_union_dynamic_partition.q
    @@ -0,0 +1,21 @@
    +create table dummy(i int);
    +insert into table dummy values (1);
    +select * from dummy;
    +
    +create table partunion1(id1 int) partitioned by (part1 string);
    +
    +set hive.exec.dynamic.partition.mode=nonstrict;
    +
    +explain insert into table partunion1 partition(part1)
    +select temps.* from (
    +select 1 as id1, '2014' as part1 from dummy
    +union all
    +select 2 as id1, '2014' as part1 from dummy ) temps;
    +
    +insert into table partunion1 partition(part1)
    +select temps.* from (
    +select 1 as id1, '2014' as part1 from dummy
    +union all
    +select 2 as id1, '2014' as part1 from dummy ) temps;
    +
    +select * from partunion1;

    http://git-wip-us.apache.org/repos/asf/hive/blob/4d592303/ql/src/test/results/clientpositive/tez/explainuser_2.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/explainuser_2.q.out b/ql/src/test/results/clientpositive/tez/explainuser_2.q.out
    index 0340714..222e89e 100644
    --- a/ql/src/test/results/clientpositive/tez/explainuser_2.q.out
    +++ b/ql/src/test/results/clientpositive/tez/explainuser_2.q.out
    @@ -3960,11 +3960,11 @@ Map 5 <- Union 2 (CONTAINS)
      Map 7 <- Map 6 (BROADCAST_EDGE)
      Map 8 <- Union 9 (CONTAINS)

    -Stage-7
    +Stage-15
         Stats-Aggr Operator
    - Stage-2
    + Stage-1
               Move Operator
    - table:{"serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe","name:":"default.c","input format:":"org.apache.hadoop.mapred.TextInputFormat","output format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat"}
    + table:{"serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe","name:":"default.b","input format:":"org.apache.hadoop.mapred.TextInputFormat","output format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat"}
                  Stage-4
                     Dependency Collection{}
                        Stage-3
    @@ -4344,18 +4344,63 @@ Stage-7
                                 Statistics:Num rows: 1705 Data size: 18038 Basic stats: COMPLETE Column stats: NONE
                                 table:{"serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe","name:":"default.c","input format:":"org.apache.hadoop.mapred.TextInputFormat","output format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat"}
                                  Please refer to the previous Select Operator [SEL_17]
    -Stage-6
    +Stage-14
         Stats-Aggr Operator
    - Stage-1
    + Stage-0
               Move Operator
    - table:{"serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe","name:":"default.b","input format:":"org.apache.hadoop.mapred.TextInputFormat","output format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat"}
    + table:{"serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe","name:":"default.a","input format:":"org.apache.hadoop.mapred.TextInputFormat","output format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat"}
                   Please refer to the previous Stage-4
    -Stage-5
    +Stage-13
         Stats-Aggr Operator
    - Stage-0
    + Stage-2
               Move Operator
    - table:{"serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe","name:":"default.a","input format:":"org.apache.hadoop.mapred.TextInputFormat","output format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat"}
    + table:{"serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe","name:":"default.c","input format:":"org.apache.hadoop.mapred.TextInputFormat","output format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat"}
                   Please refer to the previous Stage-4
    +Stage-12
    + Stats-Aggr Operator
    + Please refer to the previous Stage-1
    +Stage-19
    + Stats-Aggr Operator
    + Please refer to the previous Stage-2
    +Stage-18
    + Stats-Aggr Operator
    + Please refer to the previous Stage-1
    +Stage-17
    + Stats-Aggr Operator
    + Please refer to the previous Stage-0
    +Stage-16
    + Stats-Aggr Operator
    + Please refer to the previous Stage-2
    +Stage-20
    + Stats-Aggr Operator
    + Please refer to the previous Stage-0
    +Stage-9
    + Stats-Aggr Operator
    + Please refer to the previous Stage-1
    +Stage-22
    + Stats-Aggr Operator
    + Please refer to the previous Stage-2
    +Stage-8
    + Stats-Aggr Operator
    + Please refer to the previous Stage-0
    +Stage-21
    + Stats-Aggr Operator
    + Please refer to the previous Stage-1
    +Stage-7
    + Stats-Aggr Operator
    + Please refer to the previous Stage-2
    +Stage-6
    + Stats-Aggr Operator
    + Please refer to the previous Stage-1
    +Stage-10
    + Stats-Aggr Operator
    + Please refer to the previous Stage-2
    +Stage-11
    + Stats-Aggr Operator
    + Please refer to the previous Stage-0
    +Stage-5
    + Stats-Aggr Operator
    + Please refer to the previous Stage-0
      PREHOOK: query: explain
      FROM
      (

    http://git-wip-us.apache.org/repos/asf/hive/blob/4d592303/ql/src/test/results/clientpositive/tez/tez_union_dynamic_partition.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/tez_union_dynamic_partition.q.out b/ql/src/test/results/clientpositive/tez/tez_union_dynamic_partition.q.out
    new file mode 100644
    index 0000000..68a7531
    --- /dev/null
    +++ b/ql/src/test/results/clientpositive/tez/tez_union_dynamic_partition.q.out
    @@ -0,0 +1,148 @@
    +PREHOOK: query: create table dummy(i int)
    +PREHOOK: type: CREATETABLE
    +PREHOOK: Output: database:default
    +PREHOOK: Output: default@dummy
    +POSTHOOK: query: create table dummy(i int)
    +POSTHOOK: type: CREATETABLE
    +POSTHOOK: Output: database:default
    +POSTHOOK: Output: default@dummy
    +PREHOOK: query: insert into table dummy values (1)
    +PREHOOK: type: QUERY
    +PREHOOK: Input: default@values__tmp__table__1
    +PREHOOK: Output: default@dummy
    +POSTHOOK: query: insert into table dummy values (1)
    +POSTHOOK: type: QUERY
    +POSTHOOK: Input: default@values__tmp__table__1
    +POSTHOOK: Output: default@dummy
    +POSTHOOK: Lineage: dummy.i EXPRESSION [(values__tmp__table__1)values__tmp__table__1.FieldSchema(name:tmp_values_col1, type:string, comment:), ]
    +PREHOOK: query: select * from dummy
    +PREHOOK: type: QUERY
    +PREHOOK: Input: default@dummy
    +#### A masked pattern was here ####
    +POSTHOOK: query: select * from dummy
    +POSTHOOK: type: QUERY
    +POSTHOOK: Input: default@dummy
    +#### A masked pattern was here ####
    +1
    +PREHOOK: query: create table partunion1(id1 int) partitioned by (part1 string)
    +PREHOOK: type: CREATETABLE
    +PREHOOK: Output: database:default
    +PREHOOK: Output: default@partunion1
    +POSTHOOK: query: create table partunion1(id1 int) partitioned by (part1 string)
    +POSTHOOK: type: CREATETABLE
    +POSTHOOK: Output: database:default
    +POSTHOOK: Output: default@partunion1
    +PREHOOK: query: explain insert into table partunion1 partition(part1)
    +select temps.* from (
    +select 1 as id1, '2014' as part1 from dummy
    +union all
    +select 2 as id1, '2014' as part1 from dummy ) temps
    +PREHOOK: type: QUERY
    +POSTHOOK: query: explain insert into table partunion1 partition(part1)
    +select temps.* from (
    +select 1 as id1, '2014' as part1 from dummy
    +union all
    +select 2 as id1, '2014' as part1 from dummy ) temps
    +POSTHOOK: type: QUERY
    +STAGE DEPENDENCIES:
    + Stage-1 is a root stage
    + Stage-2 depends on stages: Stage-1
    + Stage-0 depends on stages: Stage-2
    + Stage-3 depends on stages: Stage-0
    + Stage-4 depends on stages: Stage-0
    +
    +STAGE PLANS:
    + Stage: Stage-1
    + Tez
    + Edges:
    + Map 1 <- Union 2 (CONTAINS)
    + Map 3 <- Union 2 (CONTAINS)
    +#### A masked pattern was here ####
    + Vertices:
    + Map 1
    + Map Operator Tree:
    + TableScan
    + alias: dummy
    + Statistics: Num rows: 1 Data size: 1 Basic stats: COMPLETE Column stats: COMPLETE
    + Select Operator
    + expressions: 1 (type: int), '2014' (type: string)
    + outputColumnNames: _col0, _col1
    + Statistics: Num rows: 1 Data size: 92 Basic stats: COMPLETE Column stats: COMPLETE
    + File Output Operator
    + compressed: false
    + Statistics: Num rows: 2 Data size: 184 Basic stats: COMPLETE Column stats: COMPLETE
    + table:
    + input format: org.apache.hadoop.mapred.TextInputFormat
    + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
    + name: default.partunion1
    + Map 3
    + Map Operator Tree:
    + TableScan
    + alias: dummy
    + Statistics: Num rows: 1 Data size: 1 Basic stats: COMPLETE Column stats: COMPLETE
    + Select Operator
    + expressions: 2 (type: int), '2014' (type: string)
    + outputColumnNames: _col0, _col1
    + Statistics: Num rows: 1 Data size: 92 Basic stats: COMPLETE Column stats: COMPLETE
    + File Output Operator
    + compressed: false
    + Statistics: Num rows: 2 Data size: 184 Basic stats: COMPLETE Column stats: COMPLETE
    + table:
    + input format: org.apache.hadoop.mapred.TextInputFormat
    + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
    + name: default.partunion1
    + Union 2
    + Vertex: Union 2
    +
    + Stage: Stage-2
    + Dependency Collection
    +
    + Stage: Stage-0
    + Move Operator
    + tables:
    + partition:
    + part1
    + replace: false
    + table:
    + input format: org.apache.hadoop.mapred.TextInputFormat
    + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
    + name: default.partunion1
    +
    + Stage: Stage-3
    + Stats-Aggr Operator
    +
    + Stage: Stage-4
    + Stats-Aggr Operator
    +
    +PREHOOK: query: insert into table partunion1 partition(part1)
    +select temps.* from (
    +select 1 as id1, '2014' as part1 from dummy
    +union all
    +select 2 as id1, '2014' as part1 from dummy ) temps
    +PREHOOK: type: QUERY
    +PREHOOK: Input: default@dummy
    +PREHOOK: Output: default@partunion1
    +POSTHOOK: query: insert into table partunion1 partition(part1)
    +select temps.* from (
    +select 1 as id1, '2014' as part1 from dummy
    +union all
    +select 2 as id1, '2014' as part1 from dummy ) temps
    +POSTHOOK: type: QUERY
    +POSTHOOK: Input: default@dummy
    +POSTHOOK: Output: default@partunion1@part1=2014
    +POSTHOOK: Lineage: partunion1 PARTITION(part1=2014).id1 EXPRESSION []
    +PREHOOK: query: select * from partunion1
    +PREHOOK: type: QUERY
    +PREHOOK: Input: default@partunion1
    +PREHOOK: Input: default@partunion1@part1=2014
    +#### A masked pattern was here ####
    +POSTHOOK: query: select * from partunion1
    +POSTHOOK: type: QUERY
    +POSTHOOK: Input: default@partunion1
    +POSTHOOK: Input: default@partunion1@part1=2014
    +#### A masked pattern was here ####
    +1 2014
    +2 2014

    http://git-wip-us.apache.org/repos/asf/hive/blob/4d592303/ql/src/test/results/clientpositive/tez/union4.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/union4.q.out b/ql/src/test/results/clientpositive/tez/union4.q.out
    index 7cd6099..9d079ad 100644
    --- a/ql/src/test/results/clientpositive/tez/union4.q.out
    +++ b/ql/src/test/results/clientpositive/tez/union4.q.out
    @@ -33,6 +33,7 @@ STAGE DEPENDENCIES:
        Stage-2 depends on stages: Stage-1
        Stage-0 depends on stages: Stage-2
        Stage-3 depends on stages: Stage-0
    + Stage-4 depends on stages: Stage-0

      STAGE PLANS:
        Stage: Stage-1
    @@ -139,6 +140,9 @@ STAGE PLANS:
        Stage: Stage-3
          Stats-Aggr Operator

    + Stage: Stage-4
    + Stats-Aggr Operator
    +
      PREHOOK: query: insert overwrite table tmptable
      select unionsrc.key, unionsrc.value FROM (select 'tst1' as key, count(1) as value from src s1
                                              UNION ALL

    http://git-wip-us.apache.org/repos/asf/hive/blob/4d592303/ql/src/test/results/clientpositive/tez/union6.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/union6.q.out b/ql/src/test/results/clientpositive/tez/union6.q.out
    index 77f1d0e..4647278 100644
    --- a/ql/src/test/results/clientpositive/tez/union6.q.out
    +++ b/ql/src/test/results/clientpositive/tez/union6.q.out
    @@ -31,6 +31,7 @@ STAGE DEPENDENCIES:
        Stage-2 depends on stages: Stage-1
        Stage-0 depends on stages: Stage-2
        Stage-3 depends on stages: Stage-0
    + Stage-4 depends on stages: Stage-0

      STAGE PLANS:
        Stage: Stage-1
    @@ -111,6 +112,9 @@ STAGE PLANS:
        Stage: Stage-3
          Stats-Aggr Operator

    + Stage: Stage-4
    + Stats-Aggr Operator
    +
      PREHOOK: query: insert overwrite table tmptable
      select unionsrc.key, unionsrc.value FROM (select 'tst1' as key, cast(count(1) as string) as value from src s1
                                            UNION ALL
  • Vgumashta at Jun 7, 2015 at 6:39 pm
    http://git-wip-us.apache.org/repos/asf/hive/blob/4d592303/ql/src/test/results/clientpositive/tez/vector_leftsemi_mapjoin.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/vector_leftsemi_mapjoin.q.out b/ql/src/test/results/clientpositive/tez/vector_leftsemi_mapjoin.q.out
    index 9f40f9e..6e4971d 100644
    --- a/ql/src/test/results/clientpositive/tez/vector_leftsemi_mapjoin.q.out
    +++ b/ql/src/test/results/clientpositive/tez/vector_leftsemi_mapjoin.q.out
    @@ -435,42 +435,42 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                            Select Operator
                              expressions: _col1 (type: string)
                              outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: string)
                                sort order: +
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
                        alias: b
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key < 15) (type: boolean)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                          Group By Operator
                            keys: key (type: int), key (type: int)
                            mode: hash
                            outputColumnNames: _col0, _col1
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col1 (type: int)
                              sort order: +
                              Map-reduce partition columns: _col1 (type: int)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
              Reducer 2
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: string)
                      outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -616,24 +616,24 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: t3
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key > 5) (type: boolean)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int)
                            outputColumnNames: _col0
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                            Group By Operator
                              keys: _col0 (type: int)
                              mode: hash
                              outputColumnNames: _col0
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
                                Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
              Map 2
                  Map Operator Tree:
                      TableScan
    @@ -651,24 +651,24 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 1
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                            Select Operator
                              expressions: _col1 (type: string)
                              outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: string)
                                sort order: +
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: string)
                      outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -902,10 +902,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -915,11 +915,11 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col0 (type: int)
                              sort order: +
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -947,10 +947,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1121,15 +1121,15 @@ STAGE PLANS:
                            input vertices:
                              1 Map 3
                              2 Map 4
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                            Select Operator
                              expressions: _col0 (type: int), _col1 (type: string), _col5 (type: int), _col6 (type: string)
                              outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int), _col1 (type: string)
                                sort order: ++
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                                value expressions: _col2 (type: int), _col3 (type: string)
              Map 3
                  Map Operator Tree:
    @@ -1149,33 +1149,33 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int)
                            outputColumnNames: key
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                            Group By Operator
                              keys: key (type: int)
                              mode: hash
                              outputColumnNames: _col0
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
                                Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
              Reducer 2
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int), KEY.reducesinkkey1 (type: string), VALUE._col0 (type: int), VALUE._col1 (type: string)
                      outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1233,10 +1233,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key is not null and value is not null) (type: boolean)
    - Statistics: Num rows: 2 Data size: 238 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 558 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -1246,11 +1246,11 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col0 (type: int), _col1 (type: string)
                              sort order: ++
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -1278,10 +1278,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int), KEY.reducesinkkey1 (type: string)
                      outputColumnNames: _col0, _col1
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1337,10 +1337,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -1353,11 +1353,11 @@ STAGE PLANS:
                            input vertices:
                              1 Map 3
                              2 Map 4
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col0 (type: int)
                              sort order: +
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -1407,10 +1407,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1468,7 +1468,7 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Map Join Operator
                          condition map:
                               Left Outer Join0 to 1
    @@ -1481,11 +1481,11 @@ STAGE PLANS:
                          input vertices:
                            1 Map 3
                            2 Map 4
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -1520,10 +1520,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1603,12 +1603,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: b
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 5
                  Map Operator Tree:
                      TableScan
    @@ -1639,20 +1639,20 @@ STAGE PLANS:
                        1 key (type: int)
                        2 _col0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1725,12 +1725,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 4
                  Map Operator Tree:
                      TableScan
    @@ -1771,20 +1771,20 @@ STAGE PLANS:
                        1 _col0 (type: int)
                        2 key (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1857,12 +1857,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 4
                  Map Operator Tree:
                      TableScan
    @@ -1903,20 +1903,20 @@ STAGE PLANS:
                        1 _col0 (type: int)
                        2 key (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1991,12 +1991,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 4
                  Map Operator Tree:
                      TableScan
    @@ -2037,20 +2037,20 @@ STAGE PLANS:
                        1 _col0 (type: int)
                        2 key (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -2136,10 +2136,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 3 Data size: 358 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -2149,7 +2149,7 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                            Map Join Operator
                              condition map:
                                   Left Outer Join0 to 1
    @@ -2159,11 +2159,11 @@ STAGE PLANS:
                              outputColumnNames: _col0
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -2201,10 +2201,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -2282,14 +2282,14 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: ((key > 100) and value is not null) (type: boolean)
    - Statistics: Num rows: 1 Data size: 119 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int), value (type: string)
                            outputColumnNames: _col0, _col1
    - Statistics: Num rows: 1 Data size: 119 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: NONE
                            Map Join Operator
                              condition map:
                                   Left Semi Join 0 to 1
    @@ -2666,43 +2666,43 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Select Operator
                              expressions: _col1 (type: string)
                              outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: string)
                                sort order: +
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
                        alias: b
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key < 15) (type: boolean)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                          Group By Operator
                            keys: key (type: int), key (type: int)
                            mode: hash
                            outputColumnNames: _col0, _col1
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col1 (type: int)
                              sort order: +
                              Map-reduce partition columns: _col1 (type: int)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
              Reducer 2
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: string)
                      outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -2849,24 +2849,24 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: t3
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key > 5) (type: boolean)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int)
                            outputColumnNames: _col0
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                            Group By Operator
                              keys: _col0 (type: int)
                              mode: hash
                              outputColumnNames: _col0
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
                                Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
              Map 2
                  Map Operator Tree:
                      TableScan
    @@ -2884,25 +2884,25 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 1
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Select Operator
                              expressions: _col1 (type: string)
                              outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: string)
                                sort order: +
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: string)
                      outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3138,10 +3138,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -3151,12 +3151,12 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Reduce Output Operator
                              key expressions: _col0 (type: int)
                              sort order: +
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -3184,10 +3184,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3359,16 +3359,16 @@ STAGE PLANS:
                            input vertices:
                              1 Map 3
                              2 Map 4
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Select Operator
                              expressions: _col0 (type: int), _col1 (type: string), _col5 (type: int), _col6 (type: string)
                              outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int), _col1 (type: string)
                                sort order: ++
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                                value expressions: _col2 (type: int), _col3 (type: string)
              Map 3
                  Map Operator Tree:
    @@ -3388,33 +3388,33 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int)
                            outputColumnNames: key
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                            Group By Operator
                              keys: key (type: int)
                              mode: hash
                              outputColumnNames: _col0
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
                                Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
              Reducer 2
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int), KEY.reducesinkkey1 (type: string), VALUE._col0 (type: int), VALUE._col1 (type: string)
                      outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3472,10 +3472,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key is not null and value is not null) (type: boolean)
    - Statistics: Num rows: 2 Data size: 238 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 558 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -3485,12 +3485,12 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Reduce Output Operator
                              key expressions: _col0 (type: int), _col1 (type: string)
                              sort order: ++
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -3518,10 +3518,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int), KEY.reducesinkkey1 (type: string)
                      outputColumnNames: _col0, _col1
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3577,10 +3577,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -3593,12 +3593,12 @@ STAGE PLANS:
                            input vertices:
                              1 Map 3
                              2 Map 4
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Reduce Output Operator
                              key expressions: _col0 (type: int)
                              sort order: +
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -3648,10 +3648,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3709,7 +3709,7 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Map Join Operator
                          condition map:
                               Left Outer Join0 to 1
    @@ -3722,12 +3722,12 @@ STAGE PLANS:
                          input vertices:
                            1 Map 3
                            2 Map 4
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                          HybridGraceHashJoin: true
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -3762,10 +3762,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3845,12 +3845,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: b
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 5
                  Map Operator Tree:
                      TableScan
    @@ -3881,20 +3881,20 @@ STAGE PLANS:
                        1 key (type: int)
                        2 _col0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3967,12 +3967,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 4
                  Map Operator Tree:
                      TableScan
    @@ -4013,20 +4013,20 @@ STAGE PLANS:
                        1 _col0 (type: int)
                        2 key (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -4099,12 +4099,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 4
                  Map Operator Tree:
                      TableScan
    @@ -4145,20 +4145,20 @@ STAGE PLANS:
                        1 _col0 (type: int)
                        2 key (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -4233,12 +4233,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 4
                  Map Operator Tree:
                      TableScan
    @@ -4279,20 +4279,20 @@ STAGE PLANS:
                        1 _col0 (type: int)
                        2 key (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -4378,10 +4378,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 3 Data size: 358 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -4391,7 +4391,7 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -4402,12 +4402,12 @@ STAGE PLANS:
                              outputColumnNames: _col0
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -4445,10 +4445,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -4526,14 +4526,14 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: ((key > 100) and value is not null) (type: boolean)
    - Statistics: Num rows: 1 Data size: 119 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int), value (type: string)
                            outputColumnNames: _col0, _col1
    - Statistics: Num rows: 1 Data size: 119 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: NONE
                            Map Join Operator
                              condition map:
                                   Left Semi Join 0 to 1
    @@ -4917,44 +4917,44 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                            Select Operator
                              expressions: _col1 (type: string)
                              outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: string)
                                sort order: +
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 3
                  Map Operator Tree:
                      TableScan
                        alias: b
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key < 15) (type: boolean)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                          Group By Operator
                            keys: key (type: int), key (type: int)
                            mode: hash
                            outputColumnNames: _col0, _col1
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col1 (type: int)
                              sort order: +
                              Map-reduce partition columns: _col1 (type: int)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: string)
                      outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -5104,24 +5104,24 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: t3
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key > 5) (type: boolean)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int)
                            outputColumnNames: _col0
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                            Group By Operator
                              keys: _col0 (type: int)
                              mode: hash
                              outputColumnNames: _col0
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
                                Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 2
                  Map Operator Tree:
    @@ -5140,25 +5140,25 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 1
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                            Select Operator
                              expressions: _col1 (type: string)
                              outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: string)
                                sort order: +
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: string)
                      outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -5399,10 +5399,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -5412,11 +5412,11 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col0 (type: int)
                              sort order: +
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 3
                  Map Operator Tree:
    @@ -5446,10 +5446,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -5624,15 +5624,15 @@ STAGE PLANS:
                            input vertices:
                              1 Map 3
                              2 Map 4
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                            Select Operator
                              expressions: _col0 (type: int), _col1 (type: string), _col5 (type: int), _col6 (type: string)
                              outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int), _col1 (type: string)
                                sort order: ++
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                                value expressions: _col2 (type: int), _col3 (type: string)
                  Execution mode: vectorized
              Map 3
    @@ -5654,34 +5654,34 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int)
                            outputColumnNames: key
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                            Group By Operator
                              keys: key (type: int)
                              mode: hash
                              outputColumnNames: _col0
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
                                Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int), KEY.reducesinkkey1 (type: string), VALUE._col0 (type: int), VALUE._col1 (type: string)
                      outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -5740,10 +5740,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key is not null and value is not null) (type: boolean)
    - Statistics: Num rows: 2 Data size: 238 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 558 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -5753,11 +5753,11 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col0 (type: int), _col1 (type: string)
                              sort order: ++
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 3
                  Map Operator Tree:
    @@ -5787,10 +5787,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int), KEY.reducesinkkey1 (type: string)
                      outputColumnNames: _col0, _col1
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -5847,10 +5847,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -5863,11 +5863,11 @@ STAGE PLANS:
                            input vertices:
                              1 Map 3
                              2 Map 4
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col0 (type: int)
                              sort order: +
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 3
                  Map Operator Tree:
    @@ -5920,10 +5920,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -5982,7 +5982,7 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Map Join Operator
                          condition map:
                               Left Outer Join0 to 1
    @@ -5995,11 +5995,11 @@ STAGE PLANS:
                          input vertices:
                            1 Map 3
                            2 Map 4
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 3
                  Map Operator Tree:
    @@ -6037,10 +6037,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    +

    <TRUNCATED>
  • Vgumashta at Jun 9, 2015 at 8:30 pm
    HIVE-10929: In Tez mode,dynamic partitioning query with union all fails at moveTask,Invalid partition key & values (Vikram Dixit K reviewed by Gunther Hagleitner)


    Project: http://git-wip-us.apache.org/repos/asf/hive/repo
    Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/bbf9b0eb
    Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/bbf9b0eb
    Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/bbf9b0eb

    Branch: refs/heads/branch-1
    Commit: bbf9b0ebdffda03b038b32a34aea737440676b75
    Parents: a854def
    Author: Vaibhav Gumashta <vgumashta@apache.org>
    Authored: Sun Jun 7 11:38:10 2015 -0700
    Committer: Vaibhav Gumashta <vgumashta@apache.org>
    Committed: Tue Jun 9 13:30:00 2015 -0700

    ----------------------------------------------------------------------
      .../test/resources/testconfiguration.properties | 1 +
      .../hadoop/hive/ql/parse/GenTezUtils.java | 8 +
      .../tez_union_dynamic_partition.q | 21 +
      .../clientpositive/tez/explainuser_2.q.out | 63 +-
      .../tez/tez_union_dynamic_partition.q.out | 148 +++
      .../results/clientpositive/tez/union4.q.out | 4 +
      .../results/clientpositive/tez/union6.q.out | 4 +
      .../tez/vector_leftsemi_mapjoin.q.out | 1032 +++++++++---------
      .../tez/vector_multi_insert.q.out | 20 +-
      .../clientpositive/tez/vector_outer_join1.q.out | 48 +-
      .../clientpositive/tez/vector_outer_join2.q.out | 22 +-
      .../clientpositive/tez/vector_outer_join3.q.out | 60 +-
      .../clientpositive/tez/vector_outer_join4.q.out | 48 +-
      13 files changed, 855 insertions(+), 624 deletions(-)
    ----------------------------------------------------------------------


    http://git-wip-us.apache.org/repos/asf/hive/blob/bbf9b0eb/itests/src/test/resources/testconfiguration.properties
    ----------------------------------------------------------------------
    diff --git a/itests/src/test/resources/testconfiguration.properties b/itests/src/test/resources/testconfiguration.properties
    index 521a189..19e5397 100644
    --- a/itests/src/test/resources/testconfiguration.properties
    +++ b/itests/src/test/resources/testconfiguration.properties
    @@ -335,6 +335,7 @@ minitez.query.files=bucket_map_join_tez1.q,\
        tez_schema_evolution.q,\
        tez_union.q,\
        tez_union2.q,\
    + tez_union_dynamic_partition.q,\
        tez_union_view.q,\
        tez_union_decimal.q,\
        tez_union_group_by.q,\

    http://git-wip-us.apache.org/repos/asf/hive/blob/bbf9b0eb/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java
    ----------------------------------------------------------------------
    diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java
    index 0edfc5d..11c1df6 100644
    --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java
    +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java
    @@ -36,6 +36,7 @@ import org.apache.hadoop.hive.ql.exec.FetchTask;
      import org.apache.hadoop.hive.ql.exec.FileSinkOperator;
      import org.apache.hadoop.hive.ql.exec.HashTableDummyOperator;
      import org.apache.hadoop.hive.ql.exec.Operator;
    +import org.apache.hadoop.hive.ql.exec.OperatorUtils;
      import org.apache.hadoop.hive.ql.exec.ReduceSinkOperator;
      import org.apache.hadoop.hive.ql.exec.TableScanOperator;
      import org.apache.hadoop.hive.ql.exec.UnionOperator;
    @@ -238,6 +239,11 @@ public class GenTezUtils {

          Iterator<Operator<?>> it = newRoots.iterator();
          for (Operator<?> orig: roots) {
    + Set<FileSinkOperator> fsOpSet = OperatorUtils.findOperators(orig, FileSinkOperator.class);
    + for (FileSinkOperator fsOp : fsOpSet) {
    + context.fileSinkSet.remove(fsOp);
    + }
    +
            Operator<?> newRoot = it.next();

            replacementMap.put(orig, newRoot);
    @@ -301,6 +307,8 @@ public class GenTezUtils {
              linked.add(desc);

              desc.setDirName(new Path(path, ""+linked.size()));
    + desc.setLinkedFileSink(true);
    + desc.setParentDir(path);
              desc.setLinkedFileSinkDesc(linked);
            }


    http://git-wip-us.apache.org/repos/asf/hive/blob/bbf9b0eb/ql/src/test/queries/clientpositive/tez_union_dynamic_partition.q
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/queries/clientpositive/tez_union_dynamic_partition.q b/ql/src/test/queries/clientpositive/tez_union_dynamic_partition.q
    new file mode 100644
    index 0000000..1c44a6c
    --- /dev/null
    +++ b/ql/src/test/queries/clientpositive/tez_union_dynamic_partition.q
    @@ -0,0 +1,21 @@
    +create table dummy(i int);
    +insert into table dummy values (1);
    +select * from dummy;
    +
    +create table partunion1(id1 int) partitioned by (part1 string);
    +
    +set hive.exec.dynamic.partition.mode=nonstrict;
    +
    +explain insert into table partunion1 partition(part1)
    +select temps.* from (
    +select 1 as id1, '2014' as part1 from dummy
    +union all
    +select 2 as id1, '2014' as part1 from dummy ) temps;
    +
    +insert into table partunion1 partition(part1)
    +select temps.* from (
    +select 1 as id1, '2014' as part1 from dummy
    +union all
    +select 2 as id1, '2014' as part1 from dummy ) temps;
    +
    +select * from partunion1;

    http://git-wip-us.apache.org/repos/asf/hive/blob/bbf9b0eb/ql/src/test/results/clientpositive/tez/explainuser_2.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/explainuser_2.q.out b/ql/src/test/results/clientpositive/tez/explainuser_2.q.out
    index 0340714..222e89e 100644
    --- a/ql/src/test/results/clientpositive/tez/explainuser_2.q.out
    +++ b/ql/src/test/results/clientpositive/tez/explainuser_2.q.out
    @@ -3960,11 +3960,11 @@ Map 5 <- Union 2 (CONTAINS)
      Map 7 <- Map 6 (BROADCAST_EDGE)
      Map 8 <- Union 9 (CONTAINS)

    -Stage-7
    +Stage-15
         Stats-Aggr Operator
    - Stage-2
    + Stage-1
               Move Operator
    - table:{"serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe","name:":"default.c","input format:":"org.apache.hadoop.mapred.TextInputFormat","output format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat"}
    + table:{"serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe","name:":"default.b","input format:":"org.apache.hadoop.mapred.TextInputFormat","output format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat"}
                  Stage-4
                     Dependency Collection{}
                        Stage-3
    @@ -4344,18 +4344,63 @@ Stage-7
                                 Statistics:Num rows: 1705 Data size: 18038 Basic stats: COMPLETE Column stats: NONE
                                 table:{"serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe","name:":"default.c","input format:":"org.apache.hadoop.mapred.TextInputFormat","output format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat"}
                                  Please refer to the previous Select Operator [SEL_17]
    -Stage-6
    +Stage-14
         Stats-Aggr Operator
    - Stage-1
    + Stage-0
               Move Operator
    - table:{"serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe","name:":"default.b","input format:":"org.apache.hadoop.mapred.TextInputFormat","output format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat"}
    + table:{"serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe","name:":"default.a","input format:":"org.apache.hadoop.mapred.TextInputFormat","output format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat"}
                   Please refer to the previous Stage-4
    -Stage-5
    +Stage-13
         Stats-Aggr Operator
    - Stage-0
    + Stage-2
               Move Operator
    - table:{"serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe","name:":"default.a","input format:":"org.apache.hadoop.mapred.TextInputFormat","output format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat"}
    + table:{"serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe","name:":"default.c","input format:":"org.apache.hadoop.mapred.TextInputFormat","output format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat"}
                   Please refer to the previous Stage-4
    +Stage-12
    + Stats-Aggr Operator
    + Please refer to the previous Stage-1
    +Stage-19
    + Stats-Aggr Operator
    + Please refer to the previous Stage-2
    +Stage-18
    + Stats-Aggr Operator
    + Please refer to the previous Stage-1
    +Stage-17
    + Stats-Aggr Operator
    + Please refer to the previous Stage-0
    +Stage-16
    + Stats-Aggr Operator
    + Please refer to the previous Stage-2
    +Stage-20
    + Stats-Aggr Operator
    + Please refer to the previous Stage-0
    +Stage-9
    + Stats-Aggr Operator
    + Please refer to the previous Stage-1
    +Stage-22
    + Stats-Aggr Operator
    + Please refer to the previous Stage-2
    +Stage-8
    + Stats-Aggr Operator
    + Please refer to the previous Stage-0
    +Stage-21
    + Stats-Aggr Operator
    + Please refer to the previous Stage-1
    +Stage-7
    + Stats-Aggr Operator
    + Please refer to the previous Stage-2
    +Stage-6
    + Stats-Aggr Operator
    + Please refer to the previous Stage-1
    +Stage-10
    + Stats-Aggr Operator
    + Please refer to the previous Stage-2
    +Stage-11
    + Stats-Aggr Operator
    + Please refer to the previous Stage-0
    +Stage-5
    + Stats-Aggr Operator
    + Please refer to the previous Stage-0
      PREHOOK: query: explain
      FROM
      (

    http://git-wip-us.apache.org/repos/asf/hive/blob/bbf9b0eb/ql/src/test/results/clientpositive/tez/tez_union_dynamic_partition.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/tez_union_dynamic_partition.q.out b/ql/src/test/results/clientpositive/tez/tez_union_dynamic_partition.q.out
    new file mode 100644
    index 0000000..68a7531
    --- /dev/null
    +++ b/ql/src/test/results/clientpositive/tez/tez_union_dynamic_partition.q.out
    @@ -0,0 +1,148 @@
    +PREHOOK: query: create table dummy(i int)
    +PREHOOK: type: CREATETABLE
    +PREHOOK: Output: database:default
    +PREHOOK: Output: default@dummy
    +POSTHOOK: query: create table dummy(i int)
    +POSTHOOK: type: CREATETABLE
    +POSTHOOK: Output: database:default
    +POSTHOOK: Output: default@dummy
    +PREHOOK: query: insert into table dummy values (1)
    +PREHOOK: type: QUERY
    +PREHOOK: Input: default@values__tmp__table__1
    +PREHOOK: Output: default@dummy
    +POSTHOOK: query: insert into table dummy values (1)
    +POSTHOOK: type: QUERY
    +POSTHOOK: Input: default@values__tmp__table__1
    +POSTHOOK: Output: default@dummy
    +POSTHOOK: Lineage: dummy.i EXPRESSION [(values__tmp__table__1)values__tmp__table__1.FieldSchema(name:tmp_values_col1, type:string, comment:), ]
    +PREHOOK: query: select * from dummy
    +PREHOOK: type: QUERY
    +PREHOOK: Input: default@dummy
    +#### A masked pattern was here ####
    +POSTHOOK: query: select * from dummy
    +POSTHOOK: type: QUERY
    +POSTHOOK: Input: default@dummy
    +#### A masked pattern was here ####
    +1
    +PREHOOK: query: create table partunion1(id1 int) partitioned by (part1 string)
    +PREHOOK: type: CREATETABLE
    +PREHOOK: Output: database:default
    +PREHOOK: Output: default@partunion1
    +POSTHOOK: query: create table partunion1(id1 int) partitioned by (part1 string)
    +POSTHOOK: type: CREATETABLE
    +POSTHOOK: Output: database:default
    +POSTHOOK: Output: default@partunion1
    +PREHOOK: query: explain insert into table partunion1 partition(part1)
    +select temps.* from (
    +select 1 as id1, '2014' as part1 from dummy
    +union all
    +select 2 as id1, '2014' as part1 from dummy ) temps
    +PREHOOK: type: QUERY
    +POSTHOOK: query: explain insert into table partunion1 partition(part1)
    +select temps.* from (
    +select 1 as id1, '2014' as part1 from dummy
    +union all
    +select 2 as id1, '2014' as part1 from dummy ) temps
    +POSTHOOK: type: QUERY
    +STAGE DEPENDENCIES:
    + Stage-1 is a root stage
    + Stage-2 depends on stages: Stage-1
    + Stage-0 depends on stages: Stage-2
    + Stage-3 depends on stages: Stage-0
    + Stage-4 depends on stages: Stage-0
    +
    +STAGE PLANS:
    + Stage: Stage-1
    + Tez
    + Edges:
    + Map 1 <- Union 2 (CONTAINS)
    + Map 3 <- Union 2 (CONTAINS)
    +#### A masked pattern was here ####
    + Vertices:
    + Map 1
    + Map Operator Tree:
    + TableScan
    + alias: dummy
    + Statistics: Num rows: 1 Data size: 1 Basic stats: COMPLETE Column stats: COMPLETE
    + Select Operator
    + expressions: 1 (type: int), '2014' (type: string)
    + outputColumnNames: _col0, _col1
    + Statistics: Num rows: 1 Data size: 92 Basic stats: COMPLETE Column stats: COMPLETE
    + File Output Operator
    + compressed: false
    + Statistics: Num rows: 2 Data size: 184 Basic stats: COMPLETE Column stats: COMPLETE
    + table:
    + input format: org.apache.hadoop.mapred.TextInputFormat
    + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
    + name: default.partunion1
    + Map 3
    + Map Operator Tree:
    + TableScan
    + alias: dummy
    + Statistics: Num rows: 1 Data size: 1 Basic stats: COMPLETE Column stats: COMPLETE
    + Select Operator
    + expressions: 2 (type: int), '2014' (type: string)
    + outputColumnNames: _col0, _col1
    + Statistics: Num rows: 1 Data size: 92 Basic stats: COMPLETE Column stats: COMPLETE
    + File Output Operator
    + compressed: false
    + Statistics: Num rows: 2 Data size: 184 Basic stats: COMPLETE Column stats: COMPLETE
    + table:
    + input format: org.apache.hadoop.mapred.TextInputFormat
    + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
    + name: default.partunion1
    + Union 2
    + Vertex: Union 2
    +
    + Stage: Stage-2
    + Dependency Collection
    +
    + Stage: Stage-0
    + Move Operator
    + tables:
    + partition:
    + part1
    + replace: false
    + table:
    + input format: org.apache.hadoop.mapred.TextInputFormat
    + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
    + name: default.partunion1
    +
    + Stage: Stage-3
    + Stats-Aggr Operator
    +
    + Stage: Stage-4
    + Stats-Aggr Operator
    +
    +PREHOOK: query: insert into table partunion1 partition(part1)
    +select temps.* from (
    +select 1 as id1, '2014' as part1 from dummy
    +union all
    +select 2 as id1, '2014' as part1 from dummy ) temps
    +PREHOOK: type: QUERY
    +PREHOOK: Input: default@dummy
    +PREHOOK: Output: default@partunion1
    +POSTHOOK: query: insert into table partunion1 partition(part1)
    +select temps.* from (
    +select 1 as id1, '2014' as part1 from dummy
    +union all
    +select 2 as id1, '2014' as part1 from dummy ) temps
    +POSTHOOK: type: QUERY
    +POSTHOOK: Input: default@dummy
    +POSTHOOK: Output: default@partunion1@part1=2014
    +POSTHOOK: Lineage: partunion1 PARTITION(part1=2014).id1 EXPRESSION []
    +PREHOOK: query: select * from partunion1
    +PREHOOK: type: QUERY
    +PREHOOK: Input: default@partunion1
    +PREHOOK: Input: default@partunion1@part1=2014
    +#### A masked pattern was here ####
    +POSTHOOK: query: select * from partunion1
    +POSTHOOK: type: QUERY
    +POSTHOOK: Input: default@partunion1
    +POSTHOOK: Input: default@partunion1@part1=2014
    +#### A masked pattern was here ####
    +1 2014
    +2 2014

    http://git-wip-us.apache.org/repos/asf/hive/blob/bbf9b0eb/ql/src/test/results/clientpositive/tez/union4.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/union4.q.out b/ql/src/test/results/clientpositive/tez/union4.q.out
    index 7cd6099..9d079ad 100644
    --- a/ql/src/test/results/clientpositive/tez/union4.q.out
    +++ b/ql/src/test/results/clientpositive/tez/union4.q.out
    @@ -33,6 +33,7 @@ STAGE DEPENDENCIES:
        Stage-2 depends on stages: Stage-1
        Stage-0 depends on stages: Stage-2
        Stage-3 depends on stages: Stage-0
    + Stage-4 depends on stages: Stage-0

      STAGE PLANS:
        Stage: Stage-1
    @@ -139,6 +140,9 @@ STAGE PLANS:
        Stage: Stage-3
          Stats-Aggr Operator

    + Stage: Stage-4
    + Stats-Aggr Operator
    +
      PREHOOK: query: insert overwrite table tmptable
      select unionsrc.key, unionsrc.value FROM (select 'tst1' as key, count(1) as value from src s1
                                              UNION ALL

    http://git-wip-us.apache.org/repos/asf/hive/blob/bbf9b0eb/ql/src/test/results/clientpositive/tez/union6.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/union6.q.out b/ql/src/test/results/clientpositive/tez/union6.q.out
    index 77f1d0e..4647278 100644
    --- a/ql/src/test/results/clientpositive/tez/union6.q.out
    +++ b/ql/src/test/results/clientpositive/tez/union6.q.out
    @@ -31,6 +31,7 @@ STAGE DEPENDENCIES:
        Stage-2 depends on stages: Stage-1
        Stage-0 depends on stages: Stage-2
        Stage-3 depends on stages: Stage-0
    + Stage-4 depends on stages: Stage-0

      STAGE PLANS:
        Stage: Stage-1
    @@ -111,6 +112,9 @@ STAGE PLANS:
        Stage: Stage-3
          Stats-Aggr Operator

    + Stage: Stage-4
    + Stats-Aggr Operator
    +
      PREHOOK: query: insert overwrite table tmptable
      select unionsrc.key, unionsrc.value FROM (select 'tst1' as key, cast(count(1) as string) as value from src s1
                                            UNION ALL
  • Vgumashta at Jun 9, 2015 at 8:30 pm
    Repository: hive
    Updated Branches:
       refs/heads/branch-1 a854def40 -> bbf9b0ebd


    http://git-wip-us.apache.org/repos/asf/hive/blob/bbf9b0eb/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out b/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out
    index b54f496..1080bf4 100644
    --- a/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out
    +++ b/ql/src/test/results/clientpositive/tez/vector_multi_insert.q.out
    @@ -85,17 +85,17 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 154 Data size: 616 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 3 Data size: 12 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (rn < 100) (type: boolean)
    - Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: rn (type: int)
                            outputColumnNames: _col0
    - Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -103,14 +103,14 @@ STAGE PLANS:
                                  name: default.orc_rn1
                        Filter Operator
                          predicate: ((rn >= 100) and (rn < 1000)) (type: boolean)
    - Statistics: Num rows: 17 Data size: 68 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: rn (type: int)
                            outputColumnNames: _col0
    - Statistics: Num rows: 17 Data size: 68 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 17 Data size: 68 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -118,14 +118,14 @@ STAGE PLANS:
                                  name: default.orc_rn2
                        Filter Operator
                          predicate: (rn >= 1000) (type: boolean)
    - Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: rn (type: int)
                            outputColumnNames: _col0
    - Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 51 Data size: 204 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat

    http://git-wip-us.apache.org/repos/asf/hive/blob/bbf9b0eb/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out b/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out
    index a2f4458..4101c35 100644
    --- a/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out
    +++ b/ql/src/test/results/clientpositive/tez/vector_outer_join1.q.out
    @@ -111,11 +111,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint), csmallint (type: smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), cdouble (type: double), cstring1 (type: string), cstring2 (type: string), ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: boolean), cboolean2 (type: boolean)
                          outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
    - Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -125,11 +125,11 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col20, _col21, _col22, _col23
                            input vertices:
                              1 Map 2
    - Statistics: Num rows: 14 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 14 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -139,16 +139,16 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint), csmallint (type: smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), cdouble (type: double), cstring1 (type: string), cstring2 (type: string), ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: boolean), cboolean2 (type: boolean)
                          outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
    - Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col2 (type: int)
                            sort order: +
                            Map-reduce partition columns: _col2 (type: int)
    - Statistics: Num rows: 13 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                            value expressions: _col0 (type: tinyint), _col1 (type: smallint), _col3 (type: bigint), _col4 (type: float), _col5 (type: double), _col6 (type: string), _col7 (type: string), _col8 (type: timestamp), _col9 (type: timestamp), _col10 (type: boolean), _col11 (type: boolean)
                  Execution mode: vectorized

    @@ -218,11 +218,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -232,11 +232,11 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 2
    - Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -246,16 +246,16 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: tinyint)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: tinyint)
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized

        Stage: Stage-0
    @@ -357,11 +357,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint), cint (type: int)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -371,7 +371,7 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -382,7 +382,7 @@ STAGE PLANS:
                              outputColumnNames: _col0
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 1263 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Group By Operator
                                aggregations: count(), sum(_col0)
    @@ -398,31 +398,31 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int)
                          outputColumnNames: _col0
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 4
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: tinyint)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: tinyint)
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:

    http://git-wip-us.apache.org/repos/asf/hive/blob/bbf9b0eb/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out b/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out
    index 8c8f54e..b8e18e0 100644
    --- a/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out
    +++ b/ql/src/test/results/clientpositive/tez/vector_outer_join2.q.out
    @@ -118,11 +118,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 348 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int), cbigint (type: bigint)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 348 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -132,7 +132,7 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -143,12 +143,12 @@ STAGE PLANS:
                              outputColumnNames: _col1
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 1263 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Select Operator
                                expressions: _col1 (type: bigint)
                                outputColumnNames: _col0
    - Statistics: Num rows: 1263 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                                Group By Operator
                                  aggregations: count(), sum(_col0)
                                  mode: hash
    @@ -163,31 +163,31 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int)
                          outputColumnNames: _col0
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 4
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cbigint (type: bigint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: bigint)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: bigint)
    - Statistics: Num rows: 522 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:

    http://git-wip-us.apache.org/repos/asf/hive/blob/bbf9b0eb/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out b/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out
    index fa47a03..b5619a0 100644
    --- a/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out
    +++ b/ql/src/test/results/clientpositive/tez/vector_outer_join3.q.out
    @@ -118,11 +118,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int), cstring1 (type: string)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -132,7 +132,7 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 1149 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -142,7 +142,7 @@ STAGE PLANS:
                                1 _col0 (type: string)
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 1263 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Group By Operator
                                aggregations: count()
    @@ -158,31 +158,31 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int)
                          outputColumnNames: _col0
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 1045 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 4
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cstring1 (type: string)
                          outputColumnNames: _col0
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: string)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: string)
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:
    @@ -265,11 +265,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 20 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cstring1 (type: string), cstring2 (type: string)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 20 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -279,7 +279,7 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 45 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -289,7 +289,7 @@ STAGE PLANS:
                                1 _col0 (type: string)
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 49 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Group By Operator
                                aggregations: count()
    @@ -305,31 +305,31 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cstring2 (type: string)
                          outputColumnNames: _col0
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: string)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: string)
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 4
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cstring1 (type: string)
                          outputColumnNames: _col0
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: string)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: string)
    - Statistics: Num rows: 41 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:
    @@ -412,11 +412,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 19 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int), cbigint (type: bigint), cstring1 (type: string), cstring2 (type: string)
                          outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 19 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -426,7 +426,7 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col2
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 41 Data size: 4601 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 16 Data size: 4162 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -436,7 +436,7 @@ STAGE PLANS:
                                1 _col1 (type: string), _col0 (type: int)
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 45 Data size: 5061 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 17 Data size: 4578 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Group By Operator
                                aggregations: count()
    @@ -452,31 +452,31 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 38 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cbigint (type: bigint), cstring2 (type: string)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 38 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col1 (type: string), _col0 (type: bigint)
                            sort order: ++
                            Map-reduce partition columns: _col1 (type: string), _col0 (type: bigint)
    - Statistics: Num rows: 38 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 4
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int), cstring1 (type: string)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col1 (type: string), _col0 (type: int)
                            sort order: ++
                            Map-reduce partition columns: _col1 (type: string), _col0 (type: int)
    - Statistics: Num rows: 40 Data size: 4183 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 15 Data size: 3784 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:

    http://git-wip-us.apache.org/repos/asf/hive/blob/bbf9b0eb/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out b/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out
    index a73cd06..2c9a9cd 100644
    --- a/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out
    +++ b/ql/src/test/results/clientpositive/tez/vector_outer_join4.q.out
    @@ -111,11 +111,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint), csmallint (type: smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), cdouble (type: double), cstring1 (type: string), cstring2 (type: string), ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: boolean), cboolean2 (type: boolean)
                          outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
    - Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -125,11 +125,11 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col20, _col21, _col22, _col23
                            input vertices:
                              1 Map 2
    - Statistics: Num rows: 13 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 13 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -139,16 +139,16 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint), csmallint (type: smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), cdouble (type: double), cstring1 (type: string), cstring2 (type: string), ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: boolean), cboolean2 (type: boolean)
                          outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
    - Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col2 (type: int)
                            sort order: +
                            Map-reduce partition columns: _col2 (type: int)
    - Statistics: Num rows: 12 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                            value expressions: _col0 (type: tinyint), _col1 (type: smallint), _col3 (type: bigint), _col4 (type: float), _col5 (type: double), _col6 (type: string), _col7 (type: string), _col8 (type: timestamp), _col9 (type: timestamp), _col10 (type: boolean), _col11 (type: boolean)
                  Execution mode: vectorized

    @@ -613,11 +613,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -627,11 +627,11 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 2
    - Statistics: Num rows: 1095 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            File Output Operator
                              compressed: false
    - Statistics: Num rows: 1095 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                              table:
                                  input format: org.apache.hadoop.mapred.TextInputFormat
                                  output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -641,16 +641,16 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: tinyint)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: tinyint)
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized

        Stage: Stage-0
    @@ -749,11 +749,11 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 498 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint), cint (type: int)
                          outputColumnNames: _col0, _col1
    - Statistics: Num rows: 498 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Outer Join0 to 1
    @@ -763,7 +763,7 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 1095 Data size: 4385 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 33 Data size: 6514 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -773,7 +773,7 @@ STAGE PLANS:
                                1 _col0 (type: tinyint)
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 1204 Data size: 4823 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 36 Data size: 7165 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Group By Operator
                                aggregations: count()
    @@ -789,31 +789,31 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: cint (type: int)
                          outputColumnNames: _col0
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 4
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                        Select Operator
                          expressions: ctinyint (type: tinyint)
                          outputColumnNames: _col0
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: tinyint)
                            sort order: +
                            Map-reduce partition columns: _col0 (type: tinyint)
    - Statistics: Num rows: 996 Data size: 3987 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 30 Data size: 5922 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:
  • Vgumashta at Jun 9, 2015 at 8:30 pm
    http://git-wip-us.apache.org/repos/asf/hive/blob/bbf9b0eb/ql/src/test/results/clientpositive/tez/vector_leftsemi_mapjoin.q.out
    ----------------------------------------------------------------------
    diff --git a/ql/src/test/results/clientpositive/tez/vector_leftsemi_mapjoin.q.out b/ql/src/test/results/clientpositive/tez/vector_leftsemi_mapjoin.q.out
    index 9f40f9e..6e4971d 100644
    --- a/ql/src/test/results/clientpositive/tez/vector_leftsemi_mapjoin.q.out
    +++ b/ql/src/test/results/clientpositive/tez/vector_leftsemi_mapjoin.q.out
    @@ -435,42 +435,42 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                            Select Operator
                              expressions: _col1 (type: string)
                              outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: string)
                                sort order: +
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
                        alias: b
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key < 15) (type: boolean)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                          Group By Operator
                            keys: key (type: int), key (type: int)
                            mode: hash
                            outputColumnNames: _col0, _col1
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col1 (type: int)
                              sort order: +
                              Map-reduce partition columns: _col1 (type: int)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
              Reducer 2
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: string)
                      outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -616,24 +616,24 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: t3
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key > 5) (type: boolean)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int)
                            outputColumnNames: _col0
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                            Group By Operator
                              keys: _col0 (type: int)
                              mode: hash
                              outputColumnNames: _col0
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
                                Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
              Map 2
                  Map Operator Tree:
                      TableScan
    @@ -651,24 +651,24 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 1
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                            Select Operator
                              expressions: _col1 (type: string)
                              outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: string)
                                sort order: +
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: string)
                      outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -902,10 +902,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -915,11 +915,11 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col0 (type: int)
                              sort order: +
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -947,10 +947,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1121,15 +1121,15 @@ STAGE PLANS:
                            input vertices:
                              1 Map 3
                              2 Map 4
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                            Select Operator
                              expressions: _col0 (type: int), _col1 (type: string), _col5 (type: int), _col6 (type: string)
                              outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int), _col1 (type: string)
                                sort order: ++
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                                value expressions: _col2 (type: int), _col3 (type: string)
              Map 3
                  Map Operator Tree:
    @@ -1149,33 +1149,33 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int)
                            outputColumnNames: key
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                            Group By Operator
                              keys: key (type: int)
                              mode: hash
                              outputColumnNames: _col0
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
                                Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
              Reducer 2
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int), KEY.reducesinkkey1 (type: string), VALUE._col0 (type: int), VALUE._col1 (type: string)
                      outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1233,10 +1233,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key is not null and value is not null) (type: boolean)
    - Statistics: Num rows: 2 Data size: 238 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 558 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -1246,11 +1246,11 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col0 (type: int), _col1 (type: string)
                              sort order: ++
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -1278,10 +1278,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int), KEY.reducesinkkey1 (type: string)
                      outputColumnNames: _col0, _col1
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1337,10 +1337,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -1353,11 +1353,11 @@ STAGE PLANS:
                            input vertices:
                              1 Map 3
                              2 Map 4
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col0 (type: int)
                              sort order: +
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -1407,10 +1407,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1468,7 +1468,7 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Map Join Operator
                          condition map:
                               Left Outer Join0 to 1
    @@ -1481,11 +1481,11 @@ STAGE PLANS:
                          input vertices:
                            1 Map 3
                            2 Map 4
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -1520,10 +1520,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1603,12 +1603,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: b
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 5
                  Map Operator Tree:
                      TableScan
    @@ -1639,20 +1639,20 @@ STAGE PLANS:
                        1 key (type: int)
                        2 _col0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1725,12 +1725,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 4
                  Map Operator Tree:
                      TableScan
    @@ -1771,20 +1771,20 @@ STAGE PLANS:
                        1 _col0 (type: int)
                        2 key (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1857,12 +1857,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 4
                  Map Operator Tree:
                      TableScan
    @@ -1903,20 +1903,20 @@ STAGE PLANS:
                        1 _col0 (type: int)
                        2 key (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -1991,12 +1991,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 4
                  Map Operator Tree:
                      TableScan
    @@ -2037,20 +2037,20 @@ STAGE PLANS:
                        1 _col0 (type: int)
                        2 key (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -2136,10 +2136,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 3 Data size: 358 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -2149,7 +2149,7 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                            Map Join Operator
                              condition map:
                                   Left Outer Join0 to 1
    @@ -2159,11 +2159,11 @@ STAGE PLANS:
                              outputColumnNames: _col0
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -2201,10 +2201,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -2282,14 +2282,14 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: ((key > 100) and value is not null) (type: boolean)
    - Statistics: Num rows: 1 Data size: 119 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int), value (type: string)
                            outputColumnNames: _col0, _col1
    - Statistics: Num rows: 1 Data size: 119 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: NONE
                            Map Join Operator
                              condition map:
                                   Left Semi Join 0 to 1
    @@ -2666,43 +2666,43 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Select Operator
                              expressions: _col1 (type: string)
                              outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: string)
                                sort order: +
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
                        alias: b
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key < 15) (type: boolean)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                          Group By Operator
                            keys: key (type: int), key (type: int)
                            mode: hash
                            outputColumnNames: _col0, _col1
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col1 (type: int)
                              sort order: +
                              Map-reduce partition columns: _col1 (type: int)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
              Reducer 2
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: string)
                      outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -2849,24 +2849,24 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: t3
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key > 5) (type: boolean)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int)
                            outputColumnNames: _col0
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                            Group By Operator
                              keys: _col0 (type: int)
                              mode: hash
                              outputColumnNames: _col0
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
                                Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
              Map 2
                  Map Operator Tree:
                      TableScan
    @@ -2884,25 +2884,25 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 1
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Select Operator
                              expressions: _col1 (type: string)
                              outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: string)
                                sort order: +
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: string)
                      outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3138,10 +3138,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -3151,12 +3151,12 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Reduce Output Operator
                              key expressions: _col0 (type: int)
                              sort order: +
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -3184,10 +3184,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3359,16 +3359,16 @@ STAGE PLANS:
                            input vertices:
                              1 Map 3
                              2 Map 4
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Select Operator
                              expressions: _col0 (type: int), _col1 (type: string), _col5 (type: int), _col6 (type: string)
                              outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int), _col1 (type: string)
                                sort order: ++
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                                value expressions: _col2 (type: int), _col3 (type: string)
              Map 3
                  Map Operator Tree:
    @@ -3388,33 +3388,33 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int)
                            outputColumnNames: key
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                            Group By Operator
                              keys: key (type: int)
                              mode: hash
                              outputColumnNames: _col0
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
                                Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
              Reducer 2
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int), KEY.reducesinkkey1 (type: string), VALUE._col0 (type: int), VALUE._col1 (type: string)
                      outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3472,10 +3472,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key is not null and value is not null) (type: boolean)
    - Statistics: Num rows: 2 Data size: 238 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 558 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -3485,12 +3485,12 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Reduce Output Operator
                              key expressions: _col0 (type: int), _col1 (type: string)
                              sort order: ++
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -3518,10 +3518,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int), KEY.reducesinkkey1 (type: string)
                      outputColumnNames: _col0, _col1
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 3 Data size: 306 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3577,10 +3577,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -3593,12 +3593,12 @@ STAGE PLANS:
                            input vertices:
                              1 Map 3
                              2 Map 4
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Reduce Output Operator
                              key expressions: _col0 (type: int)
                              sort order: +
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -3648,10 +3648,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3709,7 +3709,7 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Map Join Operator
                          condition map:
                               Left Outer Join0 to 1
    @@ -3722,12 +3722,12 @@ STAGE PLANS:
                          input vertices:
                            1 Map 3
                            2 Map 4
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                          HybridGraceHashJoin: true
                          Reduce Output Operator
                            key expressions: _col0 (type: int)
                            sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -3762,10 +3762,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3845,12 +3845,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: b
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 5
                  Map Operator Tree:
                      TableScan
    @@ -3881,20 +3881,20 @@ STAGE PLANS:
                        1 key (type: int)
                        2 _col0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -3967,12 +3967,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 4
                  Map Operator Tree:
                      TableScan
    @@ -4013,20 +4013,20 @@ STAGE PLANS:
                        1 _col0 (type: int)
                        2 key (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -4099,12 +4099,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 4
                  Map Operator Tree:
                      TableScan
    @@ -4145,20 +4145,20 @@ STAGE PLANS:
                        1 _col0 (type: int)
                        2 key (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -4233,12 +4233,12 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Reduce Output Operator
                          key expressions: key (type: int)
                          sort order: +
                          Map-reduce partition columns: key (type: int)
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
              Map 4
                  Map Operator Tree:
                      TableScan
    @@ -4279,20 +4279,20 @@ STAGE PLANS:
                        1 _col0 (type: int)
                        2 key (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      Reduce Output Operator
                        key expressions: _col0 (type: int)
                        sort order: +
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 393 Data size: 1575 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 48 Data size: 4501 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -4378,10 +4378,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 3 Data size: 358 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -4391,7 +4391,7 @@ STAGE PLANS:
                            outputColumnNames: _col0, _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 6 Data size: 613 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                            HybridGraceHashJoin: true
                            Map Join Operator
                              condition map:
    @@ -4402,12 +4402,12 @@ STAGE PLANS:
                              outputColumnNames: _col0
                              input vertices:
                                1 Map 4
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
                              HybridGraceHashJoin: true
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
              Map 3
                  Map Operator Tree:
                      TableScan
    @@ -4445,10 +4445,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 13 Data size: 1237 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -4526,14 +4526,14 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 6 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: ((key > 100) and value is not null) (type: boolean)
    - Statistics: Num rows: 1 Data size: 119 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int), value (type: string)
                            outputColumnNames: _col0, _col1
    - Statistics: Num rows: 1 Data size: 119 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: NONE
                            Map Join Operator
                              condition map:
                                   Left Semi Join 0 to 1
    @@ -4917,44 +4917,44 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                            Select Operator
                              expressions: _col1 (type: string)
                              outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: string)
                                sort order: +
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 3
                  Map Operator Tree:
                      TableScan
                        alias: b
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key < 15) (type: boolean)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                          Group By Operator
                            keys: key (type: int), key (type: int)
                            mode: hash
                            outputColumnNames: _col0, _col1
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col1 (type: int)
                              sort order: +
                              Map-reduce partition columns: _col1 (type: int)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 2
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: string)
                      outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -5104,24 +5104,24 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: t3
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: (key > 5) (type: boolean)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int)
                            outputColumnNames: _col0
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                            Group By Operator
                              keys: _col0 (type: int)
                              mode: hash
                              outputColumnNames: _col0
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int)
                                sort order: +
                                Map-reduce partition columns: _col0 (type: int)
    - Statistics: Num rows: 59 Data size: 236 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 651 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 2
                  Map Operator Tree:
    @@ -5140,25 +5140,25 @@ STAGE PLANS:
                            outputColumnNames: _col1
                            input vertices:
                              1 Map 1
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                            Select Operator
                              expressions: _col1 (type: string)
                              outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: string)
                                sort order: +
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Reducer 3
                  Reduce Operator Tree:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: string)
                      outputColumnNames: _col0
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 64 Data size: 259 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 7 Data size: 716 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -5399,10 +5399,10 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: a
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Map Join Operator
                            condition map:
                                 Left Semi Join 0 to 1
    @@ -5412,11 +5412,11 @@ STAGE PLANS:
                            outputColumnNames: _col0
                            input vertices:
                              1 Map 3
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                            Reduce Output Operator
                              key expressions: _col0 (type: int)
                              sort order: +
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                  Execution mode: vectorized
              Map 3
                  Map Operator Tree:
    @@ -5446,10 +5446,10 @@ STAGE PLANS:
                    Select Operator
                      expressions: KEY.reducesinkkey0 (type: int)
                      outputColumnNames: _col0
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                      File Output Operator
                        compressed: false
    - Statistics: Num rows: 99 Data size: 396 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 12 Data size: 1125 Basic stats: COMPLETE Column stats: NONE
                        table:
                            input format: org.apache.hadoop.mapred.TextInputFormat
                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
    @@ -5624,15 +5624,15 @@ STAGE PLANS:
                            input vertices:
                              1 Map 3
                              2 Map 4
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                            Select Operator
                              expressions: _col0 (type: int), _col1 (type: string), _col5 (type: int), _col6 (type: string)
                              outputColumnNames: _col0, _col1, _col2, _col3
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                              Reduce Output Operator
                                key expressions: _col0 (type: int), _col1 (type: string)
                                sort order: ++
    - Statistics: Num rows: 198 Data size: 792 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 24 Data size: 2250 Basic stats: COMPLETE Column stats: NONE
                                value expressions: _col2 (type: int), _col3 (type: string)
                  Execution mode: vectorized
              Map 3
    @@ -5654,34 +5654,34 @@ STAGE PLANS:
                  Map Operator Tree:
                      TableScan
                        alias: c
    - Statistics: Num rows: 179 Data size: 716 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 22 Data size: 2046 Basic stats: COMPLETE Column stats: NONE
                        Filter Operator
                          predicate: key is not null (type: boolean)
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                          Select Operator
                            expressions: key (type: int)
                            outputColumnNames: key
    - Statistics: Num rows: 90 Data size: 360 Basic stats: COMPLETE Column stats: NONE
    + Statistics: Num rows: 11 Data size: 1023 Basic stats: COMPLETE Column stats: NONE
                            Group By Operator
                              keys: key (type: int)
                              mode: hash
                              outputColumnNames: _col0
    -