Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/ppd_udf_case.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/ppd_udf_case.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/ppd_udf_case.q.out 
(original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/ppd_udf_case.q.out 
Thu Oct 30 16:22:33 2014
@@ -44,7 +44,7 @@ STAGE PLANS:
                 sort order: +
                 Map-reduce partition columns: key (type: string)
                 Statistics: Num rows: 250 Data size: 2656 Basic stats: 
COMPLETE Column stats: NONE
-                value expressions: value (type: string), ds (type: string), hr 
(type: string)
+                value expressions: value (type: string), hr (type: string)
           TableScan
             alias: a
             Statistics: Num rows: 1000 Data size: 10624 Basic stats: COMPLETE 
Column stats: NONE
@@ -56,23 +56,23 @@ STAGE PLANS:
                 sort order: +
                 Map-reduce partition columns: key (type: string)
                 Statistics: Num rows: 250 Data size: 2656 Basic stats: 
COMPLETE Column stats: NONE
-                value expressions: value (type: string), ds (type: string), hr 
(type: string)
+                value expressions: value (type: string), hr (type: string)
       Reduce Operator Tree:
         Join Operator
           condition map:
                Inner Join 0 to 1
           condition expressions:
-            0 {KEY.reducesinkkey0} {VALUE._col0} {VALUE._col1} {VALUE._col2}
-            1 {KEY.reducesinkkey0} {VALUE._col0} {VALUE._col1} {VALUE._col2}
-          outputColumnNames: _col0, _col1, _col2, _col3, _col7, _col8, _col9, 
_col10
+            0 {KEY.reducesinkkey0} {VALUE._col0} {VALUE._col2}
+            1 {KEY.reducesinkkey0} {VALUE._col0} {VALUE._col2}
+          outputColumnNames: _col0, _col1, _col3, _col7, _col8, _col10
           Statistics: Num rows: 275 Data size: 2921 Basic stats: COMPLETE 
Column stats: NONE
           Filter Operator
-            predicate: (((_col2 = '2008-04-08') and (_col9 = '2008-04-08')) 
and CASE (_col0) WHEN ('27') THEN (true) WHEN ('38') THEN (false) ELSE (null) 
END) (type: boolean)
-            Statistics: Num rows: 34 Data size: 361 Basic stats: COMPLETE 
Column stats: NONE
+            predicate: CASE (_col0) WHEN ('27') THEN (true) WHEN ('38') THEN 
(false) ELSE (null) END (type: boolean)
+            Statistics: Num rows: 137 Data size: 1455 Basic stats: COMPLETE 
Column stats: NONE
             Select Operator
               expressions: _col0 (type: string), _col1 (type: string), _col3 
(type: string), _col7 (type: string), _col8 (type: string), _col10 (type: 
string)
               outputColumnNames: _col0, _col1, _col3, _col4, _col5, _col7
-              Statistics: Num rows: 34 Data size: 361 Basic stats: COMPLETE 
Column stats: NONE
+              Statistics: Num rows: 137 Data size: 1455 Basic stats: COMPLETE 
Column stats: NONE
               File Output Operator
                 compressed: false
                 table:
@@ -87,15 +87,15 @@ STAGE PLANS:
             Reduce Output Operator
               key expressions: _col0 (type: string), _col1 (type: string), 
'2008-04-08' (type: string), _col3 (type: string), _col4 (type: string), _col5 
(type: string), '2008-04-08' (type: string), _col7 (type: string)
               sort order: ++++++++
-              Statistics: Num rows: 34 Data size: 361 Basic stats: COMPLETE 
Column stats: NONE
+              Statistics: Num rows: 137 Data size: 1455 Basic stats: COMPLETE 
Column stats: NONE
       Reduce Operator Tree:
         Select Operator
           expressions: KEY.reducesinkkey0 (type: string), KEY.reducesinkkey1 
(type: string), '2008-04-08' (type: string), KEY.reducesinkkey3 (type: string), 
KEY.reducesinkkey4 (type: string), KEY.reducesinkkey5 (type: string), 
'2008-04-08' (type: string), KEY.reducesinkkey7 (type: string)
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, 
_col7
-          Statistics: Num rows: 34 Data size: 361 Basic stats: COMPLETE Column 
stats: NONE
+          Statistics: Num rows: 137 Data size: 1455 Basic stats: COMPLETE 
Column stats: NONE
           File Output Operator
             compressed: false
-            Statistics: Num rows: 34 Data size: 361 Basic stats: COMPLETE 
Column stats: NONE
+            Statistics: Num rows: 137 Data size: 1455 Basic stats: COMPLETE 
Column stats: NONE
             table:
                 input format: org.apache.hadoop.mapred.TextInputFormat
                 output format: 
org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -189,7 +189,7 @@ STAGE PLANS:
                 sort order: +
                 Map-reduce partition columns: key (type: string)
                 Statistics: Num rows: 250 Data size: 2656 Basic stats: 
COMPLETE Column stats: NONE
-                value expressions: value (type: string), ds (type: string), hr 
(type: string)
+                value expressions: value (type: string), hr (type: string)
           TableScan
             alias: a
             Statistics: Num rows: 1000 Data size: 10624 Basic stats: COMPLETE 
Column stats: NONE
@@ -201,19 +201,19 @@ STAGE PLANS:
                 sort order: +
                 Map-reduce partition columns: key (type: string)
                 Statistics: Num rows: 250 Data size: 2656 Basic stats: 
COMPLETE Column stats: NONE
-                value expressions: value (type: string), ds (type: string), hr 
(type: string)
+                value expressions: value (type: string), hr (type: string)
       Reduce Operator Tree:
         Join Operator
           condition map:
                Inner Join 0 to 1
           condition expressions:
-            0 {KEY.reducesinkkey0} {VALUE._col0} {VALUE._col1} {VALUE._col2}
-            1 {KEY.reducesinkkey0} {VALUE._col0} {VALUE._col1} {VALUE._col2}
-          outputColumnNames: _col0, _col1, _col2, _col3, _col7, _col8, _col9, 
_col10
+            0 {KEY.reducesinkkey0} {VALUE._col0} {VALUE._col2}
+            1 {KEY.reducesinkkey0} {VALUE._col0} {VALUE._col2}
+          outputColumnNames: _col0, _col1, _col3, _col7, _col8, _col10
           Statistics: Num rows: 275 Data size: 2921 Basic stats: COMPLETE 
Column stats: NONE
           Select Operator
-            expressions: _col0 (type: string), _col1 (type: string), _col2 
(type: string), _col3 (type: string), _col7 (type: string), _col8 (type: 
string), _col9 (type: string), _col10 (type: string)
-            outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7
+            expressions: _col0 (type: string), _col1 (type: string), _col3 
(type: string), _col7 (type: string), _col8 (type: string), _col10 (type: 
string)
+            outputColumnNames: _col0, _col1, _col3, _col4, _col5, _col7
             Statistics: Num rows: 275 Data size: 2921 Basic stats: COMPLETE 
Column stats: NONE
             File Output Operator
               compressed: false
@@ -227,12 +227,12 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col0 (type: string), _col1 (type: string), 
_col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: 
string), _col6 (type: string), _col7 (type: string)
+              key expressions: _col0 (type: string), _col1 (type: string), 
'2008-04-08' (type: string), _col3 (type: string), _col4 (type: string), _col5 
(type: string), '2008-04-08' (type: string), _col7 (type: string)
               sort order: ++++++++
               Statistics: Num rows: 275 Data size: 2921 Basic stats: COMPLETE 
Column stats: NONE
       Reduce Operator Tree:
         Select Operator
-          expressions: KEY.reducesinkkey0 (type: string), KEY.reducesinkkey1 
(type: string), KEY.reducesinkkey2 (type: string), KEY.reducesinkkey3 (type: 
string), KEY.reducesinkkey4 (type: string), KEY.reducesinkkey5 (type: string), 
KEY.reducesinkkey6 (type: string), KEY.reducesinkkey7 (type: string)
+          expressions: KEY.reducesinkkey0 (type: string), KEY.reducesinkkey1 
(type: string), '2008-04-08' (type: string), KEY.reducesinkkey3 (type: string), 
KEY.reducesinkkey4 (type: string), KEY.reducesinkkey5 (type: string), 
'2008-04-08' (type: string), KEY.reducesinkkey7 (type: string)
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, 
_col7
           Statistics: Num rows: 275 Data size: 2921 Basic stats: COMPLETE 
