You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by gu...@apache.org on 2014/06/23 23:03:31 UTC

svn commit: r1604935 [18/40] - in /hive/trunk: hbase-handler/src/test/results/positive/ ql/src/java/org/apache/hadoop/hive/ql/optimizer/ ql/src/java/org/apache/hadoop/hive/ql/parse/ ql/src/test/results/clientnegative/ ql/src/test/results/clientpositive...

Modified: hive/trunk/ql/src/test/results/clientpositive/join_cond_pushdown_3.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/join_cond_pushdown_3.q.out?rev=1604935&r1=1604934&r2=1604935&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/join_cond_pushdown_3.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/join_cond_pushdown_3.q.out Mon Jun 23 21:03:24 2014
@@ -58,30 +58,39 @@ STAGE PLANS:
           TableScan
             alias: p3
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p_name (type: string)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_name is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p_name (type: string)
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
           TableScan
             alias: p2
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p_name (type: string)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_name is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p_name (type: string)
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
           TableScan
             alias: p1
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p_name (type: string)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_name is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p_name (type: string)
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
       Reduce Operator Tree:
         Join Operator
           condition map:
@@ -92,17 +101,17 @@ STAGE PLANS:
             1 {VALUE._col0} {KEY.reducesinkkey0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7}
             2 {VALUE._col0} {KEY.reducesinkkey0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7}
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col22, _col23, _col24, _col25, _col26, _col27, _col28, _col29, _col30
-          Statistics: Num rows: 11 Data size: 6980 Basic stats: COMPLETE Column stats: NONE
+          Statistics: Num rows: 6 Data size: 4186 Basic stats: COMPLETE Column stats: NONE
           Filter Operator
             predicate: ((_col1 = _col12) and (_col12 = _col23)) (type: boolean)
-            Statistics: Num rows: 2 Data size: 1269 Basic stats: COMPLETE Column stats: NONE
+            Statistics: Num rows: 1 Data size: 697 Basic stats: COMPLETE Column stats: NONE
             Select Operator
               expressions: _col0 (type: int), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: int), _col6 (type: string), _col7 (type: double), _col8 (type: string), _col11 (type: int), _col12 (type: string), _col13 (type: string), _col14 (type: string), _col15 (type: string), _col16 (type: int), _col17 (type: string), _col18 (type: double), _col19 (type: string), _col22 (type: int), _col23 (type: string), _col24 (type: string), _col25 (type: string), _col26 (type: string), _col27 (type: int), _col28 (type: string), _col29 (type: double), _col30 (type: string)
               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, _col24, _col25, _col26
-              Statistics: Num rows: 2 Data size: 1269 Basic stats: COMPLETE Column stats: NONE
+              Statistics: Num rows: 1 Data size: 697 Basic stats: COMPLETE Column stats: NONE
               File Output Operator
                 compressed: false
-                Statistics: Num rows: 2 Data size: 1269 Basic stats: COMPLETE Column stats: NONE
+                Statistics: Num rows: 1 Data size: 697 Basic stats: COMPLETE Column stats: NONE
                 table:
                     input format: org.apache.hadoop.mapred.TextInputFormat
                     output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -133,30 +142,39 @@ STAGE PLANS:
           TableScan
             alias: p3
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p_name (type: string)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_name is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p_name (type: string)
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
           TableScan
             alias: p2
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p_name (type: string)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_name is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p_name (type: string)
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
           TableScan
             alias: p1
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p_name (type: string)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_name is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p_name (type: string)
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
       Reduce Operator Tree:
         Join Operator
           condition map:
@@ -167,17 +185,17 @@ STAGE PLANS:
             1 {VALUE._col0} {KEY.reducesinkkey0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7}
             2 {VALUE._col0} {KEY.reducesinkkey0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7}
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col22, _col23, _col24, _col25, _col26, _col27, _col28, _col29, _col30
-          Statistics: Num rows: 11 Data size: 6980 Basic stats: COMPLETE Column stats: NONE
+          Statistics: Num rows: 6 Data size: 4186 Basic stats: COMPLETE Column stats: NONE
           Filter Operator
             predicate: ((_col12 = _col1) and (_col23 = _col12)) (type: boolean)
-            Statistics: Num rows: 2 Data size: 1269 Basic stats: COMPLETE Column stats: NONE
+            Statistics: Num rows: 1 Data size: 697 Basic stats: COMPLETE Column stats: NONE
             Select Operator
               expressions: _col0 (type: int), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: int), _col6 (type: string), _col7 (type: double), _col8 (type: string), _col11 (type: int), _col12 (type: string), _col13 (type: string), _col14 (type: string), _col15 (type: string), _col16 (type: int), _col17 (type: string), _col18 (type: double), _col19 (type: string), _col22 (type: int), _col23 (type: string), _col24 (type: string), _col25 (type: string), _col26 (type: string), _col27 (type: int), _col28 (type: string), _col29 (type: double), _col30 (type: string)
               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, _col24, _col25, _col26