Column stats: NONE
           File Output Operator

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/ppd_udf_col.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/ppd_udf_col.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/ppd_udf_col.q.out 
(original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/ppd_udf_col.q.out 
Thu Oct 30 16:22:33 2014
@@ -130,24 +130,24 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             alias: src
-            Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
+            Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: COMPLETE
             Filter Operator
-              predicate: (key = 100) (type: boolean)
-              Statistics: Num rows: 250 Data size: 2656 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: false (type: boolean)
+              Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column 
stats: COMPLETE
               Select Operator
                 expressions: rand() (type: double), '4' (type: string)
                 outputColumnNames: _col2, _col3
-                Statistics: Num rows: 250 Data size: 2656 Basic stats: 
COMPLETE Column stats: NONE
+                Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column 
stats: COMPLETE
                 Filter Operator
                   predicate: (_col3 <= 3) (type: boolean)
-                  Statistics: Num rows: 83 Data size: 881 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 0 Data size: 0 Basic stats: NONE 
Column stats: COMPLETE
                   Select Operator
                     expressions: '100' (type: string), _col2 (type: double), 
_col3 (type: string)
                     outputColumnNames: _col0, _col1, _col2
-                    Statistics: Num rows: 83 Data size: 881 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 0 Data size: 0 Basic stats: NONE 
Column stats: COMPLETE
                     File Output Operator
                       compressed: false
-                      Statistics: Num rows: 83 Data size: 881 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 0 Data size: 0 Basic stats: NONE 
Column stats: COMPLETE
                       table:
                           input format: 
org.apache.hadoop.mapred.TextInputFormat
                           output format: 
org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -333,28 +333,21 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             alias: src
-            Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
+            Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: COMPLETE
             Filter Operator
-              predicate: (key = 100) (type: boolean)
-              Statistics: Num rows: 250 Data size: 2656 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: false (type: boolean)
+              Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column 
stats: COMPLETE
               Select Operator
-                expressions: rand() (type: double), '4' (type: string)
-                outputColumnNames: _col2, _col3
-                Statistics: Num rows: 250 Data size: 2656 Basic stats: 
COMPLETE Column stats: NONE
-                Filter Operator
-                  predicate: (_col3 <= 3) (type: boolean)
-                  Statistics: Num rows: 83 Data size: 881 Basic stats: 
COMPLETE Column stats: NONE
-                  Select Operator
-                    expressions: '100' (type: string), _col2 (type: double), 
_col3 (type: string)
-                    outputColumnNames: _col0, _col1, _col2
-                    Statistics: Num rows: 83 Data size: 881 Basic stats: 
COMPLETE Column stats: NONE
-                    File Output Operator
-                      compressed: false
-                      Statistics: Num rows: 83 Data size: 881 Basic stats: 
COMPLETE Column stats: NONE
-                      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
+                expressions: '100' (type: string), rand() (type: double), '4' 
(type: string)
+                outputColumnNames: _col0, _col1, _col2
+                Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column 
stats: COMPLETE
+                File Output Operator
+                  compressed: false
+                  Statistics: Num rows: 0 Data size: 0 Basic stats: NONE 
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
 
   Stage: Stage-0
     Fetch Operator

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/ppd_union_view.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/ppd_union_view.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
Files 
hive/branches/spark/ql/src/test/results/clientpositive/ppd_union_view.q.out 
(original) and 
hive/branches/spark/ql/src/test/results/clientpositive/ppd_union_view.q.out Thu 
Oct 30 16:22:33 2014 differ

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/ptf_matchpath.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/ptf_matchpath.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/ptf_matchpath.q.out 
(original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/ptf_matchpath.q.out 
Thu Oct 30 16:22:33 2014
@@ -107,3 +107,27 @@ Baltimore  1142    2010    10      21      5       21
 Baltimore      1142    2010    10      22      4       22
 Baltimore      1142    2010    10      25      3       25
 Baltimore      1142    2010    10      26      2       26
+PREHOOK: query: -- 3. empty partition.
+select origin_city_name, fl_num, year, month, day_of_month, sz, tpath
+from matchpath(on
+        (select * from flights_tiny where fl_num = -1142) flights_tiny
+        sort by fl_num, year, month, day_of_month
+      arg1('LATE.LATE+'),
+      arg2('LATE'), arg3(arr_delay > 15),
+    arg4('origin_city_name, fl_num, year, month, day_of_month, size(tpath) as 
sz, tpath[0].day_of_month as tpath')
+   )
+PREHOOK: type: QUERY
+PREHOOK: Input: default@flights_tiny
+#### A masked pattern was here ####
+POSTHOOK: query: -- 3. empty partition.
+select origin_city_name, fl_num, year, month, day_of_month, sz, tpath
+from matchpath(on
+        (select * from flights_tiny where fl_num = -1142) flights_tiny
+        sort by fl_num, year, month, day_of_month
+      arg1('LATE.LATE+'),
+      arg2('LATE'), arg3(arr_delay > 15),
+    arg4('origin_city_name, fl_num, year, month, day_of_month, size(tpath) as 
sz, tpath[0].day_of_month as tpath')
+   )
+POSTHOOK: type: QUERY
+POSTHOOK: Input: default@flights_tiny
+#### A masked pattern was here ####

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/ql_rewrite_gbtoidx.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/ql_rewrite_gbtoidx.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- 
hive/branches/spark/ql/src/test/results/clientpositive/ql_rewrite_gbtoidx.q.out 
(original)
+++ 
hive/branches/spark/ql/src/test/results/clientpositive/ql_rewrite_gbtoidx.q.out 
Thu Oct 30 16:22:33 2014
@@ -257,7 +257,7 @@ STAGE PLANS:
     Map Reduce
       Map Operator Tree:
           TableScan
-            alias: default__lineitem_lineitem_lshipdate_idx__
+            alias: default.default__lineitem_lineitem_lshipdate_idx__
             Statistics: Num rows: 95 Data size: 8675 Basic stats: COMPLETE 
Column stats: NONE
             Select Operator
               expressions: l_shipdate (type: string), _count_of_l_shipdate 
(type: bigint)
@@ -584,7 +584,7 @@ STAGE PLANS:
     Map Reduce
       Map Operator Tree:
           TableScan
-            alias: default__lineitem_lineitem_lshipdate_idx__
+            alias: default.default__lineitem_lineitem_lshipdate_idx__
             Statistics: Num rows: 95 Data size: 8675 Basic stats: COMPLETE 
Column stats: NONE
             Select Operator
               expressions: l_shipdate (type: string), _count_of_l_shipdate 
(type: bigint)
@@ -762,10 +762,10 @@ STAGE PLANS:
     Map Reduce
       Map Operator Tree:
           TableScan
-            alias: lastyear:default__lineitem_lineitem_lshipdate_idx__
+            alias: thisyear:default.default__lineitem_lineitem_lshipdate_idx__
             Statistics: Num rows: 95 Data size: 8675 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: (year(l_shipdate) = 1997) (type: boolean)
+              predicate: (year(l_shipdate) = 1998) (type: boolean)
               Statistics: Num rows: 47 Data size: 4291 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: l_shipdate (type: string), _count_of_l_shipdate 
(type: bigint)
@@ -846,10 +846,10 @@ STAGE PLANS:
     Map Reduce
       Map Operator Tree:
           TableScan
-            alias: thisyear:default__lineitem_lineitem_lshipdate_idx__
+            alias: lastyear:default.default__lineitem_lineitem_lshipdate_idx__
             Statistics: Num rows: 95 Data size: 8675 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: (year(l_shipdate) = 1998) (type: boolean)
+              predicate: (year(l_shipdate) = 1997) (type: boolean)
               Statistics: Num rows: 47 Data size: 4291 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: l_shipdate (type: string), _count_of_l_shipdate 
(type: bigint)
@@ -916,7 +916,7 @@ STAGE PLANS:
     Map Reduce
       Map Operator Tree:
           TableScan
-            alias: 
null-subquery1:dummy-subquery1:default__lineitem_lineitem_lshipdate_idx__
+            alias: 
null-subquery1:dummy-subquery1:default.default__lineitem_lineitem_lshipdate_idx__
             Statistics: Num rows: 95 Data size: 8675 Basic stats: COMPLETE 
Column stats: NONE
             Select Operator
               expressions: l_shipdate (type: string), _count_of_l_shipdate 
(type: bigint)
@@ -1095,7 +1095,7 @@ STAGE PLANS:
     Map Reduce
       Map Operator Tree:
           TableScan
-            alias: default__tbl_tbl_key_idx__
+            alias: default.default__tbl_tbl_key_idx__
             Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column 
stats: NONE
             Select Operator
               expressions: key (type: int), _count_of_key (type: bigint)
@@ -2148,7 +2148,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: 
NONE
           Select Operator
-            expressions: _col0 (type: int), _col1 (type: int)
+            expressions: _col0 (type: int), 2 (type: int)
             outputColumnNames: _col0, _col1
             Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column 
stats: NONE
             File Output Operator
@@ -2364,7 +2364,7 @@ STAGE PLANS:
     Map Reduce
       Map Operator Tree:
           TableScan
-            alias: default__tblpart_tbl_part_index__
+            alias: default.default__tblpart_tbl_part_index__
             Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
               predicate: (key < 10) (type: boolean)
@@ -2565,7 +2565,7 @@ STAGE PLANS:
     Map Reduce
       Map Operator Tree:
           TableScan
-            alias: default__tbl_tbl_key_idx__
+            alias: default.default__tbl_tbl_key_idx__
             Statistics: Num rows: 6 Data size: 430 Basic stats: COMPLETE 
Column stats: NONE
             Select Operator
               expressions: key (type: int), _count_of_key (type: bigint)

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/quotedid_basic.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/quotedid_basic.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/quotedid_basic.q.out 
(original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/quotedid_basic.q.out 
Thu Oct 30 16:22:33 2014
@@ -121,7 +121,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: 
NONE
           Select Operator
-            expressions: _col0 (type: string), _col1 (type: string), _col2 
(type: string)
+            expressions: _col0 (type: string), _col1 (type: string), '1' 
(type: string)
             outputColumnNames: _col0, _col1, _col2
             Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column 
stats: NONE
             File Output Operator
@@ -191,18 +191,17 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col2 (type: string), _col1 (type: string)
+              key expressions: '1' (type: string), _col1 (type: string)
               sort order: ++
-              Map-reduce partition columns: _col2 (type: string)
               Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column 
stats: NONE
-              value expressions: _col0 (type: string), _col1 (type: string), 
_col2 (type: string)
+              value expressions: _col0 (type: string), _col1 (type: string), 
'1' (type: string)
       Reduce Operator Tree:
         Extract
           Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: 
NONE
           PTF Operator
             Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column 
stats: NONE
             Select Operator
-              expressions: _col0 (type: string), _col1 (type: string), _col2 
(type: string), _wcol0 (type: int)
+              expressions: _col0 (type: string), _col1 (type: string), '1' 
(type: string), _wcol0 (type: int)
               outputColumnNames: _col0, _col1, _col2, _col3
               Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column 
stats: NONE
               File Output Operator
@@ -274,18 +273,17 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             Reduce Output Operator
-              key expressions: _col2 (type: string), _col1 (type: string)
+              key expressions: '1' (type: string), _col1 (type: string)
               sort order: ++
-              Map-reduce partition columns: _col2 (type: string)
               Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column 
stats: NONE
-              value expressions: _col0 (type: string), _col1 (type: string), 
_col2 (type: string)
+              value expressions: _col0 (type: string), _col1 (type: string), 
'1' (type: string)
       Reduce Operator Tree:
         Extract
           Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: 
NONE
           PTF Operator
             Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column 
stats: NONE
             Select Operator
-              expressions: _col0 (type: string), _col1 (type: string), _col2 
(type: string), _wcol0 (type: int)
+              expressions: _col0 (type: string), _col1 (type: string), '1' 
(type: string), _wcol0 (type: int)
               outputColumnNames: _col0, _col1, _col2, _col3
               Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column 
stats: NONE
               File Output Operator

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/quotedid_partition.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/quotedid_partition.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- 
hive/branches/spark/ql/src/test/results/clientpositive/quotedid_partition.q.out 
(original)
+++ 
hive/branches/spark/ql/src/test/results/clientpositive/quotedid_partition.q.out 
Thu Oct 30 16:22:33 2014
@@ -46,7 +46,7 @@ STAGE PLANS:
               predicate: (x+1 = '10') (type: boolean)
               Statistics: Num rows: 250 Data size: 2656 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
-                expressions: '10' (type: string), y&y (type: string), 
!@#$%^&*()_q (type: string)
+                expressions: '10' (type: string), y&y (type: string), 'a' 
(type: string)
                 outputColumnNames: x+1, y&y, !@#$%^&*()_q
                 Statistics: Num rows: 250 Data size: 2656 Basic stats: 
COMPLETE Column stats: NONE
                 Group By Operator
@@ -66,7 +66,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 125 Data size: 1328 Basic stats: COMPLETE 
Column stats: NONE
           Select Operator
-            expressions: _col0 (type: string), _col1 (type: string), _col2 
(type: string)
+            expressions: _col0 (type: string), _col1 (type: string), 'a' 
(type: string)
             outputColumnNames: _col0, _col1, _col2
             Statistics: Num rows: 125 Data size: 1328 Basic stats: COMPLETE 
Column stats: NONE
             File Output Operator

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/rand_partitionpruner2.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/rand_partitionpruner2.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
Files 
hive/branches/spark/ql/src/test/results/clientpositive/rand_partitionpruner2.q.out
 (original) and 
hive/branches/spark/ql/src/test/results/clientpositive/rand_partitionpruner2.q.out
 Thu Oct 30 16:22:33 2014 differ

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/rand_partitionpruner3.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/rand_partitionpruner3.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
Files 
hive/branches/spark/ql/src/test/results/clientpositive/rand_partitionpruner3.q.out
 (original) and 
hive/branches/spark/ql/src/test/results/clientpositive/rand_partitionpruner3.q.out
 Thu Oct 30 16:22:33 2014 differ

Modified: hive/branches/spark/ql/src/test/results/clientpositive/regex_col.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/regex_col.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/regex_col.q.out 
(original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/regex_col.q.out Thu 
Oct 30 16:22:33 2014
@@ -157,24 +157,24 @@ STAGE PLANS:
             alias: b
             Statistics: Num rows: 2000 Data size: 21248 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: ((key = 103) and key is not null) (type: boolean)
-              Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key = 103) (type: boolean)
+              Statistics: Num rows: 1000 Data size: 10624 Basic stats: 
COMPLETE Column stats: NONE
               Reduce Output Operator
                 key expressions: '103' (type: string), hr (type: string), ds 
(type: string)
                 sort order: +++
                 Map-reduce partition columns: hr (type: string), ds (type: 
string)
-                Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
+                Statistics: Num rows: 1000 Data size: 10624 Basic stats: 
COMPLETE Column stats: NONE
           TableScan
             alias: a
             Statistics: Num rows: 2000 Data size: 21248 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: ((key = 103) and key is not null) (type: boolean)
-              Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key = 103) (type: boolean)
+              Statistics: Num rows: 1000 Data size: 10624 Basic stats: 
COMPLETE Column stats: NONE
               Reduce Output Operator
                 key expressions: '103' (type: string), hr (type: string), ds 
(type: string)
                 sort order: +++
                 Map-reduce partition columns: hr (type: string), ds (type: 
string)
-                Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
+                Statistics: Num rows: 1000 Data size: 10624 Basic stats: 
COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Join Operator
           condition map:
@@ -183,11 +183,11 @@ STAGE PLANS:
             0 
             1 {KEY.reducesinkkey2} {KEY.reducesinkkey1}
           outputColumnNames: _col9, _col10
-          Statistics: Num rows: 550 Data size: 5843 Basic stats: COMPLETE 
Column stats: NONE
+          Statistics: Num rows: 1100 Data size: 11686 Basic stats: COMPLETE 
Column stats: NONE
           Select Operator
             expressions: _col9 (type: string), _col10 (type: string)
             outputColumnNames: _col0, _col1
-            Statistics: Num rows: 550 Data size: 5843 Basic stats: COMPLETE 
Column stats: NONE
+            Statistics: Num rows: 1100 Data size: 11686 Basic stats: COMPLETE 
Column stats: NONE
             File Output Operator
               compressed: false
               table:
@@ -202,15 +202,15 @@ STAGE PLANS:
             Reduce Output Operator
               key expressions: _col0 (type: string), _col1 (type: string)
               sort order: ++
-              Statistics: Num rows: 550 Data size: 5843 Basic stats: COMPLETE 
Column stats: NONE
+              Statistics: Num rows: 1100 Data size: 11686 Basic stats: 
COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Select Operator
           expressions: KEY.reducesinkkey0 (type: string), KEY.reducesinkkey1 
(type: string)
           outputColumnNames: _col0, _col1
-          Statistics: Num rows: 550 Data size: 5843 Basic stats: COMPLETE 
Column stats: NONE
+          Statistics: Num rows: 1100 Data size: 11686 Basic stats: COMPLETE 
Column stats: NONE
           File Output Operator
             compressed: false
-            Statistics: Num rows: 550 Data size: 5843 Basic stats: COMPLETE 
Column stats: NONE
+            Statistics: Num rows: 1100 Data size: 11686 Basic stats: COMPLETE 
Column stats: NONE
             table:
                 input format: org.apache.hadoop.mapred.TextInputFormat
                 output format: 
org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat

Modified: hive/branches/spark/ql/src/test/results/clientpositive/sample1.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/sample1.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
Files hive/branches/spark/ql/src/test/results/clientpositive/sample1.q.out 
(original) and 
hive/branches/spark/ql/src/test/results/clientpositive/sample1.q.out Thu Oct 30 
16:22:33 2014 differ

Modified: hive/branches/spark/ql/src/test/results/clientpositive/sample8.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/sample8.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
Files hive/branches/spark/ql/src/test/results/clientpositive/sample8.q.out 
(original) and 
hive/branches/spark/ql/src/test/results/clientpositive/sample8.q.out Thu Oct 30 
16:22:33 2014 differ

Modified: hive/branches/spark/ql/src/test/results/clientpositive/semijoin.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/semijoin.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/semijoin.q.out 
(original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/semijoin.q.out Thu 
Oct 30 16:22:33 2014
@@ -451,22 +451,22 @@ STAGE PLANS:
             alias: b
             Statistics: Num rows: 22 Data size: 163 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: ((key < 15) and key is not null) (type: boolean)
-              Statistics: Num rows: 4 Data size: 29 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key < 15) (type: boolean)
+              Statistics: Num rows: 7 Data size: 51 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: key (type: int)
                 outputColumnNames: key
-                Statistics: Num rows: 4 Data size: 29 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 7 Data size: 51 Basic stats: COMPLETE 
Column stats: NONE
                 Group By Operator
                   keys: key (type: int), key (type: int)
                   mode: hash
                   outputColumnNames: _col0, _col1
-                  Statistics: Num rows: 4 Data size: 29 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 7 Data size: 51 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: 4 Data size: 29 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 7 Data size: 51 Basic stats: 
COMPLETE Column stats: NONE
           TableScan
             alias: a
             Statistics: Num rows: 11 Data size: 79 Basic stats: COMPLETE 
Column stats: NONE
@@ -487,11 +487,11 @@ STAGE PLANS:
             0 {VALUE._col0}
             1 
           outputColumnNames: _col1
-          Statistics: Num rows: 6 Data size: 47 Basic stats: COMPLETE Column 
stats: NONE
+          Statistics: Num rows: 7 Data size: 56 Basic stats: COMPLETE Column 
stats: NONE
           Select Operator
             expressions: _col1 (type: string)
             outputColumnNames: _col0
-            Statistics: Num rows: 6 Data size: 47 Basic stats: COMPLETE Column 
stats: NONE
+            Statistics: Num rows: 7 Data size: 56 Basic stats: COMPLETE Column 
stats: NONE
             File Output Operator
               compressed: false
               table:
@@ -506,15 +506,15 @@ STAGE PLANS:
             Reduce Output Operator
               key expressions: _col0 (type: string)
               sort order: +
-              Statistics: Num rows: 6 Data size: 47 Basic stats: COMPLETE 
Column stats: NONE
+              Statistics: Num rows: 7 Data size: 56 Basic stats: COMPLETE 
Column stats: NONE
       Reduce Operator Tree:
         Select Operator
           expressions: KEY.reducesinkkey0 (type: string)
           outputColumnNames: _col0
-          Statistics: Num rows: 6 Data size: 47 Basic stats: COMPLETE Column 
stats: NONE
+          Statistics: Num rows: 7 Data size: 56 Basic stats: COMPLETE Column 
stats: NONE
           File Output Operator
             compressed: false
-            Statistics: Num rows: 6 Data size: 47 Basic stats: COMPLETE Column 
stats: NONE
+            Statistics: Num rows: 7 Data size: 56 Basic stats: COMPLETE Column 
stats: NONE
             table:
                 input format: org.apache.hadoop.mapred.TextInputFormat
                 output format: 
org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -681,22 +681,22 @@ STAGE PLANS:
             alias: t3
             Statistics: Num rows: 22 Data size: 163 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: ((key > 5) and key is not null) (type: boolean)
-              Statistics: Num rows: 4 Data size: 29 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key > 5) (type: boolean)
+              Statistics: Num rows: 7 Data size: 51 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: key (type: int)
                 outputColumnNames: _col0
-                Statistics: Num rows: 4 Data size: 29 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 7 Data size: 51 Basic stats: COMPLETE 
Column stats: NONE
                 Group By Operator
                   keys: _col0 (type: int)
                   mode: hash
                   outputColumnNames: _col0
-                  Statistics: Num rows: 4 Data size: 29 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 7 Data size: 51 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: 4 Data size: 29 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 7 Data size: 51 Basic stats: 
COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Join Operator
           condition map:
@@ -705,11 +705,11 @@ STAGE PLANS:
             0 {VALUE._col0}
             1 
           outputColumnNames: _col1
-          Statistics: Num rows: 6 Data size: 47 Basic stats: COMPLETE Column 
stats: NONE
+          Statistics: Num rows: 7 Data size: 56 Basic stats: COMPLETE Column 
stats: NONE
           Select Operator
             expressions: _col1 (type: string)
             outputColumnNames: _col0
-            Statistics: Num rows: 6 Data size: 47 Basic stats: COMPLETE Column 
stats: NONE
+            Statistics: Num rows: 7 Data size: 56 Basic stats: COMPLETE Column 
stats: NONE
             File Output Operator
               compressed: false
               table:
@@ -724,15 +724,15 @@ STAGE PLANS:
             Reduce Output Operator
               key expressions: _col0 (type: string)
               sort order: +
-              Statistics: Num rows: 6 Data size: 47 Basic stats: COMPLETE 
Column stats: NONE
+              Statistics: Num rows: 7 Data size: 56 Basic stats: COMPLETE 
Column stats: NONE
       Reduce Operator Tree:
         Select Operator
           expressions: KEY.reducesinkkey0 (type: string)
           outputColumnNames: _col0
-          Statistics: Num rows: 6 Data size: 47 Basic stats: COMPLETE Column 
stats: NONE
+          Statistics: Num rows: 7 Data size: 56 Basic stats: COMPLETE Column 
stats: NONE
           File Output Operator
             compressed: false
-            Statistics: Num rows: 6 Data size: 47 Basic stats: COMPLETE Column 
stats: NONE
+            Statistics: Num rows: 7 Data size: 56 Basic stats: COMPLETE Column 
stats: NONE
             table:
                 input format: org.apache.hadoop.mapred.TextInputFormat
                 output format: 
org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -876,22 +876,22 @@ STAGE PLANS:
             alias: t1
             Statistics: Num rows: 11 Data size: 79 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: ((key > 2) and key is not null) (type: boolean)
-              Statistics: Num rows: 2 Data size: 14 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key > 2) (type: boolean)
+              Statistics: Num rows: 3 Data size: 21 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: key (type: int)
                 outputColumnNames: _col0
-                Statistics: Num rows: 2 Data size: 14 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 3 Data size: 21 Basic stats: COMPLETE 
Column stats: NONE
                 Group By Operator
                   keys: _col0 (type: int)
                   mode: hash
                   outputColumnNames: _col0
-                  Statistics: Num rows: 2 Data size: 14 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 3 Data size: 21 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: 2 Data size: 14 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 3 Data size: 21 Basic stats: 
COMPLETE Column stats: NONE
           TableScan
             alias: a
             Statistics: Num rows: 11 Data size: 84 Basic stats: COMPLETE 
Column stats: NONE

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/show_functions.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/show_functions.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/show_functions.q.out 
(original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/show_functions.q.out 
Thu Oct 30 16:22:33 2014
@@ -280,3 +280,75 @@ PREHOOK: query: SHOW FUNCTIONS '***'
 PREHOOK: type: SHOWFUNCTIONS
 POSTHOOK: query: SHOW FUNCTIONS '***'
 POSTHOOK: type: SHOWFUNCTIONS
+PREHOOK: query: SHOW FUNCTIONS LIKE 'When'
+PREHOOK: type: SHOWFUNCTIONS
+POSTHOOK: query: SHOW FUNCTIONS LIKE 'When'
+POSTHOOK: type: SHOWFUNCTIONS
+when
+PREHOOK: query: SHOW FUNCTIONS LIKE 'max|min'
+PREHOOK: type: SHOWFUNCTIONS
+POSTHOOK: query: SHOW FUNCTIONS LIKE 'max|min'
+POSTHOOK: type: SHOWFUNCTIONS
+max
+min
+PREHOOK: query: SHOW FUNCTIONS LIKE 'xpath*|m*'
+PREHOOK: type: SHOWFUNCTIONS
+POSTHOOK: query: SHOW FUNCTIONS LIKE 'xpath*|m*'
+POSTHOOK: type: SHOWFUNCTIONS
+map
+map_keys
+map_values
+matchpath
+max
+min
+minute
+month
+xpath
+xpath_boolean
+xpath_double
+xpath_float
+xpath_int
+xpath_long
+xpath_number
+xpath_short
+xpath_string
+PREHOOK: query: SHOW FUNCTIONS LIKE 'nomatch'
+PREHOOK: type: SHOWFUNCTIONS
+POSTHOOK: query: SHOW FUNCTIONS LIKE 'nomatch'
+POSTHOOK: type: SHOWFUNCTIONS
+PREHOOK: query: SHOW FUNCTIONS LIKE "log"
+PREHOOK: type: SHOWFUNCTIONS
+POSTHOOK: query: SHOW FUNCTIONS LIKE "log"
+POSTHOOK: type: SHOWFUNCTIONS
+log
+PREHOOK: query: SHOW FUNCTIONS LIKE 'log'
+PREHOOK: type: SHOWFUNCTIONS
+POSTHOOK: query: SHOW FUNCTIONS LIKE 'log'
+POSTHOOK: type: SHOWFUNCTIONS
+log
+PREHOOK: query: SHOW FUNCTIONS LIKE `log`
+PREHOOK: type: SHOWFUNCTIONS
+POSTHOOK: query: SHOW FUNCTIONS LIKE `log`
+POSTHOOK: type: SHOWFUNCTIONS
+log
+PREHOOK: query: SHOW FUNCTIONS LIKE 'log*'
+PREHOOK: type: SHOWFUNCTIONS
+POSTHOOK: query: SHOW FUNCTIONS LIKE 'log*'
+POSTHOOK: type: SHOWFUNCTIONS
+log
+log10
+log2
+PREHOOK: query: SHOW FUNCTIONS LIKE "log*"
+PREHOOK: type: SHOWFUNCTIONS
+POSTHOOK: query: SHOW FUNCTIONS LIKE "log*"
+POSTHOOK: type: SHOWFUNCTIONS
+log
+log10
+log2
+PREHOOK: query: SHOW FUNCTIONS LIKE `log*`
+PREHOOK: type: SHOWFUNCTIONS
+POSTHOOK: query: SHOW FUNCTIONS LIKE `log*`
+POSTHOOK: type: SHOWFUNCTIONS
+log
+log10
+log2

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/show_indexes_edge_cases.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/show_indexes_edge_cases.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- 
hive/branches/spark/ql/src/test/results/clientpositive/show_indexes_edge_cases.q.out
 (original)
+++ 
hive/branches/spark/ql/src/test/results/clientpositive/show_indexes_edge_cases.q.out
 Thu Oct 30 16:22:33 2014
@@ -118,10 +118,10 @@ PREHOOK: query: SHOW INDEXES ON show_idx
 PREHOOK: type: SHOWINDEXES
 POSTHOOK: query: SHOW INDEXES ON show_idx_full
 POSTHOOK: type: SHOWINDEXES
-idx_1                  show_idx_full           key                     
default__show_idx_full_idx_1__  compact                 
-idx_2                  show_idx_full           value1                  
default__show_idx_full_idx_2__  compact                 
-idx_comment            show_idx_full           value2                  
default__show_idx_full_idx_comment__    compact                 index comment   
    
-idx_compound           show_idx_full           key, value1             
default__show_idx_full_idx_compound__   compact                 
+idx_1                  show_idx_full           key                     
default.default__show_idx_full_idx_1__  compact                 
+idx_2                  show_idx_full           value1                  
default.default__show_idx_full_idx_2__  compact                 
+idx_comment            show_idx_full           value2                  
default.default__show_idx_full_idx_comment__    compact                 index 
comment       
+idx_compound           show_idx_full           key, value1             
default.default__show_idx_full_idx_compound__   compact                 
 PREHOOK: query: EXPLAIN SHOW INDEXES ON show_idx_empty
 PREHOOK: type: SHOWINDEXES
 POSTHOOK: query: EXPLAIN SHOW INDEXES ON show_idx_empty

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/show_indexes_syntax.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/show_indexes_syntax.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- 
hive/branches/spark/ql/src/test/results/clientpositive/show_indexes_syntax.q.out
 (original)
+++ 
hive/branches/spark/ql/src/test/results/clientpositive/show_indexes_syntax.q.out
 Thu Oct 30 16:22:33 2014
@@ -53,7 +53,7 @@ PREHOOK: query: SHOW INDEX ON show_idx_t
 PREHOOK: type: SHOWINDEXES
 POSTHOOK: query: SHOW INDEX ON show_idx_t1
 POSTHOOK: type: SHOWINDEXES
-idx_t1                 show_idx_t1             key                     
default__show_idx_t1_idx_t1__   compact                 
+idx_t1                 show_idx_t1             key                     
default.default__show_idx_t1_idx_t1__   compact                 
 PREHOOK: query: EXPLAIN
 SHOW INDEXES ON show_idx_t1
 PREHOOK: type: SHOWINDEXES
@@ -79,7 +79,7 @@ PREHOOK: query: SHOW INDEXES ON show_idx
 PREHOOK: type: SHOWINDEXES
 POSTHOOK: query: SHOW INDEXES ON show_idx_t1
 POSTHOOK: type: SHOWINDEXES
-idx_t1                 show_idx_t1             key                     
default__show_idx_t1_idx_t1__   compact                 
+idx_t1                 show_idx_t1             key                     
default.default__show_idx_t1_idx_t1__   compact                 
 PREHOOK: query: EXPLAIN
 SHOW FORMATTED INDEXES ON show_idx_t1
 PREHOOK: type: SHOWINDEXES
@@ -108,7 +108,7 @@ POSTHOOK: type: SHOWINDEXES
 idx_name               tab_name                col_names               
idx_tab_name            idx_type                comment             
                                         
                                         
-idx_t1                 show_idx_t1             key                     
default__show_idx_t1_idx_t1__   compact                 
+idx_t1                 show_idx_t1             key                     
default.default__show_idx_t1_idx_t1__   compact                 
 PREHOOK: query: DROP TABLE show_idx_t1
 PREHOOK: type: DROPTABLE
 PREHOOK: Input: default@show_idx_t1

Modified: hive/branches/spark/ql/src/test/results/clientpositive/skewjoin.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/skewjoin.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/skewjoin.q.out 
(original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/skewjoin.q.out Thu 
Oct 30 16:22:33 2014
@@ -970,48 +970,48 @@ STAGE PLANS:
             alias: src
             Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: (((key < 100) and key is not null) and (key < 80)) 
(type: boolean)
-              Statistics: Num rows: 27 Data size: 286 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (((key < 100) and (key < 80)) and key is not null) 
(type: boolean)
+              Statistics: Num rows: 28 Data size: 297 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: key (type: string), value (type: string)
                 outputColumnNames: _col0, _col1
-                Statistics: Num rows: 27 Data size: 286 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 28 Data size: 297 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: 27 Data size: 286 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 28 Data size: 297 Basic stats: 
COMPLETE Column stats: NONE
                   value expressions: _col1 (type: string)
           TableScan
             alias: src
             Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: (((key < 80) and key is not null) and (key < 100)) 
(type: boolean)
-              Statistics: Num rows: 27 Data size: 286 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: ((key < 80) and (key < 100)) (type: boolean)
+              Statistics: Num rows: 55 Data size: 584 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: key (type: string)
                 outputColumnNames: _col0
-                Statistics: Num rows: 27 Data size: 286 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 55 Data size: 584 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: 27 Data size: 286 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 55 Data size: 584 Basic stats: 
COMPLETE Column stats: NONE
           TableScan
             alias: src
             Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: (((key < 100) and key is not null) and (key < 80)) 
(type: boolean)
-              Statistics: Num rows: 27 Data size: 286 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: ((key < 100) and (key < 80)) (type: boolean)
+              Statistics: Num rows: 55 Data size: 584 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: key (type: string)
                 outputColumnNames: _col0
-                Statistics: Num rows: 27 Data size: 286 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 55 Data size: 584 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: 27 Data size: 286 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 55 Data size: 584 Basic stats: 
COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Join Operator
           condition map:
@@ -1023,11 +1023,11 @@ STAGE PLANS:
             2 
           handleSkewJoin: true
           outputColumnNames: _col0, _col3
-          Statistics: Num rows: 59 Data size: 629 Basic stats: COMPLETE Column 
stats: NONE
+          Statistics: Num rows: 121 Data size: 1284 Basic stats: COMPLETE 
Column stats: NONE
           Select Operator
             expressions: _col0 (type: string), _col3 (type: string)
             outputColumnNames: _col0, _col3
-            Statistics: Num rows: 59 Data size: 629 Basic stats: COMPLETE 
Column stats: NONE
+            Statistics: Num rows: 121 Data size: 1284 Basic stats: COMPLETE 
Column stats: NONE
             Group By Operator
               aggregations: sum(hash(_col0)), sum(hash(_col3))
               mode: hash

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/skewjoinopt10.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/skewjoinopt10.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/skewjoinopt10.q.out 
(original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/skewjoinopt10.q.out 
Thu Oct 30 16:22:33 2014
@@ -114,6 +114,8 @@ STAGE PLANS:
                   Statistics: Num rows: 3 Data size: 12 Basic stats: COMPLETE 
Column stats: NONE
                   Select Operator
                     SELECT * : (no compute)
+                    expressions: _col0 (type: string), _col1 (type: 
array<string>)
+                    outputColumnNames: 
org.apache.hadoop.hive.ql.plan.ExprNodeColumnDesc, 
org.apache.hadoop.hive.ql.plan.ExprNodeColumnDesc
                     Statistics: Num rows: 3 Data size: 12 Basic stats: 
COMPLETE Column stats: NONE
                     Lateral View Join Operator
                       outputColumnNames: _col0, _col1, _col2
@@ -160,6 +162,8 @@ STAGE PLANS:
                   Statistics: Num rows: 3 Data size: 12 Basic stats: COMPLETE 
Column stats: NONE
                   Select Operator
                     SELECT * : (no compute)
+                    expressions: _col0 (type: string), _col1 (type: 
array<string>)
+                    outputColumnNames: 
org.apache.hadoop.hive.ql.plan.ExprNodeColumnDesc, 
org.apache.hadoop.hive.ql.plan.ExprNodeColumnDesc
                     Statistics: Num rows: 3 Data size: 12 Basic stats: 
COMPLETE Column stats: NONE
                     Lateral View Join Operator
                       outputColumnNames: _col0, _col1, _col2

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin9.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin9.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin9.q.out 
(original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin9.q.out 
Thu Oct 30 16:22:33 2014
@@ -314,13 +314,13 @@ STAGE PLANS:
                      Inner Join 0 to 1
                 condition expressions:
                   0 {key}
-                  1 {key} {value} {ds}
+                  1 {key} {value}
                 keys:
                   0 key (type: int)
                   1 key (type: int)
-                outputColumnNames: _col0, _col6, _col7, _col8
+                outputColumnNames: _col0, _col6, _col7
                 Select Operator
-                  expressions: _col6 (type: int), _col7 (type: string), _col8 
(type: string), _col0 (type: int)
+                  expressions: _col6 (type: int), _col7 (type: string), 
'2010-10-15' (type: string), _col0 (type: int)
                   outputColumnNames: _col0, _col1, _col2, _col3
                   File Output Operator
                     compressed: false

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin_10.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin_10.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin_10.q.out 
(original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin_10.q.out 
Thu Oct 30 16:22:33 2014
@@ -90,14 +90,14 @@ STAGE PLANS:
                 condition map:
                      Inner Join 0 to 1
                 condition expressions:
-                  0 {userid} {pageid} {postid} {type} {ds}
-                  1 {userid} {pageid} {postid} {type} {ds}
+                  0 {userid} {pageid} {postid} {type}
+                  1 {userid} {pageid} {postid} {type}
                 keys:
                   0 userid (type: int), pageid (type: int), postid (type: 
int), type (type: string)
                   1 userid (type: int), pageid (type: int), postid (type: 
int), type (type: string)
-                outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col8, 
_col9, _col10, _col11, _col12
+                outputColumnNames: _col0, _col1, _col2, _col3, _col8, _col9, 
_col10, _col11
                 Select Operator
-                  expressions: _col0 (type: int), _col1 (type: int), _col2 
(type: int), _col3 (type: string), _col4 (type: string), _col8 (type: int), 
_col9 (type: int), _col10 (type: int), _col11 (type: string), _col12 (type: 
string)
+                  expressions: _col0 (type: int), _col1 (type: int), _col2 
(type: int), _col3 (type: string), '1' (type: string), _col8 (type: int), _col9 
(type: int), _col10 (type: int), _col11 (type: string), '2' (type: string)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9
                   File Output Operator
                     compressed: false

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin_14.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin_14.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin_14.q.out 
(original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin_14.q.out 
Thu Oct 30 16:22:33 2014
@@ -403,12 +403,12 @@ STAGE PLANS:
             alias: a
             Statistics: Num rows: 10 Data size: 70 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: ((key < 6) and key is not null) (type: boolean)
-              Statistics: Num rows: 2 Data size: 14 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key < 6) (type: boolean)
+              Statistics: Num rows: 3 Data size: 21 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: key (type: int)
                 outputColumnNames: _col0
-                Statistics: Num rows: 2 Data size: 14 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 3 Data size: 21 Basic stats: COMPLETE 
Column stats: NONE
                 Sorted Merge Bucket Map Join Operator
                   condition map:
                        Inner Join 0 to 1
@@ -746,12 +746,12 @@ STAGE PLANS:
             alias: a
             Statistics: Num rows: 10 Data size: 70 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: ((key < 8) and key is not null) (type: boolean)
-              Statistics: Num rows: 2 Data size: 14 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key < 8) (type: boolean)
+              Statistics: Num rows: 3 Data size: 21 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: key (type: int)
                 outputColumnNames: _col0
-                Statistics: Num rows: 2 Data size: 14 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 3 Data size: 21 Basic stats: COMPLETE 
Column stats: NONE
                 Sorted Merge Bucket Map Join Operator
                   condition map:
                        Inner Join 0 to 1
@@ -1045,12 +1045,12 @@ STAGE PLANS:
             alias: a
             Statistics: Num rows: 10 Data size: 70 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: ((key < 6) and key is not null) (type: boolean)
-              Statistics: Num rows: 2 Data size: 14 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key < 6) (type: boolean)
+              Statistics: Num rows: 3 Data size: 21 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: key (type: int)
                 outputColumnNames: _col0
-                Statistics: Num rows: 2 Data size: 14 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 3 Data size: 21 Basic stats: COMPLETE 
Column stats: NONE
                 Sorted Merge Bucket Map Join Operator
                   condition map:
                        Inner Join 0 to 1
@@ -1140,12 +1140,12 @@ STAGE PLANS:
             alias: a
             Statistics: Num rows: 10 Data size: 70 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: ((key < 6) and key is not null) (type: boolean)
-              Statistics: Num rows: 2 Data size: 14 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key < 6) (type: boolean)
+              Statistics: Num rows: 3 Data size: 21 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: key (type: int)
                 outputColumnNames: _col0
-                Statistics: Num rows: 2 Data size: 14 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 3 Data size: 21 Basic stats: COMPLETE 
Column stats: NONE
                 Sorted Merge Bucket Map Join Operator
                   condition map:
                        Inner Join 0 to 1

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin_25.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin_25.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin_25.q.out 
(original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin_25.q.out 
Thu Oct 30 16:22:33 2014
@@ -66,22 +66,22 @@ STAGE PLANS:
             alias: b
             Statistics: Num rows: 51 Data size: 206 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: (key is not null and (key = 5)) (type: boolean)
-              Statistics: Num rows: 13 Data size: 52 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key = 5) (type: boolean)
+              Statistics: Num rows: 25 Data size: 100 Basic stats: COMPLETE 
Column stats: NONE
               Reduce Output Operator
                 key expressions: 5 (type: int)
                 sort order: +
-                Statistics: Num rows: 13 Data size: 52 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 25 Data size: 100 Basic stats: COMPLETE 
Column stats: NONE
           TableScan
             alias: a
             Statistics: Num rows: 52 Data size: 208 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: (key is not null and (key = 5)) (type: boolean)
-              Statistics: Num rows: 13 Data size: 52 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key = 5) (type: boolean)
+              Statistics: Num rows: 26 Data size: 104 Basic stats: COMPLETE 
Column stats: NONE
               Reduce Output Operator
                 key expressions: 5 (type: int)
                 sort order: +
-                Statistics: Num rows: 13 Data size: 52 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 26 Data size: 104 Basic stats: COMPLETE 
Column stats: NONE
       Reduce Operator Tree:
         Join Operator
           condition map:
@@ -89,11 +89,11 @@ STAGE PLANS:
           condition expressions:
             0 
             1 
-          Statistics: Num rows: 14 Data size: 57 Basic stats: COMPLETE Column 
stats: NONE
+          Statistics: Num rows: 28 Data size: 114 Basic stats: COMPLETE Column 
stats: NONE
           Select Operator
             expressions: 5 (type: int)
             outputColumnNames: _col0
-            Statistics: Num rows: 14 Data size: 57 Basic stats: COMPLETE 
Column stats: NONE
+            Statistics: Num rows: 28 Data size: 114 Basic stats: COMPLETE 
Column stats: NONE
             File Output Operator
               compressed: false
               table:
@@ -109,13 +109,13 @@ STAGE PLANS:
               key expressions: _col0 (type: int)
               sort order: +
               Map-reduce partition columns: _col0 (type: int)
-              Statistics: Num rows: 14 Data size: 57 Basic stats: COMPLETE 
Column stats: NONE
+              Statistics: Num rows: 28 Data size: 114 Basic stats: COMPLETE 
Column stats: NONE
           TableScan
             Reduce Output Operator
               key expressions: _col0 (type: int)
               sort order: +
               Map-reduce partition columns: _col0 (type: int)
-              Statistics: Num rows: 15 Data size: 61 Basic stats: COMPLETE 
Column stats: NONE
+              Statistics: Num rows: 29 Data size: 118 Basic stats: COMPLETE 
Column stats: NONE
       Reduce Operator Tree:
         Join Operator
           condition map:
@@ -124,17 +124,17 @@ STAGE PLANS:
             0 {KEY.reducesinkkey0}
             1 {KEY.reducesinkkey0}
           outputColumnNames: _col0, _col1
-          Statistics: Num rows: 16 Data size: 67 Basic stats: COMPLETE Column 
stats: NONE
+          Statistics: Num rows: 31 Data size: 129 Basic stats: COMPLETE Column 
stats: NONE
           Filter Operator
             predicate: (_col1 = 5) (type: boolean)
-            Statistics: Num rows: 8 Data size: 33 Basic stats: COMPLETE Column 
stats: NONE
+            Statistics: Num rows: 15 Data size: 62 Basic stats: COMPLETE 
Column stats: NONE
             Select Operator
               expressions: _col0 (type: int), 5 (type: int)
               outputColumnNames: _col0, _col1
-              Statistics: Num rows: 8 Data size: 33 Basic stats: COMPLETE 
Column stats: NONE
+              Statistics: Num rows: 15 Data size: 62 Basic stats: COMPLETE 
Column stats: NONE
               File Output Operator
                 compressed: false
-                Statistics: Num rows: 8 Data size: 33 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 15 Data size: 62 Basic stats: COMPLETE 
Column stats: NONE
                 table:
                     input format: org.apache.hadoop.mapred.TextInputFormat
                     output format: 
org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -147,22 +147,22 @@ STAGE PLANS:
             alias: d
             Statistics: Num rows: 55 Data size: 222 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: (key is not null and (key = 5)) (type: boolean)
-              Statistics: Num rows: 14 Data size: 56 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key = 5) (type: boolean)
+              Statistics: Num rows: 27 Data size: 108 Basic stats: COMPLETE 
Column stats: NONE
               Reduce Output Operator
                 key expressions: 5 (type: int)
                 sort order: +
-                Statistics: Num rows: 14 Data size: 56 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 27 Data size: 108 Basic stats: COMPLETE 
Column stats: NONE
           TableScan
             alias: c
             Statistics: Num rows: 51 Data size: 206 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: (key is not null and (key = 5)) (type: boolean)
-              Statistics: Num rows: 13 Data size: 52 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key = 5) (type: boolean)
+              Statistics: Num rows: 25 Data size: 100 Basic stats: COMPLETE 
Column stats: NONE
               Reduce Output Operator
                 key expressions: 5 (type: int)
                 sort order: +
-                Statistics: Num rows: 13 Data size: 52 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 25 Data size: 100 Basic stats: COMPLETE 
Column stats: NONE
       Reduce Operator Tree:
         Join Operator
           condition map:
@@ -170,11 +170,11 @@ STAGE PLANS:
           condition expressions:
             0 
             1 
-          Statistics: Num rows: 15 Data size: 61 Basic stats: COMPLETE Column 
stats: NONE
+          Statistics: Num rows: 29 Data size: 118 Basic stats: COMPLETE Column 
stats: NONE
           Select Operator
             expressions: 5 (type: int)
             outputColumnNames: _col0
-            Statistics: Num rows: 15 Data size: 61 Basic stats: COMPLETE 
Column stats: NONE
+            Statistics: Num rows: 29 Data size: 118 Basic stats: COMPLETE 
Column stats: NONE
             File Output Operator
               compressed: false
               table:
@@ -216,8 +216,8 @@ STAGE PLANS:
             alias: a
             Statistics: Num rows: 52 Data size: 208 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: (key is not null and (key = 5)) (type: boolean)
-              Statistics: Num rows: 13 Data size: 52 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key = 5) (type: boolean)
+              Statistics: Num rows: 26 Data size: 104 Basic stats: COMPLETE 
Column stats: NONE
               Sorted Merge Bucket Map Join Operator
                 condition map:
                      Inner Join 0 to 1
@@ -238,8 +238,8 @@ STAGE PLANS:
             alias: c
             Statistics: Num rows: 51 Data size: 206 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: (key is not null and (key = 5)) (type: boolean)
-              Statistics: Num rows: 13 Data size: 52 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key = 5) (type: boolean)
+              Statistics: Num rows: 25 Data size: 100 Basic stats: COMPLETE 
Column stats: NONE
               Sorted Merge Bucket Map Join Operator
                 condition map:
                      Inner Join 0 to 1

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin_6.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin_6.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin_6.q.out 
(original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/smb_mapjoin_6.q.out 
Thu Oct 30 16:22:33 2014
@@ -2466,8 +2466,8 @@ STAGE PLANS:
             alias: b
             Statistics: Num rows: 500 Data size: 4812 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: (key is not null and (key > 1000)) (type: boolean)
-              Statistics: Num rows: 83 Data size: 798 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key > 1000) (type: boolean)
+              Statistics: Num rows: 166 Data size: 1597 Basic stats: COMPLETE 
Column stats: NONE
               Sorted Merge Bucket Map Join Operator
                 condition map:
                      Inner Join 0 to 1
@@ -2583,8 +2583,8 @@ STAGE PLANS:
             alias: a
             Statistics: Num rows: 500 Data size: 4812 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: (key is not null and (key > 1000)) (type: boolean)