-              Statistics: Num rows: 2 Data size: 1269 Basic stats: COMPLETE Column stats: NONE
+              Statistics: Num rows: 1 Data size: 697 Basic stats: COMPLETE Column stats: NONE
               File Output Operator
                 compressed: false
-                Statistics: Num rows: 2 Data size: 1269 Basic stats: COMPLETE Column stats: NONE
+                Statistics: Num rows: 1 Data size: 697 Basic stats: COMPLETE Column stats: NONE
                 table:
                     input format: org.apache.hadoop.mapred.TextInputFormat
                     output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -210,10 +228,13 @@ STAGE PLANS:
           TableScan
             alias: p2
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              sort order: 
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_partkey (type: int), p_name (type: string), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_name is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                sort order: 
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_partkey (type: int), p_name (type: string), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
           TableScan
             alias: p1
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
@@ -246,12 +267,15 @@ STAGE PLANS:
           TableScan
             alias: p3
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p_name (type: string)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_name is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p_name (type: string)
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
           TableScan
             Reduce Output Operator
               key expressions: _col12 (type: string)
@@ -267,17 +291,17 @@ STAGE PLANS:
             0 {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7} {VALUE._col8} {VALUE._col11} {KEY.reducesinkkey0} {VALUE._col12} {VALUE._col13} {VALUE._col14} {VALUE._col15} {VALUE._col16} {VALUE._col17} {VALUE._col18}
             1 {VALUE._col0} {KEY.reducesinkkey0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7}
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col22, _col23, _col24, _col25, _col26, _col27, _col28, _col29, _col30
-          Statistics: Num rows: 5 Data size: 3490 Basic stats: COMPLETE Column stats: NONE
+          Statistics: Num rows: 3 Data size: 2093 Basic stats: COMPLETE Column stats: NONE
           Filter Operator
             predicate: (((_col11 + _col0) = _col0) and (_col23 = _col12)) (type: boolean)
-            Statistics: Num rows: 1 Data size: 698 Basic stats: COMPLETE Column stats: NONE
+            Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
             Select Operator
               expressions: _col0 (type: int), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: int), _col6 (type: string), _col7 (type: double), _col8 (type: string), _col11 (type: int), _col12 (type: string), _col13 (type: string), _col14 (type: string), _col15 (type: string), _col16 (type: int), _col17 (type: string), _col18 (type: double), _col19 (type: string), _col22 (type: int), _col23 (type: string), _col24 (type: string), _col25 (type: string), _col26 (type: string), _col27 (type: int), _col28 (type: string), _col29 (type: double), _col30 (type: string)
               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, _col24, _col25, _col26
-              Statistics: Num rows: 1 Data size: 698 Basic stats: COMPLETE Column stats: NONE
+              Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
               File Output Operator
                 compressed: false
-                Statistics: Num rows: 1 Data size: 698 Basic stats: COMPLETE Column stats: NONE
+                Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
                 table:
                     input format: org.apache.hadoop.mapred.TextInputFormat
                     output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -311,11 +335,11 @@ STAGE PLANS:
             alias: p2
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
             Filter Operator
-              predicate: (p_partkey = 1) (type: boolean)
-              Statistics: Num rows: 2 Data size: 1269 Basic stats: COMPLETE Column stats: NONE
+              predicate: (p_name is not null and (p_partkey = 1)) (type: boolean)
+              Statistics: Num rows: 1 Data size: 634 Basic stats: COMPLETE Column stats: NONE
               Reduce Output Operator
                 sort order: 
-                Statistics: Num rows: 2 Data size: 1269 Basic stats: COMPLETE Column stats: NONE
+                Statistics: Num rows: 1 Data size: 634 Basic stats: COMPLETE Column stats: NONE
                 value expressions: p_partkey (type: int), p_name (type: string), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
           TableScan
             alias: p1
@@ -346,12 +370,15 @@ STAGE PLANS:
           TableScan
             alias: p3
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p_name (type: string)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_name is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p_name (type: string)
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
           TableScan
             Reduce Output Operator
               key expressions: _col12 (type: string)

Modified: hive/trunk/ql/src/test/results/clientpositive/join_cond_pushdown_4.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/join_cond_pushdown_4.q.out?rev=1604935&r1=1604934&r2=1604935&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/join_cond_pushdown_4.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/join_cond_pushdown_4.q.out Mon Jun 23 21:03:24 2014
@@ -58,39 +58,51 @@ STAGE PLANS:
           TableScan
             alias: p4
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p_name (type: string)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_name is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p_name (type: string)
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
           TableScan
             alias: p3
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p_name (type: string)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_name is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p_name (type: string)
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
           TableScan
             alias: p2
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p_name (type: string)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_name is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p_name (type: string)
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
           TableScan
             alias: p1
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p_name (type: string)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_name is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p_name (type: string)
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
       Reduce Operator Tree:
         Join Operator
           condition map:
@@ -103,17 +115,17 @@ STAGE PLANS:
             2 {VALUE._col0} {KEY.reducesinkkey0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7}
             3 {VALUE._col0} {KEY.reducesinkkey0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7}
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col22, _col23, _col24, _col25, _col26, _col27, _col28, _col29, _col30, _col33, _col34, _col35, _col36, _col37, _col38, _col39, _col40, _col41
-          Statistics: Num rows: 16 Data size: 10470 Basic stats: COMPLETE Column stats: NONE
+          Statistics: Num rows: 9 Data size: 6279 Basic stats: COMPLETE Column stats: NONE
           Filter Operator
             predicate: ((_col12 = _col23) and (_col1 = _col34)) (type: boolean)
-            Statistics: Num rows: 4 Data size: 2617 Basic stats: COMPLETE Column stats: NONE
+            Statistics: Num rows: 2 Data size: 1395 Basic stats: COMPLETE Column stats: NONE
             Select Operator
               expressions: _col0 (type: int), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: int), _col6 (type: string), _col7 (type: double), _col8 (type: string), _col11 (type: int), _col12 (type: string), _col13 (type: string), _col14 (type: string), _col15 (type: string), _col16 (type: int), _col17 (type: string), _col18 (type: double), _col19 (type: string), _col22 (type: int), _col23 (type: string), _col24 (type: string), _col25 (type: string), _col26 (type: string), _col27 (type: int), _col28 (type: string), _col29 (type: double), _col30 (type: string), _col33 (type: int), _col34 (type: string), _col35 (type: string), _col36 (type: string), _col37 (type: string), _col38 (type: int), _col39 (type: string), _col40 (type: double), _col41 (type: string)
               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, _col24, _col25, _col26, _col27, _col28, _col29, _col30, _col31, _col32, _col33, _col34, _col35
-              Statistics: Num rows: 4 Data size: 2617 Basic stats: COMPLETE Column stats: NONE
+              Statistics: Num rows: 2 Data size: 1395 Basic stats: COMPLETE Column stats: NONE
               File Output Operator
                 compressed: false
-                Statistics: Num rows: 4 Data size: 2617 Basic stats: COMPLETE Column stats: NONE
+                Statistics: Num rows: 2 Data size: 1395 Basic stats: COMPLETE Column stats: NONE
                 table:
                     input format: org.apache.hadoop.mapred.TextInputFormat
                     output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -148,21 +160,27 @@ STAGE PLANS:
           TableScan
             alias: p2
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string), p_partkey (type: int)
-              sort order: ++
-              Map-reduce partition columns: p_name (type: string), p_partkey (type: int)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: (p_name is not null and p_partkey is not null) (type: boolean)
+              Statistics: Num rows: 2 Data size: 1269 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string), p_partkey (type: int)
+                sort order: ++
+                Map-reduce partition columns: p_name (type: string), p_partkey (type: int)
+                Statistics: Num rows: 2 Data size: 1269 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
           TableScan
             alias: p1
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string), p_partkey (type: int)
-              sort order: ++
-              Map-reduce partition columns: p_name (type: string), p_partkey (type: int)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: (p_name is not null and p_partkey is not null) (type: boolean)
+              Statistics: Num rows: 2 Data size: 1269 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string), p_partkey (type: int)
+                sort order: ++
+                Map-reduce partition columns: p_name (type: string), p_partkey (type: int)
+                Statistics: Num rows: 2 Data size: 1269 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
       Reduce Operator Tree:
         Join Operator
           condition map:
@@ -171,7 +189,7 @@ STAGE PLANS:
             0 {KEY.reducesinkkey1} {KEY.reducesinkkey0} {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6}
             1 {KEY.reducesinkkey1} {KEY.reducesinkkey0} {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6}
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19
-          Statistics: Num rows: 5 Data size: 3490 Basic stats: COMPLETE Column stats: NONE
+          Statistics: Num rows: 2 Data size: 1395 Basic stats: COMPLETE Column stats: NONE
           File Output Operator
             compressed: false
             table:
@@ -185,18 +203,21 @@ STAGE PLANS:
           TableScan
             alias: p3
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p_name (type: string)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_name is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p_name (type: string)
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
           TableScan
             Reduce Output Operator
               key expressions: _col12 (type: string)
               sort order: +
               Map-reduce partition columns: _col12 (type: string)
-              Statistics: Num rows: 5 Data size: 3490 Basic stats: COMPLETE Column stats: NONE
+              Statistics: Num rows: 2 Data size: 1395 Basic stats: COMPLETE Column stats: NONE
               value expressions: _col0 (type: int), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: int), _col6 (type: string), _col7 (type: double), _col8 (type: string), _col11 (type: int), _col13 (type: string), _col14 (type: string), _col15 (type: string), _col16 (type: int), _col17 (type: string), _col18 (type: double), _col19 (type: string)
       Reduce Operator Tree:
         Join Operator
@@ -206,7 +227,7 @@ STAGE PLANS:
             0 {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7} {VALUE._col8} {VALUE._col11} {KEY.reducesinkkey0} {VALUE._col12} {VALUE._col13} {VALUE._col14} {VALUE._col15} {VALUE._col16} {VALUE._col17} {VALUE._col18}
             1 {VALUE._col0} {KEY.reducesinkkey0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7}
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col22, _col23, _col24, _col25, _col26, _col27, _col28, _col29, _col30
-          Statistics: Num rows: 5 Data size: 3839 Basic stats: COMPLETE Column stats: NONE
+          Statistics: Num rows: 3 Data size: 2093 Basic stats: COMPLETE Column stats: NONE
           File Output Operator
             compressed: false
             table:
@@ -220,18 +241,21 @@ STAGE PLANS:
           TableScan
             alias: p4
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_partkey (type: int)
-              sort order: +
-              Map-reduce partition columns: p_partkey (type: int)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_name (type: string), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_partkey is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_partkey (type: int)
+                sort order: +
+                Map-reduce partition columns: p_partkey (type: int)
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_name (type: string), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
           TableScan
             Reduce Output Operator
               key expressions: _col0 (type: int)
               sort order: +
               Map-reduce partition columns: _col0 (type: int)
-              Statistics: Num rows: 5 Data size: 3839 Basic stats: COMPLETE Column stats: NONE
+              Statistics: Num rows: 3 Data size: 2093 Basic stats: COMPLETE Column stats: NONE
               value expressions: _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: int), _col6 (type: string), _col7 (type: double), _col8 (type: string), _col11 (type: int), _col12 (type: string), _col13 (type: string), _col14 (type: string), _col15 (type: string), _col16 (type: int), _col17 (type: string), _col18 (type: double), _col19 (type: string), _col22 (type: int), _col23 (type: string), _col24 (type: string), _col25 (type: string), _col26 (type: string), _col27 (type: int), _col28 (type: string), _col29 (type: double), _col30 (type: string)
       Reduce Operator Tree:
         Join Operator
@@ -241,7 +265,7 @@ STAGE PLANS:
             0 {KEY.reducesinkkey0} {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7} {VALUE._col10} {VALUE._col11} {VALUE._col12} {VALUE._col13} {VALUE._col14} {VALUE._col15} {VALUE._col16} {VALUE._col17} {VALUE._col18} {VALUE._col21} {VALUE._col22} {VALUE._col23} {VALUE._col24} {VALUE._col25} {VALUE._col26} {VALUE._col27} {VALUE._col28} {VALUE._col29}
             1 {KEY.reducesinkkey0} {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7}
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col22, _col23, _col24, _col25, _col26, _col27, _col28, _col29, _col30, _col33, _col34, _col35, _col36, _col37, _col38, _col39, _col40, _col41
-          Statistics: Num rows: 5 Data size: 4222 Basic stats: COMPLETE Column stats: NONE
+          Statistics: Num rows: 3 Data size: 2302 Basic stats: COMPLETE Column stats: NONE
           Filter Operator
             predicate: (((_col12 = _col23) and (_col0 = _col33)) and (_col0 = _col11)) (type: boolean)
             Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE

Modified: hive/trunk/ql/src/test/results/clientpositive/join_cond_pushdown_unqual1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/join_cond_pushdown_unqual1.q.out?rev=1604935&r1=1604934&r2=1604935&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/join_cond_pushdown_unqual1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/join_cond_pushdown_unqual1.q.out Mon Jun 23 21:03:24 2014
@@ -110,30 +110,39 @@ STAGE PLANS:
           TableScan
             alias: p3
             Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p3_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p3_name (type: string)
+            Filter Operator
+              predicate: p3_name is not null (type: boolean)
               Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-              value expressions: p3_partkey (type: int), p3_mfgr (type: string), p3_brand (type: string), p3_type (type: string), p3_size (type: int), p3_container (type: string), p3_retailprice (type: double), p3_comment (type: string)
+              Reduce Output Operator
+                key expressions: p3_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p3_name (type: string)
+                Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
+                value expressions: p3_partkey (type: int), p3_mfgr (type: string), p3_brand (type: string), p3_type (type: string), p3_size (type: int), p3_container (type: string), p3_retailprice (type: double), p3_comment (type: string)
           TableScan
             alias: p2
             Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p2_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p2_name (type: string)
+            Filter Operator
+              predicate: p2_name is not null (type: boolean)
               Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-              value expressions: p2_partkey (type: int), p2_mfgr (type: string), p2_brand (type: string), p2_type (type: string), p2_size (type: int), p2_container (type: string), p2_retailprice (type: double), p2_comment (type: string)
+              Reduce Output Operator
+                key expressions: p2_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p2_name (type: string)
+                Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
+                value expressions: p2_partkey (type: int), p2_mfgr (type: string), p2_brand (type: string), p2_type (type: string), p2_size (type: int), p2_container (type: string), p2_retailprice (type: double), p2_comment (type: string)
           TableScan
             alias: p1
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p_name (type: string)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_name is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p_name (type: string)
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
       Reduce Operator Tree:
         Join Operator
           condition map:
@@ -144,14 +153,14 @@ STAGE PLANS:
             1 {VALUE._col0} {KEY.reducesinkkey0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7}
             2 {VALUE._col0} {KEY.reducesinkkey0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7}
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col22, _col23, _col24, _col25, _col26, _col27, _col28, _col29, _col30
-          Statistics: Num rows: 11 Data size: 6980 Basic stats: COMPLETE Column stats: NONE
+          Statistics: Num rows: 6 Data size: 4186 Basic stats: COMPLETE Column stats: NONE
           Select Operator
             expressions: _col0 (type: int), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: int), _col6 (type: string), _col7 (type: double), _col8 (type: string), _col11 (type: int), _col12 (type: string), _col13 (type: string), _col14 (type: string), _col15 (type: string), _col16 (type: int), _col17 (type: string), _col18 (type: double), _col19 (type: string), _col22 (type: int), _col23 (type: string), _col24 (type: string), _col25 (type: string), _col26 (type: string), _col27 (type: int), _col28 (type: string), _col29 (type: double), _col30 (type: string)
             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, _col24, _col25, _col26
-            Statistics: Num rows: 11 Data size: 6980 Basic stats: COMPLETE Column stats: NONE
+            Statistics: Num rows: 6 Data size: 4186 Basic stats: COMPLETE Column stats: NONE
             File Output Operator
               compressed: false
-              Statistics: Num rows: 11 Data size: 6980 Basic stats: COMPLETE Column stats: NONE
+              Statistics: Num rows: 6 Data size: 4186 Basic stats: COMPLETE Column stats: NONE
               table:
                   input format: org.apache.hadoop.mapred.TextInputFormat
                   output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -180,30 +189,39 @@ STAGE PLANS:
           TableScan
             alias: p3
             Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p3_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p3_name (type: string)
+            Filter Operator
+              predicate: p3_name is not null (type: boolean)
               Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-              value expressions: p3_partkey (type: int), p3_mfgr (type: string), p3_brand (type: string), p3_type (type: string), p3_size (type: int), p3_container (type: string), p3_retailprice (type: double), p3_comment (type: string)
+              Reduce Output Operator
+                key expressions: p3_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p3_name (type: string)
+                Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
+                value expressions: p3_partkey (type: int), p3_mfgr (type: string), p3_brand (type: string), p3_type (type: string), p3_size (type: int), p3_container (type: string), p3_retailprice (type: double), p3_comment (type: string)
           TableScan
             alias: p2
             Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p2_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p2_name (type: string)
+            Filter Operator
+              predicate: p2_name is not null (type: boolean)
               Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-              value expressions: p2_partkey (type: int), p2_mfgr (type: string), p2_brand (type: string), p2_type (type: string), p2_size (type: int), p2_container (type: string), p2_retailprice (type: double), p2_comment (type: string)
+              Reduce Output Operator
+                key expressions: p2_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p2_name (type: string)
+                Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
+                value expressions: p2_partkey (type: int), p2_mfgr (type: string), p2_brand (type: string), p2_type (type: string), p2_size (type: int), p2_container (type: string), p2_retailprice (type: double), p2_comment (type: string)
           TableScan
             alias: p1
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p_name (type: string)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_name is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p_name (type: string)
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
       Reduce Operator Tree:
         Join Operator
           condition map:
@@ -214,14 +232,14 @@ STAGE PLANS:
             1 {VALUE._col0} {KEY.reducesinkkey0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7}
             2 {VALUE._col0} {KEY.reducesinkkey0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7}
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col22, _col23, _col24, _col25, _col26, _col27, _col28, _col29, _col30
-          Statistics: Num rows: 11 Data size: 6980 Basic stats: COMPLETE Column stats: NONE
+          Statistics: Num rows: 6 Data size: 4186 Basic stats: COMPLETE Column stats: NONE
           Select Operator
             expressions: _col0 (type: int), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: int), _col6 (type: string), _col7 (type: double), _col8 (type: string), _col11 (type: int), _col12 (type: string), _col13 (type: string), _col14 (type: string), _col15 (type: string), _col16 (type: int), _col17 (type: string), _col18 (type: double), _col19 (type: string), _col22 (type: int), _col23 (type: string), _col24 (type: string), _col25 (type: string), _col26 (type: string), _col27 (type: int), _col28 (type: string), _col29 (type: double), _col30 (type: string)
             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, _col24, _col25, _col26
-            Statistics: Num rows: 11 Data size: 6980 Basic stats: COMPLETE Column stats: NONE
+            Statistics: Num rows: 6 Data size: 4186 Basic stats: COMPLETE Column stats: NONE
             File Output Operator
               compressed: false
-              Statistics: Num rows: 11 Data size: 6980 Basic stats: COMPLETE Column stats: NONE
+              Statistics: Num rows: 6 Data size: 4186 Basic stats: COMPLETE Column stats: NONE
               table:
                   input format: org.apache.hadoop.mapred.TextInputFormat
                   output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -252,10 +270,13 @@ STAGE PLANS:
           TableScan
             alias: p2
             Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-            Reduce Output Operator
-              sort order: 
+            Filter Operator
+              predicate: p2_name is not null (type: boolean)
               Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-              value expressions: p2_partkey (type: int), p2_name (type: string), p2_mfgr (type: string), p2_brand (type: string), p2_type (type: string), p2_size (type: int), p2_container (type: string), p2_retailprice (type: double), p2_comment (type: string)