-              Statistics: Num rows: 83 Data size: 798 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key > 1000) (type: boolean)
+              Statistics: Num rows: 166 Data size: 1597 Basic stats: COMPLETE 
Column stats: NONE
               Sorted Merge Bucket Map Join Operator
                 condition map:
                      Inner Join 0 to 1
@@ -2692,8 +2692,8 @@ STAGE PLANS:
             alias: a
             Statistics: Num rows: 500 Data size: 4812 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: (key is not null and (key > 1000)) (type: boolean)
-              Statistics: Num rows: 83 Data size: 798 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key > 1000) (type: boolean)
+              Statistics: Num rows: 166 Data size: 1597 Basic stats: COMPLETE 
Column stats: NONE
               Sorted Merge Bucket Map Join Operator
                 condition map:
                      Inner Join 0 to 1

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/sort_merge_join_desc_1.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/sort_merge_join_desc_1.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- 
hive/branches/spark/ql/src/test/results/clientpositive/sort_merge_join_desc_1.q.out
 (original)
+++ 
hive/branches/spark/ql/src/test/results/clientpositive/sort_merge_join_desc_1.q.out
 Thu Oct 30 16:22:33 2014
@@ -66,8 +66,8 @@ STAGE PLANS:
             alias: a
             Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: (key is not null and (key < 10)) (type: boolean)
-              Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key < 10) (type: boolean)
+              Statistics: Num rows: 166 Data size: 1763 Basic stats: COMPLETE 
Column stats: NONE
               Sorted Merge Bucket Map Join Operator
                 condition map:
                      Inner Join 0 to 1

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/sort_merge_join_desc_8.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/sort_merge_join_desc_8.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- 
hive/branches/spark/ql/src/test/results/clientpositive/sort_merge_join_desc_8.q.out
 (original)
+++ 
hive/branches/spark/ql/src/test/results/clientpositive/sort_merge_join_desc_8.q.out
 Thu Oct 30 16:22:33 2014
@@ -119,8 +119,8 @@ STAGE PLANS:
             alias: a
             Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: (key is not null and (key < 10)) (type: boolean)
-              Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key < 10) (type: boolean)
+              Statistics: Num rows: 166 Data size: 1763 Basic stats: COMPLETE 
Column stats: NONE
               Sorted Merge Bucket Map Join Operator
                 condition map:
                      Inner Join 0 to 1

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/subquery_exists.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/subquery_exists.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- 
hive/branches/spark/ql/src/test/results/clientpositive/subquery_exists.q.out 
(original)
+++ 
hive/branches/spark/ql/src/test/results/clientpositive/subquery_exists.q.out 
Thu Oct 30 16:22:33 2014
@@ -41,22 +41,22 @@ STAGE PLANS:
             alias: a
             Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: (((value > 'val_9') and value is not null) and key is 
not null) (type: boolean)
-              Statistics: Num rows: 42 Data size: 446 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: ((value > 'val_9') and key is not null) (type: 
boolean)
+              Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: value (type: string), key (type: string)
                 outputColumnNames: _col1, _col2