+              Reduce Output Operator
+                sort order: 
+                Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
+                value expressions: p2_partkey (type: int), p2_name (type: string), p2_mfgr (type: string), p2_brand (type: string), p2_type (type: string), p2_size (type: int), p2_container (type: string), p2_retailprice (type: double), p2_comment (type: string)
           TableScan
             alias: p1
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
@@ -288,12 +309,15 @@ STAGE PLANS:
           TableScan
             alias: p3
             Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p3_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p3_name (type: string)
+            Filter Operator
+              predicate: p3_name is not null (type: boolean)
               Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-              value expressions: p3_partkey (type: int), p3_mfgr (type: string), p3_brand (type: string), p3_type (type: string), p3_size (type: int), p3_container (type: string), p3_retailprice (type: double), p3_comment (type: string)
+              Reduce Output Operator
+                key expressions: p3_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p3_name (type: string)
+                Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
+                value expressions: p3_partkey (type: int), p3_mfgr (type: string), p3_brand (type: string), p3_type (type: string), p3_size (type: int), p3_container (type: string), p3_retailprice (type: double), p3_comment (type: string)
           TableScan
             Reduce Output Operator
               key expressions: _col12 (type: string)
@@ -348,7 +372,7 @@ STAGE PLANS:
             alias: p2
             Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
             Filter Operator
-              predicate: (p2_partkey = 1) (type: boolean)
+              predicate: ((p2_partkey = 1) and p2_name is not null) (type: boolean)
               Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
               Reduce Output Operator
                 sort order: 
@@ -383,12 +407,15 @@ STAGE PLANS:
           TableScan
             alias: p3
             Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p3_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p3_name (type: string)
+            Filter Operator
+              predicate: p3_name is not null (type: boolean)
               Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-              value expressions: p3_partkey (type: int), p3_mfgr (type: string), p3_brand (type: string), p3_type (type: string), p3_size (type: int), p3_container (type: string), p3_retailprice (type: double), p3_comment (type: string)
+              Reduce Output Operator
+                key expressions: p3_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p3_name (type: string)
+                Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
+                value expressions: p3_partkey (type: int), p3_mfgr (type: string), p3_brand (type: string), p3_type (type: string), p3_size (type: int), p3_container (type: string), p3_retailprice (type: double), p3_comment (type: string)
           TableScan
             Reduce Output Operator
               key expressions: _col12 (type: string)

Modified: hive/trunk/ql/src/test/results/clientpositive/join_cond_pushdown_unqual2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/join_cond_pushdown_unqual2.q.out?rev=1604935&r1=1604934&r2=1604935&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/join_cond_pushdown_unqual2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/join_cond_pushdown_unqual2.q.out Mon Jun 23 21:03:24 2014
@@ -110,39 +110,51 @@ STAGE PLANS:
           TableScan
             alias: p4
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p_name (type: string)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_name is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p_name (type: string)
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
           TableScan
             alias: p1
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p_name (type: string)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_name is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p_name (type: string)
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_partkey (type: int), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
           TableScan
             alias: p3
             Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p3_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p3_name (type: string)
+            Filter Operator
+              predicate: p3_name is not null (type: boolean)
               Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-              value expressions: p3_partkey (type: int), p3_mfgr (type: string), p3_brand (type: string), p3_type (type: string), p3_size (type: int), p3_container (type: string), p3_retailprice (type: double), p3_comment (type: string)
+              Reduce Output Operator
+                key expressions: p3_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p3_name (type: string)
+                Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
+                value expressions: p3_partkey (type: int), p3_mfgr (type: string), p3_brand (type: string), p3_type (type: string), p3_size (type: int), p3_container (type: string), p3_retailprice (type: double), p3_comment (type: string)
           TableScan
             alias: p2
             Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p2_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p2_name (type: string)
+            Filter Operator
+              predicate: p2_name is not null (type: boolean)
               Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-              value expressions: p2_partkey (type: int), p2_mfgr (type: string), p2_brand (type: string), p2_type (type: string), p2_size (type: int), p2_container (type: string), p2_retailprice (type: double), p2_comment (type: string)
+              Reduce Output Operator
+                key expressions: p2_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p2_name (type: string)
+                Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
+                value expressions: p2_partkey (type: int), p2_mfgr (type: string), p2_brand (type: string), p2_type (type: string), p2_size (type: int), p2_container (type: string), p2_retailprice (type: double), p2_comment (type: string)
       Reduce Operator Tree:
         Join Operator
           condition map:
@@ -155,14 +167,14 @@ STAGE PLANS:
             2 {VALUE._col0} {KEY.reducesinkkey0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7}
             3 {VALUE._col0} {KEY.reducesinkkey0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7}
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col22, _col23, _col24, _col25, _col26, _col27, _col28, _col29, _col30, _col33, _col34, _col35, _col36, _col37, _col38, _col39, _col40, _col41
-          Statistics: Num rows: 16 Data size: 10470 Basic stats: COMPLETE Column stats: NONE
+          Statistics: Num rows: 9 Data size: 6279 Basic stats: COMPLETE Column stats: NONE
           Select Operator
             expressions: _col0 (type: int), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: int), _col6 (type: string), _col7 (type: double), _col8 (type: string), _col11 (type: int), _col12 (type: string), _col13 (type: string), _col14 (type: string), _col15 (type: string), _col16 (type: int), _col17 (type: string), _col18 (type: double), _col19 (type: string), _col22 (type: int), _col23 (type: string), _col24 (type: string), _col25 (type: string), _col26 (type: string), _col27 (type: int), _col28 (type: string), _col29 (type: double), _col30 (type: string), _col33 (type: int), _col34 (type: string), _col35 (type: string), _col36 (type: string), _col37 (type: string), _col38 (type: int), _col39 (type: string), _col40 (type: double), _col41 (type: string)
             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, _col24, _col25, _col26, _col27, _col28, _col29, _col30, _col31, _col32, _col33, _col34, _col35
-            Statistics: Num rows: 16 Data size: 10470 Basic stats: COMPLETE Column stats: NONE
+            Statistics: Num rows: 9 Data size: 6279 Basic stats: COMPLETE Column stats: NONE
             File Output Operator
               compressed: false
-              Statistics: Num rows: 16 Data size: 10470 Basic stats: COMPLETE Column stats: NONE
+              Statistics: Num rows: 9 Data size: 6279 Basic stats: COMPLETE Column stats: NONE
               table:
                   input format: org.apache.hadoop.mapred.TextInputFormat
                   output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -195,21 +207,27 @@ STAGE PLANS:
           TableScan
             alias: p2
             Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p2_name (type: string), p2_partkey (type: int)
-              sort order: ++
-              Map-reduce partition columns: p2_name (type: string), p2_partkey (type: int)
+            Filter Operator
+              predicate: (p2_name is not null and p2_partkey is not null) (type: boolean)
               Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-              value expressions: p2_mfgr (type: string), p2_brand (type: string), p2_type (type: string), p2_size (type: int), p2_container (type: string), p2_retailprice (type: double), p2_comment (type: string)
+              Reduce Output Operator
+                key expressions: p2_name (type: string), p2_partkey (type: int)
+                sort order: ++
+                Map-reduce partition columns: p2_name (type: string), p2_partkey (type: int)
+                Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
+                value expressions: p2_mfgr (type: string), p2_brand (type: string), p2_type (type: string), p2_size (type: int), p2_container (type: string), p2_retailprice (type: double), p2_comment (type: string)
           TableScan
             alias: p1
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_name (type: string), p_partkey (type: int)
-              sort order: ++
-              Map-reduce partition columns: p_name (type: string), p_partkey (type: int)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: (p_name is not null and p_partkey is not null) (type: boolean)
+              Statistics: Num rows: 2 Data size: 1269 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_name (type: string), p_partkey (type: int)
+                sort order: ++
+                Map-reduce partition columns: p_name (type: string), p_partkey (type: int)
+                Statistics: Num rows: 2 Data size: 1269 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
       Reduce Operator Tree:
         Join Operator
           condition map:
@@ -218,7 +236,7 @@ STAGE PLANS:
             0 {KEY.reducesinkkey1} {KEY.reducesinkkey0} {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6}
             1 {KEY.reducesinkkey1} {KEY.reducesinkkey0} {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6}
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19
-          Statistics: Num rows: 5 Data size: 3490 Basic stats: COMPLETE Column stats: NONE
+          Statistics: Num rows: 2 Data size: 1395 Basic stats: COMPLETE Column stats: NONE
           File Output Operator
             compressed: false
             table:
@@ -232,18 +250,21 @@ STAGE PLANS:
           TableScan
             alias: p3
             Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p3_name (type: string)
-              sort order: +
-              Map-reduce partition columns: p3_name (type: string)
+            Filter Operator
+              predicate: p3_name is not null (type: boolean)
               Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-              value expressions: p3_partkey (type: int), p3_mfgr (type: string), p3_brand (type: string), p3_type (type: string), p3_size (type: int), p3_container (type: string), p3_retailprice (type: double), p3_comment (type: string)
+              Reduce Output Operator
+                key expressions: p3_name (type: string)
+                sort order: +
+                Map-reduce partition columns: p3_name (type: string)
+                Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
+                value expressions: p3_partkey (type: int), p3_mfgr (type: string), p3_brand (type: string), p3_type (type: string), p3_size (type: int), p3_container (type: string), p3_retailprice (type: double), p3_comment (type: string)
           TableScan
             Reduce Output Operator
               key expressions: _col12 (type: string)
               sort order: +
               Map-reduce partition columns: _col12 (type: string)
-              Statistics: Num rows: 5 Data size: 3490 Basic stats: COMPLETE Column stats: NONE
+              Statistics: Num rows: 2 Data size: 1395 Basic stats: COMPLETE Column stats: NONE
               value expressions: _col0 (type: int), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: int), _col6 (type: string), _col7 (type: double), _col8 (type: string), _col11 (type: int), _col13 (type: string), _col14 (type: string), _col15 (type: string), _col16 (type: int), _col17 (type: string), _col18 (type: double), _col19 (type: string)
       Reduce Operator Tree:
         Join Operator