-                Statistics: Num rows: 42 Data size: 446 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE 
Column stats: NONE
                 Group By Operator
                   keys: _col1 (type: string), _col2 (type: string)
                   mode: hash
                   outputColumnNames: _col0, _col1
-                  Statistics: Num rows: 42 Data size: 446 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 83 Data size: 881 Basic stats: 
COMPLETE Column stats: NONE
                   Reduce Output Operator
                     key expressions: _col0 (type: string), _col1 (type: string)
                     sort order: ++
                     Map-reduce partition columns: _col0 (type: string), _col1 
(type: string)
-                    Statistics: Num rows: 42 Data size: 446 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 83 Data size: 881 Basic stats: 
COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Join Operator
           condition map:

Modified: 
hive/branches/spark/ql/src/test/results/clientpositive/subquery_in.q.out
URL: 
http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/subquery_in.q.out?rev=1635536&r1=1635535&r2=1635536&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/subquery_in.q.out 
(original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/subquery_in.q.out 
Thu Oct 30 16:22:33 2014
@@ -122,22 +122,22 @@ STAGE PLANS:
             alias: s1
             Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: ((key > '9') and key is not null) (type: boolean)
-              Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: (key > '9') (type: boolean)
+              Statistics: Num rows: 166 Data size: 1763 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: key (type: string)
                 outputColumnNames: _col0
-                Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 166 Data size: 1763 Basic stats: 
COMPLETE Column stats: NONE
                 Group By Operator
                   keys: _col0 (type: string)
                   mode: hash
                   outputColumnNames: _col0
-                  Statistics: Num rows: 83 Data size: 881 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 166 Data size: 1763 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: 83 Data size: 881 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 166 Data size: 1763 Basic stats: 
COMPLETE Column stats: NONE
           TableScan
             alias: src
             Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
@@ -243,22 +243,22 @@ STAGE PLANS:
             alias: a
             Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: (((key > '9') and key is not null) and value is not 
null) (type: boolean)
-              Statistics: Num rows: 42 Data size: 446 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: ((key > '9') and value is not null) (type: boolean)
+              Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: key (type: string), value (type: string)
                 outputColumnNames: _col0, _col1
-                Statistics: Num rows: 42 Data size: 446 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE 
Column stats: NONE
                 Group By Operator
                   keys: _col0 (type: string), _col1 (type: string)
                   mode: hash
                   outputColumnNames: _col0, _col1
-                  Statistics: Num rows: 42 Data size: 446 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 83 Data size: 881 Basic stats: 
COMPLETE Column stats: NONE
                   Reduce Output Operator
                     key expressions: _col0 (type: string), _col1 (type: string)
                     sort order: ++
                     Map-reduce partition columns: _col0 (type: string), _col1 
(type: string)
-                    Statistics: Num rows: 42 Data size: 446 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 83 Data size: 881 Basic stats: 
COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Join Operator
           condition map:
@@ -686,37 +686,37 @@ STAGE PLANS:
             alias: a
             Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
             Filter Operator
-              predicate: (((key > '9') and key is not null) and value is not 
null) (type: boolean)
-              Statistics: Num rows: 42 Data size: 446 Basic stats: COMPLETE 
Column stats: NONE
+              predicate: ((key > '9') and value is not null) (type: boolean)
+              Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: key (type: string), value (type: string)
                 outputColumnNames: key, value
-                Statistics: Num rows: 42 Data size: 446 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 83 Data size: 881 Basic stats: COMPLETE 
Column stats: NONE
                 Group By Operator
                   keys: key (type: string), value (type: string)
                   mode: hash
                   outputColumnNames: _col0, _col1
-                  Statistics: Num rows: 42 Data size: 446 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 83 Data size: 881 Basic stats: 
COMPLETE Column stats: NONE
                   Reduce Output Operator
                     key expressions: _col0 (type: string), _col1 (type: string)
                     sort order: ++
                     Map-reduce partition columns: _col0 (type: string), _col1 
(type: string)
-                    Statistics: Num rows: 42 Data size: 446 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 83 Data size: 881 Basic stats: 
COMPLETE Column stats: NONE
       Reduce Operator Tree:
         Group By Operator
           keys: KEY._col0 (type: string), KEY._col1 (type: string)
           mode: mergepartial
           outputColumnNames: _col0, _col1
-          Statistics: Num rows: 21 Data size: 223 Basic stats: COMPLETE Column 
stats: NONE
+          Statistics: Num rows: 41 Data size: 435 Basic stats: COMPLETE Column 
stats: NONE
           Select Operator
             expressions: _col0 (type: string), _col1 (type: string)
             outputColumnNames: _col0, _col1
-            Statistics: Num rows: 21 Data size: 223 Basic stats: COMPLETE 
Column stats: NONE
+            Statistics: Num rows: 41 Data size: 435 Basic stats: COMPLETE 
Column stats: NONE
             Group By Operator
               keys: _col0 (type: string), _col1 (type: string)
               mode: hash
               outputColumnNames: _col0, _col1
-              Statistics: Num rows: 21 Data size: 223 Basic stats: COMPLETE 
Column stats: NONE
+              Statistics: Num rows: 41 Data size: 435 Basic stats: COMPLETE 
Column stats: NONE
               File Output Operator
                 compressed: false
                 table:
@@ -743,7 +743,7 @@ STAGE PLANS:
               key expressions: _col0 (type: string), _col1 (type: string)
               sort order: ++
               Map-reduce partition columns: _col0 (type: string), _col1 (type: 
string)
-              Statistics: Num rows: 21 Data size: 223 Basic stats: COMPLETE 
Column stats: NONE
+              Statistics: Num rows: 41 Data size: 435 Basic stats: COMPLETE 
Column stats: NONE
       Reduce Operator Tree:
         Join Operator
           condition map:


Reply via email to