@@ -253,7 +274,7 @@ STAGE PLANS:
             0 {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7} {VALUE._col8} {VALUE._col11} {KEY.reducesinkkey0} {VALUE._col12} {VALUE._col13} {VALUE._col14} {VALUE._col15} {VALUE._col16} {VALUE._col17} {VALUE._col18}
             1 {VALUE._col0} {KEY.reducesinkkey0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7}
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col22, _col23, _col24, _col25, _col26, _col27, _col28, _col29, _col30
-          Statistics: Num rows: 5 Data size: 3839 Basic stats: COMPLETE Column stats: NONE
+          Statistics: Num rows: 2 Data size: 1534 Basic stats: COMPLETE Column stats: NONE
           File Output Operator
             compressed: false
             table:
@@ -267,18 +288,21 @@ STAGE PLANS:
           TableScan
             alias: p4
             Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-            Reduce Output Operator
-              key expressions: p_partkey (type: int)
-              sort order: +
-              Map-reduce partition columns: p_partkey (type: int)
-              Statistics: Num rows: 5 Data size: 3173 Basic stats: COMPLETE Column stats: NONE
-              value expressions: p_name (type: string), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
+            Filter Operator
+              predicate: p_partkey is not null (type: boolean)
+              Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+              Reduce Output Operator
+                key expressions: p_partkey (type: int)
+                sort order: +
+                Map-reduce partition columns: p_partkey (type: int)
+                Statistics: Num rows: 3 Data size: 1903 Basic stats: COMPLETE Column stats: NONE
+                value expressions: p_name (type: string), p_mfgr (type: string), p_brand (type: string), p_type (type: string), p_size (type: int), p_container (type: string), p_retailprice (type: double), p_comment (type: string)
           TableScan
             Reduce Output Operator
               key expressions: _col0 (type: int)
               sort order: +
               Map-reduce partition columns: _col0 (type: int)
-              Statistics: Num rows: 5 Data size: 3839 Basic stats: COMPLETE Column stats: NONE
+              Statistics: Num rows: 2 Data size: 1534 Basic stats: COMPLETE Column stats: NONE
               value expressions: _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: int), _col6 (type: string), _col7 (type: double), _col8 (type: string), _col11 (type: int), _col12 (type: string), _col13 (type: string), _col14 (type: string), _col15 (type: string), _col16 (type: int), _col17 (type: string), _col18 (type: double), _col19 (type: string), _col22 (type: int), _col23 (type: string), _col24 (type: string), _col25 (type: string), _col26 (type: string), _col27 (type: int), _col28 (type: string), _col29 (type: double), _col30 (type: string)
       Reduce Operator Tree:
         Join Operator
@@ -288,14 +312,14 @@ STAGE PLANS:
             0 {KEY.reducesinkkey0} {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7} {VALUE._col10} {VALUE._col11} {VALUE._col12} {VALUE._col13} {VALUE._col14} {VALUE._col15} {VALUE._col16} {VALUE._col17} {VALUE._col18} {VALUE._col21} {VALUE._col22} {VALUE._col23} {VALUE._col24} {VALUE._col25} {VALUE._col26} {VALUE._col27} {VALUE._col28} {VALUE._col29}
             1 {KEY.reducesinkkey0} {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7}
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col22, _col23, _col24, _col25, _col26, _col27, _col28, _col29, _col30, _col33, _col34, _col35, _col36, _col37, _col38, _col39, _col40, _col41
-          Statistics: Num rows: 5 Data size: 4222 Basic stats: COMPLETE Column stats: NONE
+          Statistics: Num rows: 3 Data size: 2093 Basic stats: COMPLETE Column stats: NONE
           Select Operator
             expressions: _col0 (type: int), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: int), _col6 (type: string), _col7 (type: double), _col8 (type: string), _col11 (type: int), _col12 (type: string), _col13 (type: string), _col14 (type: string), _col15 (type: string), _col16 (type: int), _col17 (type: string), _col18 (type: double), _col19 (type: string), _col22 (type: int), _col23 (type: string), _col24 (type: string), _col25 (type: string), _col26 (type: string), _col27 (type: int), _col28 (type: string), _col29 (type: double), _col30 (type: string), _col33 (type: int), _col34 (type: string), _col35 (type: string), _col36 (type: string), _col37 (type: string), _col38 (type: int), _col39 (type: string), _col40 (type: double), _col41 (type: string)
             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, _col24, _col25, _col26, _col27, _col28, _col29, _col30, _col31, _col32, _col33, _col34, _col35
-            Statistics: Num rows: 5 Data size: 4222 Basic stats: COMPLETE Column stats: NONE
+            Statistics: Num rows: 3 Data size: 2093 Basic stats: COMPLETE Column stats: NONE
             File Output Operator
               compressed: false
-              Statistics: Num rows: 5 Data size: 4222 Basic stats: COMPLETE Column stats: NONE
+              Statistics: Num rows: 3 Data size: 2093 Basic stats: COMPLETE Column stats: NONE
               table:
                   input format: org.apache.hadoop.mapred.TextInputFormat
                   output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat