http://git-wip-us.apache.org/repos/asf/hive/blob/230cc4bb/ql/src/test/results/clientpositive/perf/spark/query54.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query54.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query54.q.out
index 43132bc..7ea7deb 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query54.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query54.q.out
@@ -148,7 +148,9 @@ STAGE PLANS:
                           sort order: +
                           Map-reduce partition columns: _col0 (type: int)
                           Statistics: Num rows: 18262 Data size: 20435178 
Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Reducer 29 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 keys: KEY._col0 (type: int)
@@ -167,6 +169,7 @@ STAGE PLANS:
                       Statistics: Num rows: 1 Data size: 8 Basic stats: 
COMPLETE Column stats: NONE
                       value expressions: _col0 (type: bigint)
         Reducer 30 
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
             Reduce Operator Tree:
@@ -205,6 +208,7 @@ STAGE PLANS:
                         keys:
                           0 _col1 (type: string), _col2 (type: string)
                           1 _col0 (type: string), _col1 (type: string)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
 
@@ -252,6 +256,7 @@ STAGE PLANS:
                           sort order: +
                           Map-reduce partition columns: _col0 (type: int)
                           Statistics: Num rows: 18262 Data size: 20435178 
Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 11 
             Map Operator Tree:
                 TableScan
@@ -270,6 +275,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 575995635 Data size: 50814502088 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: 
decimal(7,2))
+            Execution mode: vectorized
         Map 15 
             Map Operator Tree:
                 TableScan
@@ -288,6 +294,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 73049 Data size: 81741831 Basic 
stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int)
+            Execution mode: vectorized
         Map 16 
             Map Operator Tree:
                 TableScan
@@ -315,6 +322,7 @@ STAGE PLANS:
                           sort order: +
                           Map-reduce partition columns: _col0 (type: int)
                           Statistics: Num rows: 44000000 Data size: 
44654715780 Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
         Map 19 
@@ -335,6 +343,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 431992504 Data size: 58579807164 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: int)
+            Execution mode: vectorized
         Map 24 
             Map Operator Tree:
                 TableScan
@@ -353,6 +362,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 431992504 Data size: 58579807164 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: int)
+            Execution mode: vectorized
         Map 25 
             Map Operator Tree:
                 TableScan
@@ -370,6 +380,7 @@ STAGE PLANS:
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 18262 Data size: 20435178 Basic 
stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 26 
             Map Operator Tree:
                 TableScan
@@ -387,6 +398,7 @@ STAGE PLANS:
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 115500 Data size: 165890114 
Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 27 
             Map Operator Tree:
                 TableScan
@@ -405,6 +417,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 80000000 Data size: 68801615852 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int)
+            Execution mode: vectorized
         Map 31 
             Map Operator Tree:
                 TableScan
@@ -427,7 +440,9 @@ STAGE PLANS:
                           sort order: +
                           Map-reduce partition columns: _col0 (type: int)
                           Statistics: Num rows: 18262 Data size: 20435178 
Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Reducer 10 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
@@ -518,6 +533,7 @@ STAGE PLANS:
                   Map-reduce partition columns: _col5 (type: int)
                   Statistics: Num rows: 316240138 Data size: 42883351551 Basic 
stats: COMPLETE Column stats: NONE
         Reducer 2 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 keys: KEY._col0 (type: int)
@@ -580,6 +596,7 @@ STAGE PLANS:
                     Map-reduce partition columns: _col0 (type: int), _col1 
(type: int)
                     Statistics: Num rows: 574982058 Data size: 77969728405 
Basic stats: COMPLETE Column stats: NONE
         Reducer 23 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 keys: KEY._col0 (type: int), KEY._col1 (type: int)
@@ -614,6 +631,7 @@ STAGE PLANS:
                   Statistics: Num rows: 9131 Data size: 10299768 Basic stats: 
COMPLETE Column stats: NONE
                   value expressions: _col0 (type: int)
         Reducer 32 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 keys: KEY._col0 (type: int)
@@ -658,6 +676,7 @@ STAGE PLANS:
                           Statistics: Num rows: 6456523813801603 Data size: 
1024819115206086144 Basic stats: COMPLETE Column stats: NONE
                           value expressions: _col1 (type: decimal(17,2))
         Reducer 5 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
@@ -682,6 +701,7 @@ STAGE PLANS:
                       Statistics: Num rows: 3228261906900801 Data size: 
512409557603043008 Basic stats: COMPLETE Column stats: NONE
                       value expressions: _col1 (type: bigint)
         Reducer 6 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
@@ -700,6 +720,7 @@ STAGE PLANS:
                     TopN Hash Memory Usage: 0.1
                     value expressions: _col2 (type: int)
         Reducer 7 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Select Operator
                 expressions: KEY.reducesinkkey0 (type: int), 
KEY.reducesinkkey1 (type: bigint), VALUE._col0 (type: int)
@@ -716,6 +737,7 @@ STAGE PLANS:
                         output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
                         serde: 
org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
         Reducer 9 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 keys: KEY._col0 (type: int)

http://git-wip-us.apache.org/repos/asf/hive/blob/230cc4bb/ql/src/test/results/clientpositive/perf/spark/query55.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query55.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query55.q.out
index 44eb24e..2c2c5e3 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query55.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query55.q.out
@@ -56,6 +56,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 575995635 Data size: 50814502088 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: 
decimal(7,2))
+            Execution mode: vectorized
         Map 6 
             Map Operator Tree:
                 TableScan
@@ -73,6 +74,7 @@ STAGE PLANS:
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 18262 Data size: 20435178 Basic 
stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 7 
             Map Operator Tree:
                 TableScan
@@ -91,6 +93,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 231000 Data size: 331780228 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: 
string)
+            Execution mode: vectorized
         Reducer 2 
             Reduce Operator Tree:
               Join Operator
@@ -130,6 +133,7 @@ STAGE PLANS:
                     Statistics: Num rows: 696954748 Data size: 61485550191 
Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col2 (type: decimal(17,2))
         Reducer 4 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
@@ -148,6 +152,7 @@ STAGE PLANS:
                     TopN Hash Memory Usage: 0.1
                     value expressions: _col1 (type: string)
         Reducer 5 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Select Operator
                 expressions: KEY.reducesinkkey1 (type: int), VALUE._col0 
(type: string), KEY.reducesinkkey0 (type: decimal(17,2))

http://git-wip-us.apache.org/repos/asf/hive/blob/230cc4bb/ql/src/test/results/clientpositive/perf/spark/query56.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query56.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query56.q.out
index 0c90268..b369c62 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query56.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query56.q.out
@@ -178,6 +178,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: string)
                         Statistics: Num rows: 462000 Data size: 663560457 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: int)
+            Execution mode: vectorized
         Map 12 
             Map Operator Tree:
                 TableScan
@@ -195,6 +196,7 @@ STAGE PLANS:
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 18262 Data size: 20435178 Basic 
stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 13 
             Map Operator Tree:
                 TableScan
@@ -212,6 +214,7 @@ STAGE PLANS:
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 20000000 Data size: 20297597642 
Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 18 
             Map Operator Tree:
                 TableScan
@@ -234,6 +237,7 @@ STAGE PLANS:
                           sort order: +
                           Map-reduce partition columns: _col0 (type: string)
                           Statistics: Num rows: 231000 Data size: 331780228 
Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 20 
             Map Operator Tree:
                 TableScan
@@ -252,6 +256,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 287989836 Data size: 38999608952 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: 
int), _col3 (type: decimal(7,2))
+            Execution mode: vectorized
         Map 25 
             Map Operator Tree:
                 TableScan
@@ -270,6 +275,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: string)
                         Statistics: Num rows: 462000 Data size: 663560457 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: int)
+            Execution mode: vectorized
         Map 31 
             Map Operator Tree:
                 TableScan
@@ -288,6 +294,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 144002668 Data size: 19580198212 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: 
int), _col3 (type: decimal(7,2))
+            Execution mode: vectorized
         Map 34 
             Map Operator Tree:
                 TableScan
@@ -305,6 +312,7 @@ STAGE PLANS:
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 18262 Data size: 20435178 Basic 
stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 35 
             Map Operator Tree:
                 TableScan
@@ -322,6 +330,7 @@ STAGE PLANS:
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 20000000 Data size: 20297597642 
Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 9 
             Map Operator Tree:
                 TableScan
@@ -340,6 +349,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 575995635 Data size: 50814502088 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: 
int), _col3 (type: decimal(7,2))
+            Execution mode: vectorized
         Reducer 10 
             Reduce Operator Tree:
               Join Operator
@@ -415,6 +425,7 @@ STAGE PLANS:
                     Statistics: Num rows: 383314495 Data size: 51908482889 
Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col1 (type: decimal(17,2))
         Reducer 17 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
@@ -435,6 +446,7 @@ STAGE PLANS:
                     Statistics: Num rows: 670816147 Data size: 72801917426 
Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col1 (type: decimal(27,2))
         Reducer 19 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 keys: KEY._col0 (type: string)
@@ -521,6 +533,7 @@ STAGE PLANS:
                     Statistics: Num rows: 191667562 Data size: 26061245514 
Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col1 (type: decimal(17,2))
         Reducer 28 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
@@ -563,6 +576,7 @@ STAGE PLANS:
                     Statistics: Num rows: 766650239 Data size: 67634106676 
Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col1 (type: decimal(17,2))
         Reducer 30 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 keys: KEY._col0 (type: string)
@@ -611,6 +625,7 @@ STAGE PLANS:
                     Statistics: Num rows: 174243235 Data size: 23692040863 
Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col5 (type: decimal(7,2))
         Reducer 4 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
@@ -631,6 +646,7 @@ STAGE PLANS:
                     Statistics: Num rows: 670816147 Data size: 72801917426 
Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col1 (type: decimal(27,2))
         Reducer 5 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
@@ -645,6 +661,7 @@ STAGE PLANS:
                   TopN Hash Memory Usage: 0.1
                   value expressions: _col0 (type: string)
         Reducer 6 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Select Operator
                 expressions: VALUE._col0 (type: string), KEY.reducesinkkey0 
(type: decimal(27,2))

http://git-wip-us.apache.org/repos/asf/hive/blob/230cc4bb/ql/src/test/results/clientpositive/perf/spark/query57.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query57.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query57.q.out
index 1b66f54..3ed57e1 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query57.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query57.q.out
@@ -120,6 +120,7 @@ STAGE PLANS:
                         keys:
                           0 _col1 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
 
@@ -143,6 +144,7 @@ STAGE PLANS:
                         keys:
                           0 _col1 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
 
@@ -166,6 +168,7 @@ STAGE PLANS:
                         keys:
                           0 _col1 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
 
@@ -207,6 +210,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 287989836 Data size: 38999608952 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: 
int), _col3 (type: decimal(7,2))
+            Execution mode: vectorized
         Map 10 
             Map Operator Tree:
                 TableScan
@@ -225,6 +229,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 462000 Data size: 663560457 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: string), _col2 (type: 
string)
+            Execution mode: vectorized
         Map 11 
             Map Operator Tree:
                 TableScan
@@ -243,6 +248,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 287989836 Data size: 38999608952 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: 
int), _col3 (type: decimal(7,2))
+            Execution mode: vectorized
         Map 17 
             Map Operator Tree:
                 TableScan
@@ -261,6 +267,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 73048 Data size: 81740712 Basic 
stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: int)
+            Execution mode: vectorized
         Map 19 
             Map Operator Tree:
                 TableScan
@@ -279,6 +286,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 462000 Data size: 663560457 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: string), _col2 (type: 
string)
+            Execution mode: vectorized
         Map 20 
             Map Operator Tree:
                 TableScan
@@ -297,6 +305,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 287989836 Data size: 38999608952 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: 
int), _col3 (type: decimal(7,2))
+            Execution mode: vectorized
         Map 25 
             Map Operator Tree:
                 TableScan
@@ -315,6 +324,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 73048 Data size: 81740712 Basic 
stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: int)
+            Execution mode: vectorized
         Map 27 
             Map Operator Tree:
                 TableScan
@@ -333,6 +343,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 462000 Data size: 663560457 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: string), _col2 (type: 
string)
+            Execution mode: vectorized
         Map 8 
             Map Operator Tree:
                 TableScan
@@ -351,6 +362,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 73048 Data size: 81740712 Basic 
stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: int)
+            Execution mode: vectorized
         Reducer 12 
             Local Work:
               Map Reduce Local Work
@@ -402,6 +414,7 @@ STAGE PLANS:
                     Statistics: Num rows: 383314495 Data size: 51908482889 
Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col5 (type: decimal(17,2))
         Reducer 14 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
@@ -416,6 +429,7 @@ STAGE PLANS:
                   Statistics: Num rows: 191657247 Data size: 25954241376 Basic 
stats: COMPLETE Column stats: NONE
                   value expressions: _col1 (type: int), _col5 (type: 
decimal(17,2))
         Reducer 15 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Select Operator
                 expressions: KEY.reducesinkkey3 (type: int), VALUE._col0 
(type: int), KEY.reducesinkkey2 (type: string), KEY.reducesinkkey1 (type: 
string), KEY.reducesinkkey0 (type: string), VALUE._col1 (type: decimal(17,2))
@@ -577,6 +591,7 @@ STAGE PLANS:
                     Statistics: Num rows: 383314495 Data size: 51908482889 
Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col5 (type: decimal(17,2))
         Reducer 23 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
@@ -653,6 +668,7 @@ STAGE PLANS:
                     Statistics: Num rows: 383314495 Data size: 51908482889 
Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col5 (type: decimal(17,2))
         Reducer 4 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
@@ -729,6 +745,7 @@ STAGE PLANS:
                     TopN Hash Memory Usage: 0.1
                     value expressions: _col0 (type: string), _col1 (type: 
string), _col3 (type: int), _col4 (type: decimal(21,6)), _col5 (type: 
decimal(17,2)), _col6 (type: decimal(17,2)), _col7 (type: decimal(17,2))
         Reducer 7 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Select Operator
                 expressions: VALUE._col0 (type: string), VALUE._col1 (type: 
string), KEY.reducesinkkey1 (type: int), VALUE._col2 (type: int), VALUE._col3 
(type: decimal(21,6)), VALUE._col4 (type: decimal(17,2)), VALUE._col5 (type: 
decimal(17,2)), VALUE._col6 (type: decimal(17,2))

http://git-wip-us.apache.org/repos/asf/hive/blob/230cc4bb/ql/src/test/results/clientpositive/perf/spark/query58.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query58.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query58.q.out
index f06cbef..823a184 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query58.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query58.q.out
@@ -162,7 +162,9 @@ STAGE PLANS:
                           sort order: 
                           Statistics: Num rows: 1 Data size: 8 Basic stats: 
COMPLETE Column stats: NONE
                           value expressions: _col0 (type: bigint)
+            Execution mode: vectorized
         Reducer 11 
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
             Reduce Operator Tree:
@@ -206,7 +208,9 @@ STAGE PLANS:
                           sort order: 
                           Statistics: Num rows: 1 Data size: 8 Basic stats: 
COMPLETE Column stats: NONE
                           value expressions: _col0 (type: bigint)
+            Execution mode: vectorized
         Reducer 24 
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
             Reduce Operator Tree:
@@ -250,7 +254,9 @@ STAGE PLANS:
                           sort order: 
                           Statistics: Num rows: 1 Data size: 8 Basic stats: 
COMPLETE Column stats: NONE
                           value expressions: _col0 (type: bigint)
+            Execution mode: vectorized
         Reducer 37 
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
             Reduce Operator Tree:
@@ -312,6 +318,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: int)
                         Statistics: Num rows: 287989836 Data size: 38999608952 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: int), _col2 (type: 
decimal(7,2))
+            Execution mode: vectorized
         Map 12 
             Map Operator Tree:
                 TableScan
@@ -339,6 +346,7 @@ STAGE PLANS:
                           sort order: +
                           Map-reduce partition columns: _col1 (type: int)
                           Statistics: Num rows: 36524 Data size: 41199072 
Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
         Map 15 
@@ -359,6 +367,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: int)
                         Statistics: Num rows: 73049 Data size: 81741831 Basic 
stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: string)
+            Execution mode: vectorized
         Map 16 
             Map Operator Tree:
                 TableScan
@@ -377,6 +386,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: int)
                         Statistics: Num rows: 575995635 Data size: 50814502088 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: int), _col2 (type: 
decimal(7,2))
+            Execution mode: vectorized
         Map 20 
             Map Operator Tree:
                 TableScan
@@ -395,6 +405,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 462000 Data size: 663560457 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: string)
+            Execution mode: vectorized
         Map 21 
             Map Operator Tree:
                 TableScan
@@ -413,6 +424,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: string)
                         Statistics: Num rows: 73049 Data size: 81741831 Basic 
stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: int)
+            Execution mode: vectorized
         Map 25 
             Map Operator Tree:
                 TableScan
@@ -440,6 +452,7 @@ STAGE PLANS:
                           sort order: +
                           Map-reduce partition columns: _col1 (type: int)
                           Statistics: Num rows: 36524 Data size: 41199072 
Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
         Map 28 
@@ -460,6 +473,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: int)
                         Statistics: Num rows: 73049 Data size: 81741831 Basic 
stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: string)
+            Execution mode: vectorized
         Map 29 
             Map Operator Tree:
                 TableScan
@@ -478,6 +492,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: int)
                         Statistics: Num rows: 144002668 Data size: 19580198212 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: int), _col2 (type: 
decimal(7,2))
+            Execution mode: vectorized
         Map 33 
             Map Operator Tree:
                 TableScan
@@ -496,6 +511,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 462000 Data size: 663560457 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: string)
+            Execution mode: vectorized
         Map 34 
             Map Operator Tree:
                 TableScan
@@ -514,6 +530,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: string)
                         Statistics: Num rows: 73049 Data size: 81741831 Basic 
stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: int)
+            Execution mode: vectorized
         Map 38 
             Map Operator Tree:
                 TableScan
@@ -541,6 +558,7 @@ STAGE PLANS:
                           sort order: +
                           Map-reduce partition columns: _col1 (type: int)
                           Statistics: Num rows: 36524 Data size: 41199072 
Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
         Map 41 
@@ -561,6 +579,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: int)
                         Statistics: Num rows: 73049 Data size: 81741831 Basic 
stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: string)
+            Execution mode: vectorized
         Map 7 
             Map Operator Tree:
                 TableScan
@@ -579,6 +598,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 462000 Data size: 663560457 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: string)
+            Execution mode: vectorized
         Map 8 
             Map Operator Tree:
                 TableScan
@@ -597,6 +617,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: string)
                         Statistics: Num rows: 73049 Data size: 81741831 Basic 
stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: int)
+            Execution mode: vectorized
         Reducer 13 
             Reduce Operator Tree:
               Join Operator
@@ -618,6 +639,7 @@ STAGE PLANS:
                     Map-reduce partition columns: _col0 (type: string)
                     Statistics: Num rows: 80353 Data size: 89916016 Basic 
stats: COMPLETE Column stats: NONE
         Reducer 14 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 keys: KEY._col0 (type: string)
@@ -668,6 +690,7 @@ STAGE PLANS:
                     Statistics: Num rows: 696954748 Data size: 61485550191 
Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col1 (type: decimal(17,2))
         Reducer 19 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
@@ -733,6 +756,7 @@ STAGE PLANS:
                     Map-reduce partition columns: _col0 (type: string)
                     Statistics: Num rows: 80353 Data size: 89916016 Basic 
stats: COMPLETE Column stats: NONE
         Reducer 27 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 keys: KEY._col0 (type: string)
@@ -805,6 +829,7 @@ STAGE PLANS:
                     Statistics: Num rows: 174243235 Data size: 23692040863 
Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col1 (type: decimal(17,2))
         Reducer 32 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
@@ -854,6 +879,7 @@ STAGE PLANS:
                     Map-reduce partition columns: _col0 (type: string)
                     Statistics: Num rows: 80353 Data size: 89916016 Basic 
stats: COMPLETE Column stats: NONE
         Reducer 4 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
@@ -868,6 +894,7 @@ STAGE PLANS:
                   Statistics: Num rows: 174233858 Data size: 23594764438 Basic 
stats: COMPLETE Column stats: NONE
                   value expressions: _col1 (type: decimal(17,2))
         Reducer 40 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 keys: KEY._col0 (type: string)
@@ -905,6 +932,7 @@ STAGE PLANS:
                       TopN Hash Memory Usage: 0.1
                       value expressions: _col2 (type: decimal(38,17)), _col3 
(type: decimal(17,2)), _col4 (type: decimal(38,17)), _col5 (type: 
decimal(17,2)), _col6 (type: decimal(38,17)), _col7 (type: decimal(23,6))
         Reducer 6 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Select Operator
                 expressions: KEY.reducesinkkey0 (type: string), 
KEY.reducesinkkey1 (type: decimal(17,2)), VALUE._col0 (type: decimal(38,17)), 
VALUE._col1 (type: decimal(17,2)), VALUE._col2 (type: decimal(38,17)), 
VALUE._col3 (type: decimal(17,2)), VALUE._col4 (type: decimal(38,17)), 
VALUE._col5 (type: decimal(23,6))

http://git-wip-us.apache.org/repos/asf/hive/blob/230cc4bb/ql/src/test/results/clientpositive/perf/spark/query59.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query59.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query59.q.out
index c2fe4f7..e9e4b28 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query59.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query59.q.out
@@ -111,6 +111,7 @@ STAGE PLANS:
                         keys:
                           0 _col1 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
 
@@ -134,6 +135,7 @@ STAGE PLANS:
                         keys:
                           0 _col1 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
 
@@ -168,6 +170,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 575995635 Data size: 50814502088 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: 
decimal(7,2))
+            Execution mode: vectorized
         Map 10 
             Map Operator Tree:
                 TableScan
@@ -186,6 +189,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 575995635 Data size: 50814502088 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: 
decimal(7,2))
+            Execution mode: vectorized
         Map 14 
             Map Operator Tree:
                 TableScan
@@ -204,6 +208,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 73049 Data size: 81741831 Basic 
stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: 
string)
+            Execution mode: vectorized
         Map 15 
             Map Operator Tree:
                 TableScan
@@ -221,6 +226,7 @@ STAGE PLANS:
                         sort order: +
                         Map-reduce partition columns: _col1 (type: int)
                         Statistics: Num rows: 8116 Data size: 9081804 Basic 
stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 7 
             Map Operator Tree:
                 TableScan
@@ -239,6 +245,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 73049 Data size: 81741831 Basic 
stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: 
string)
+            Execution mode: vectorized
         Map 8 
             Map Operator Tree:
                 TableScan
@@ -256,6 +263,7 @@ STAGE PLANS:
                         sort order: +
                         Map-reduce partition columns: _col1 (type: int)
                         Statistics: Num rows: 8116 Data size: 9081804 Basic 
stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Reducer 11 
             Reduce Operator Tree:
               Join Operator
@@ -283,6 +291,7 @@ STAGE PLANS:
                       Statistics: Num rows: 633595212 Data size: 55895953508 
Basic stats: COMPLETE Column stats: NONE
                       value expressions: _col2 (type: decimal(17,2)), _col3 
(type: decimal(17,2)), _col4 (type: decimal(17,2)), _col5 (type: 
decimal(17,2)), _col6 (type: decimal(17,2)), _col7 (type: decimal(17,2))
         Reducer 12 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0), sum(VALUE._col1), 
sum(VALUE._col2), sum(VALUE._col3), sum(VALUE._col4), sum(VALUE._col5)
@@ -355,6 +364,7 @@ STAGE PLANS:
                       Statistics: Num rows: 633595212 Data size: 55895953508 
Basic stats: COMPLETE Column stats: NONE
                       value expressions: _col2 (type: decimal(17,2)), _col3 
(type: decimal(17,2)), _col4 (type: decimal(17,2)), _col5 (type: 
decimal(17,2)), _col6 (type: decimal(17,2)), _col7 (type: decimal(17,2)), _col8 
(type: decimal(17,2))
         Reducer 3 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0), sum(VALUE._col1), 
sum(VALUE._col2), sum(VALUE._col3), sum(VALUE._col4), sum(VALUE._col5), 
sum(VALUE._col6)
@@ -421,6 +431,7 @@ STAGE PLANS:
                     TopN Hash Memory Usage: 0.1
                     value expressions: _col3 (type: decimal(37,20)), _col4 
(type: decimal(37,20)), _col5 (type: decimal(37,20)), _col6 (type: 
decimal(37,20)), _col7 (type: decimal(37,20)), _col8 (type: decimal(37,20)), 
_col9 (type: decimal(37,20))
         Reducer 6 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Select Operator
                 expressions: KEY.reducesinkkey0 (type: string), 
KEY.reducesinkkey1 (type: string), KEY.reducesinkkey2 (type: int), VALUE._col0 
(type: decimal(37,20)), VALUE._col1 (type: decimal(37,20)), VALUE._col2 (type: 
decimal(37,20)), VALUE._col3 (type: decimal(37,20)), VALUE._col4 (type: 
decimal(37,20)), VALUE._col5 (type: decimal(37,20)), VALUE._col6 (type: 
decimal(37,20))

http://git-wip-us.apache.org/repos/asf/hive/blob/230cc4bb/ql/src/test/results/clientpositive/perf/spark/query6.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query6.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query6.q.out
index 954bacb..a7f08d4 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query6.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query6.q.out
@@ -84,7 +84,9 @@ STAGE PLANS:
                           sort order: +
                           Map-reduce partition columns: _col0 (type: int)
                           Statistics: Num rows: 18262 Data size: 20435178 
Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Reducer 18 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 keys: KEY._col0 (type: int)
@@ -103,6 +105,7 @@ STAGE PLANS:
                       Statistics: Num rows: 1 Data size: 8 Basic stats: 
COMPLETE Column stats: NONE
                       value expressions: _col0 (type: bigint)
         Reducer 19 
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
             Reduce Operator Tree:
@@ -154,6 +157,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: int)
                         Statistics: Num rows: 73049 Data size: 81741831 Basic 
stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: int)
+            Execution mode: vectorized
         Map 10 
             Map Operator Tree:
                 TableScan
@@ -172,6 +176,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 575995635 Data size: 50814502088 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: int)
+            Execution mode: vectorized
         Map 11 
             Map Operator Tree:
                 TableScan
@@ -190,6 +195,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: int)
                         Statistics: Num rows: 80000000 Data size: 68801615852 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: int)
+            Execution mode: vectorized
         Map 13 
             Map Operator Tree:
                 TableScan
@@ -208,6 +214,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 40000000 Data size: 40595195284 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: string)
+            Execution mode: vectorized
         Map 14 
             Map Operator Tree:
                 TableScan
@@ -228,6 +235,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: string)
                         Statistics: Num rows: 462000 Data size: 663560457 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: decimal(17,2)), _col2 
(type: bigint)
+            Execution mode: vectorized
         Map 20 
             Map Operator Tree:
                 TableScan
@@ -246,6 +254,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col2 (type: string)
                         Statistics: Num rows: 462000 Data size: 663560457 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: int), _col1 (type: 
decimal(7,2))
+            Execution mode: vectorized
         Map 8 
             Map Operator Tree:
                 TableScan
@@ -268,6 +277,7 @@ STAGE PLANS:
                           sort order: +
                           Map-reduce partition columns: _col0 (type: int)
                           Statistics: Num rows: 18262 Data size: 20435178 
Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Reducer 12 
             Reduce Operator Tree:
               Join Operator
@@ -285,6 +295,7 @@ STAGE PLANS:
                   Statistics: Num rows: 88000001 Data size: 75681779077 Basic 
stats: COMPLETE Column stats: NONE
                   value expressions: _col3 (type: string)
         Reducer 15 
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
             Reduce Operator Tree:
@@ -406,6 +417,7 @@ STAGE PLANS:
                     Statistics: Num rows: 766650239 Data size: 67634106676 
Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col1 (type: bigint)
         Reducer 6 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: count(VALUE._col0)
@@ -423,6 +435,7 @@ STAGE PLANS:
                     TopN Hash Memory Usage: 0.1
                     value expressions: _col0 (type: string)
         Reducer 7 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Select Operator
                 expressions: VALUE._col0 (type: string), KEY.reducesinkkey0 
(type: bigint)
@@ -439,6 +452,7 @@ STAGE PLANS:
                         output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
                         serde: 
org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
         Reducer 9 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 keys: KEY._col0 (type: int)

http://git-wip-us.apache.org/repos/asf/hive/blob/230cc4bb/ql/src/test/results/clientpositive/perf/spark/query60.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query60.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query60.q.out
index ec69e75..ef7a0df 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query60.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query60.q.out
@@ -198,6 +198,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: string)
                         Statistics: Num rows: 462000 Data size: 663560457 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: int)
+            Execution mode: vectorized
         Map 12 
             Map Operator Tree:
                 TableScan
@@ -215,6 +216,7 @@ STAGE PLANS:
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 18262 Data size: 20435178 Basic 
stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 13 
             Map Operator Tree:
                 TableScan
@@ -232,6 +234,7 @@ STAGE PLANS:
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 20000000 Data size: 20297597642 
Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 18 
             Map Operator Tree:
                 TableScan
@@ -254,6 +257,7 @@ STAGE PLANS:
                           sort order: +
                           Map-reduce partition columns: _col0 (type: string)
                           Statistics: Num rows: 231000 Data size: 331780228 
Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 20 
             Map Operator Tree:
                 TableScan
@@ -272,6 +276,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 287989836 Data size: 38999608952 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: 
int), _col3 (type: decimal(7,2))
+            Execution mode: vectorized
         Map 25 
             Map Operator Tree:
                 TableScan
@@ -290,6 +295,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: string)
                         Statistics: Num rows: 462000 Data size: 663560457 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: int)
+            Execution mode: vectorized
         Map 31 
             Map Operator Tree:
                 TableScan
@@ -308,6 +314,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 144002668 Data size: 19580198212 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: 
int), _col3 (type: decimal(7,2))
+            Execution mode: vectorized
         Map 34 
             Map Operator Tree:
                 TableScan
@@ -325,6 +332,7 @@ STAGE PLANS:
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 18262 Data size: 20435178 Basic 
stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 35 
             Map Operator Tree:
                 TableScan
@@ -342,6 +350,7 @@ STAGE PLANS:
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 20000000 Data size: 20297597642 
Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 9 
             Map Operator Tree:
                 TableScan
@@ -360,6 +369,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 575995635 Data size: 50814502088 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: 
int), _col3 (type: decimal(7,2))
+            Execution mode: vectorized
         Reducer 10 
             Reduce Operator Tree:
               Join Operator
@@ -435,6 +445,7 @@ STAGE PLANS:
                     Statistics: Num rows: 383314495 Data size: 51908482889 
Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col1 (type: decimal(17,2))
         Reducer 17 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
@@ -456,6 +467,7 @@ STAGE PLANS:
                     TopN Hash Memory Usage: 0.1
                     value expressions: _col1 (type: decimal(27,2))
         Reducer 19 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 keys: KEY._col0 (type: string)
@@ -542,6 +554,7 @@ STAGE PLANS:
                     Statistics: Num rows: 191667562 Data size: 26061245514 
Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col1 (type: decimal(17,2))
         Reducer 28 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
@@ -585,6 +598,7 @@ STAGE PLANS:
                     Statistics: Num rows: 766650239 Data size: 67634106676 
Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col1 (type: decimal(17,2))
         Reducer 30 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 keys: KEY._col0 (type: string)
@@ -633,6 +647,7 @@ STAGE PLANS:
                     Statistics: Num rows: 174243235 Data size: 23692040863 
Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col5 (type: decimal(7,2))
         Reducer 4 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
@@ -654,6 +669,7 @@ STAGE PLANS:
                     TopN Hash Memory Usage: 0.1
                     value expressions: _col1 (type: decimal(27,2))
         Reducer 5 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
@@ -667,6 +683,7 @@ STAGE PLANS:
                   Statistics: Num rows: 335408073 Data size: 36400958658 Basic 
stats: COMPLETE Column stats: NONE
                   TopN Hash Memory Usage: 0.1
         Reducer 6 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Select Operator
                 expressions: KEY.reducesinkkey0 (type: string), 
KEY.reducesinkkey1 (type: decimal(27,2))

http://git-wip-us.apache.org/repos/asf/hive/blob/230cc4bb/ql/src/test/results/clientpositive/perf/spark/query61.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query61.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query61.q.out
index 5062307..7cfaa78 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query61.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query61.q.out
@@ -113,6 +113,7 @@ STAGE PLANS:
                         keys:
                           0 _col3 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
 
@@ -144,6 +145,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: int)
                         Statistics: Num rows: 80000000 Data size: 68801615852 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: int)
+            Execution mode: vectorized
         Map 18 
             Map Operator Tree:
                 TableScan
@@ -161,6 +163,7 @@ STAGE PLANS:
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 20000000 Data size: 20297597642 
Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 19 
             Map Operator Tree:
                 TableScan
@@ -179,6 +182,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 575995635 Data size: 50814502088 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: 
int), _col3 (type: int), _col4 (type: decimal(7,2))
+            Execution mode: vectorized
         Map 22 
             Map Operator Tree:
                 TableScan
@@ -196,6 +200,7 @@ STAGE PLANS:
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 18262 Data size: 20435178 Basic 
stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 23 
             Map Operator Tree:
                 TableScan
@@ -213,6 +218,7 @@ STAGE PLANS:
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 231000 Data size: 331780228 
Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Reducer 15 
             Reduce Operator Tree:
               Join Operator
@@ -248,6 +254,7 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 112 Basic stats: 
COMPLETE Column stats: NONE
                     value expressions: _col0 (type: decimal(17,2))
         Reducer 17 
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
             Reduce Operator Tree:
@@ -325,6 +332,7 @@ STAGE PLANS:
                         keys:
                           0 _col3 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
         Map 13 
@@ -343,6 +351,7 @@ STAGE PLANS:
                         keys:
                           0 _col4 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
 
@@ -375,6 +384,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: int)
                         Statistics: Num rows: 80000000 Data size: 68801615852 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: int)
+            Execution mode: vectorized
         Map 10 
             Map Operator Tree:
                 TableScan
@@ -392,6 +402,7 @@ STAGE PLANS:
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 18262 Data size: 20435178 Basic 
stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 11 
             Map Operator Tree:
                 TableScan
@@ -409,6 +420,7 @@ STAGE PLANS:
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 231000 Data size: 331780228 
Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 6 
             Map Operator Tree:
                 TableScan
@@ -426,6 +438,7 @@ STAGE PLANS:
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 20000000 Data size: 20297597642 
Basic stats: COMPLETE Column stats: NONE
+            Execution mode: vectorized
         Map 7 
             Map Operator Tree:
                 TableScan
@@ -444,6 +457,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 575995635 Data size: 50814502088 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: 
int), _col3 (type: int), _col4 (type: int), _col5 (type: decimal(7,2))
+            Execution mode: vectorized
         Reducer 2 
             Reduce Operator Tree:
               Join Operator
@@ -479,6 +493,7 @@ STAGE PLANS:
                     Statistics: Num rows: 1 Data size: 112 Basic stats: 
COMPLETE Column stats: NONE
                     value expressions: _col0 (type: decimal(17,2))
         Reducer 4 
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
             Reduce Operator Tree:
@@ -508,6 +523,7 @@ STAGE PLANS:
                       TopN Hash Memory Usage: 0.1
                       value expressions: _col2 (type: decimal(38,19))
         Reducer 5 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Select Operator
                 expressions: KEY.reducesinkkey0 (type: decimal(17,2)), 
KEY.reducesinkkey1 (type: decimal(17,2)), VALUE._col0 (type: decimal(38,19))

http://git-wip-us.apache.org/repos/asf/hive/blob/230cc4bb/ql/src/test/results/clientpositive/perf/spark/query63.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query63.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query63.q.out
index 3c934de..21d4749 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query63.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query63.q.out
@@ -80,6 +80,7 @@ STAGE PLANS:
                         keys:
                           0 _col2 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
 
@@ -110,6 +111,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: int)
                         Statistics: Num rows: 575995635 Data size: 50814502088 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: int), _col2 (type: 
int), _col3 (type: decimal(7,2))
+            Execution mode: vectorized
         Map 6 
             Map Operator Tree:
                 TableScan
@@ -128,6 +130,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 115500 Data size: 165890114 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col4 (type: int)
+            Execution mode: vectorized
         Map 7 
             Map Operator Tree:
                 TableScan
@@ -146,6 +149,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 36525 Data size: 40871475 Basic 
stats: COMPLETE Column stats: NONE
                         value expressions: _col2 (type: int)
+            Execution mode: vectorized
         Reducer 2 
             Reduce Operator Tree:
               Join Operator
@@ -245,6 +249,7 @@ STAGE PLANS:
                             Statistics: Num rows: 191662559 Data size: 
16908526602 Basic stats: COMPLETE Column stats: NONE
                             TopN Hash Memory Usage: 0.1
         Reducer 5 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Select Operator
                 expressions: KEY.reducesinkkey0 (type: int), 
KEY.reducesinkkey2 (type: decimal(17,2)), KEY.reducesinkkey1 (type: 
decimal(21,6))

http://git-wip-us.apache.org/repos/asf/hive/blob/230cc4bb/ql/src/test/results/clientpositive/perf/spark/query65.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query65.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query65.q.out
index 3b3baef..c587e9a 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query65.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query65.q.out
@@ -81,6 +81,7 @@ STAGE PLANS:
                         keys:
                           0 _col0 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
 
@@ -104,6 +105,7 @@ STAGE PLANS:
                         keys:
                           0 _col0 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
 
@@ -151,6 +153,7 @@ STAGE PLANS:
                             Map-reduce partition columns: _col0 (type: int), 
_col1 (type: int)
                             Statistics: Num rows: 633595212 Data size: 
55895953508 Basic stats: COMPLETE Column stats: NONE
                             value expressions: _col2 (type: decimal(17,2))
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
         Map 10 
@@ -171,6 +174,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 1704 Data size: 3256276 Basic 
stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: string)
+            Execution mode: vectorized
         Map 11 
             Map Operator Tree:
                 TableScan
@@ -189,6 +193,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 462000 Data size: 663560457 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: string), _col2 (type: 
decimal(7,2)), _col3 (type: decimal(7,2)), _col4 (type: string)
+            Execution mode: vectorized
         Map 7 
             Map Operator Tree:
                 TableScan
@@ -223,9 +228,11 @@ STAGE PLANS:
                             Map-reduce partition columns: _col0 (type: int)
                             Statistics: Num rows: 633595212 Data size: 
55895953508 Basic stats: COMPLETE Column stats: NONE
                             value expressions: _col2 (type: decimal(17,2))
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
         Reducer 2 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
@@ -281,6 +288,7 @@ STAGE PLANS:
                     TopN Hash Memory Usage: 0.1
                     value expressions: _col2 (type: decimal(17,2)), _col3 
(type: decimal(7,2)), _col4 (type: decimal(7,2)), _col5 (type: string)
         Reducer 5 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Select Operator
                 expressions: KEY.reducesinkkey0 (type: string), 
KEY.reducesinkkey1 (type: string), VALUE._col0 (type: decimal(17,2)), 
VALUE._col1 (type: decimal(7,2)), VALUE._col2 (type: decimal(7,2)), VALUE._col3 
(type: string)
@@ -297,6 +305,7 @@ STAGE PLANS:
                         output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
                         serde: 
org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
         Reducer 8 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)

http://git-wip-us.apache.org/repos/asf/hive/blob/230cc4bb/ql/src/test/results/clientpositive/perf/spark/query66.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query66.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query66.q.out
index 17e6ac7..b779dfc 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query66.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query66.q.out
@@ -469,6 +469,7 @@ STAGE PLANS:
                         keys:
                           0 _col2 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
         Map 9 
@@ -487,6 +488,7 @@ STAGE PLANS:
                         keys:
                           0 _col3 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
 
@@ -510,6 +512,7 @@ STAGE PLANS:
                         keys:
                           0 _col1 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
 
@@ -533,6 +536,7 @@ STAGE PLANS:
                         keys:
                           0 _col2 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
         Map 16 
@@ -551,6 +555,7 @@ STAGE PLANS:
                         keys:
                           0 _col3 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
 
@@ -574,6 +579,7 @@ STAGE PLANS:
                         keys:
                           0 _col1 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
 
@@ -616,6 +622,7 @@ STAGE PLANS:
                           Map-reduce partition columns: _col0 (type: int)
                           Statistics: Num rows: 158402938 Data size: 
21538218500 Basic stats: COMPLETE Column stats: NONE
                           value expressions: _col2 (type: int), _col3 (type: 
int), _col4 (type: int), _col5 (type: decimal(7,2)), _col6 (type: decimal(7,2))
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
         Map 10 
@@ -646,6 +653,7 @@ STAGE PLANS:
                           Map-reduce partition columns: _col0 (type: int)
                           Statistics: Num rows: 316788826 Data size: 
42899570777 Basic stats: COMPLETE Column stats: NONE
                           value expressions: _col2 (type: int), _col3 (type: 
int), _col4 (type: int), _col5 (type: decimal(7,2)), _col6 (type: decimal(7,2))
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
         Map 14 
@@ -666,6 +674,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 36524 Data size: 40870356 Basic 
stats: COMPLETE Column stats: NONE
                         value expressions: _col2 (type: int)
+            Execution mode: vectorized
         Map 7 
             Map Operator Tree:
                 TableScan
@@ -684,6 +693,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 36524 Data size: 40870356 Basic 
stats: COMPLETE Column stats: NONE
                         value expressions: _col2 (type: int)
+            Execution mode: vectorized
         Reducer 11 
             Local Work:
               Map Reduce Local Work
@@ -733,6 +743,7 @@ STAGE PLANS:
                           Statistics: Num rows: 421645953 Data size: 
57099332415 Basic stats: PARTIAL Column stats: NONE
                           value expressions: _col6 (type: decimal(28,2)), 
_col7 (type: decimal(28,2)), _col8 (type: decimal(28,2)), _col9 (type: 
decimal(28,2)), _col10 (type: decimal(28,2)), _col11 (type: decimal(28,2)), 
_col12 (type: decimal(28,2)), _col13 (type: decimal(28,2)), _col14 (type: 
decimal(28,2)), _col15 (type: decimal(28,2)), _col16 (type: decimal(28,2)), 
_col17 (type: decimal(28,2)), _col18 (type: decimal(28,2)), _col19 (type: 
decimal(28,2)), _col20 (type: decimal(28,2)), _col21 (type: decimal(28,2)), 
_col22 (type: decimal(28,2)), _col23 (type: decimal(28,2)), _col24 (type: 
decimal(28,2)), _col25 (type: decimal(28,2)), _col26 (type: decimal(28,2)), 
_col27 (type: decimal(28,2)), _col28 (type: decimal(28,2)), _col29 (type: 
decimal(28,2))
         Reducer 12 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0), sum(VALUE._col1), 
sum(VALUE._col2), sum(VALUE._col3), sum(VALUE._col4), sum(VALUE._col5), 
sum(VALUE._col6), sum(VALUE._col7), sum(VALUE._col8), sum(VALUE._col9), 
sum(VALUE._col10), sum(VALUE._col11), sum(VALUE._col12), sum(VALUE._col13), 
sum(VALUE._col14), sum(VALUE._col15), sum(VALUE._col16), sum(VALUE._col17), 
sum(VALUE._col18), sum(VALUE._col19), sum(VALUE._col20), sum(VALUE._col21), 
sum(VALUE._col22), sum(VALUE._col23)
@@ -806,6 +817,7 @@ STAGE PLANS:
                           Statistics: Num rows: 210834322 Data size: 
28667370686 Basic stats: PARTIAL Column stats: NONE
                           value expressions: _col6 (type: decimal(28,2)), 
_col7 (type: decimal(28,2)), _col8 (type: decimal(28,2)), _col9 (type: 
decimal(28,2)), _col10 (type: decimal(28,2)), _col11 (type: decimal(28,2)), 
_col12 (type: decimal(28,2)), _col13 (type: decimal(28,2)), _col14 (type: 
decimal(28,2)), _col15 (type: decimal(28,2)), _col16 (type: decimal(28,2)), 
_col17 (type: decimal(28,2)), _col18 (type: decimal(28,2)), _col19 (type: 
decimal(28,2)), _col20 (type: decimal(28,2)), _col21 (type: decimal(28,2)), 
_col22 (type: decimal(28,2)), _col23 (type: decimal(28,2)), _col24 (type: 
decimal(28,2)), _col25 (type: decimal(28,2)), _col26 (type: decimal(28,2)), 
_col27 (type: decimal(28,2)), _col28 (type: decimal(28,2)), _col29 (type: 
decimal(28,2))
         Reducer 3 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0), sum(VALUE._col1), 
sum(VALUE._col2), sum(VALUE._col3), sum(VALUE._col4), sum(VALUE._col5), 
sum(VALUE._col6), sum(VALUE._col7), sum(VALUE._col8), sum(VALUE._col9), 
sum(VALUE._col10), sum(VALUE._col11), sum(VALUE._col12), sum(VALUE._col13), 
sum(VALUE._col14), sum(VALUE._col15), sum(VALUE._col16), sum(VALUE._col17), 
sum(VALUE._col18), sum(VALUE._col19), sum(VALUE._col20), sum(VALUE._col21), 
sum(VALUE._col22), sum(VALUE._col23)
@@ -831,6 +843,7 @@ STAGE PLANS:
                       TopN Hash Memory Usage: 0.1
                       value expressions: _col6 (type: decimal(38,2)), _col7 
(type: decimal(38,2)), _col8 (type: decimal(38,2)), _col9 (type: 
decimal(38,2)), _col10 (type: decimal(38,2)), _col11 (type: decimal(38,2)), 
_col12 (type: decimal(38,2)), _col13 (type: decimal(38,2)), _col14 (type: 
decimal(38,2)), _col15 (type: decimal(38,2)), _col16 (type: decimal(38,2)), 
_col17 (type: decimal(38,2)), _col18 (type: decimal(38,12)), _col19 (type: 
decimal(38,12)), _col20 (type: decimal(38,12)), _col21 (type: decimal(38,12)), 
_col22 (type: decimal(38,12)), _col23 (type: decimal(38,12)), _col24 (type: 
decimal(38,12)), _col25 (type: decimal(38,12)), _col26 (type: decimal(38,12)), 
_col27 (type: decimal(38,12)), _col28 (type: decimal(38,12)), _col29 (type: 
decimal(38,12)), _col30 (type: decimal(38,2)), _col31 (type: decimal(38,2)), 
_col32 (type: decimal(38,2)), _col33 (type: decimal(38,2)), _col34 (type: 
decimal(38,2)), _col35 (type: decimal(38,2)), _col36 (type: decimal(38,2)), 
_col37 (type: deci
 mal(38,2)), _col38 (type: decimal(38,2)), _col39 (type: decimal(38,2)), _col40 
(type: decimal(38,2)), _col41 (type: decimal(38,2))
         Reducer 4 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0), sum(VALUE._col1), 
sum(VALUE._col2), sum(VALUE._col3), sum(VALUE._col4), sum(VALUE._col5), 
sum(VALUE._col6), sum(VALUE._col7), sum(VALUE._col8), sum(VALUE._col9), 
sum(VALUE._col10), sum(VALUE._col11), sum(VALUE._col12), sum(VALUE._col13), 
sum(VALUE._col14), sum(VALUE._col15), sum(VALUE._col16), sum(VALUE._col17), 
sum(VALUE._col18), sum(VALUE._col19), sum(VALUE._col20), sum(VALUE._col21), 
sum(VALUE._col22), sum(VALUE._col23), sum(VALUE._col24), sum(VALUE._col25), 
sum(VALUE._col26), sum(VALUE._col27), sum(VALUE._col28), sum(VALUE._col29), 
sum(VALUE._col30), sum(VALUE._col31), sum(VALUE._col32), sum(VALUE._col33), 
sum(VALUE._col34), sum(VALUE._col35)
@@ -845,6 +858,7 @@ STAGE PLANS:
                   TopN Hash Memory Usage: 0.1
                   value expressions: _col1 (type: int), _col2 (type: string), 
_col3 (type: string), _col4 (type: string), _col5 (type: string), _col6 (type: 
decimal(38,2)), _col7 (type: decimal(38,2)), _col8 (type: decimal(38,2)), _col9 
(type: decimal(38,2)), _col10 (type: decimal(38,2)), _col11 (type: 
decimal(38,2)), _col12 (type: decimal(38,2)), _col13 (type: decimal(38,2)), 
_col14 (type: decimal(38,2)), _col15 (type: decimal(38,2)), _col16 (type: 
decimal(38,2)), _col17 (type: decimal(38,2)), _col18 (type: decimal(38,12)), 
_col19 (type: decimal(38,12)), _col20 (type: decimal(38,12)), _col21 (type: 
decimal(38,12)), _col22 (type: decimal(38,12)), _col23 (type: decimal(38,12)), 
_col24 (type: decimal(38,12)), _col25 (type: decimal(38,12)), _col26 (type: 
decimal(38,12)), _col27 (type: decimal(38,12)), _col28 (type: decimal(38,12)), 
_col29 (type: decimal(38,12)), _col30 (type: decimal(38,2)), _col31 (type: 
decimal(38,2)), _col32 (type: decimal(38,2)), _col33 (type: decimal(38,2)), 
_col3
 4 (type: decimal(38,2)), _col35 (type: decimal(38,2)), _col36 (type: 
decimal(38,2)), _col37 (type: decimal(38,2)), _col38 (type: decimal(38,2)), 
_col39 (type: decimal(38,2)), _col40 (type: decimal(38,2)), _col41 (type: 
decimal(38,2))
         Reducer 5 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Select Operator
                 expressions: KEY.reducesinkkey0 (type: string), VALUE._col0 
(type: int), VALUE._col1 (type: string), VALUE._col2 (type: string), 
VALUE._col3 (type: string), VALUE._col4 (type: string), VALUE._col5 (type: 
decimal(38,2)), VALUE._col6 (type: decimal(38,2)), VALUE._col7 (type: 
decimal(38,2)), VALUE._col8 (type: decimal(38,2)), VALUE._col9 (type: 
decimal(38,2)), VALUE._col10 (type: decimal(38,2)), VALUE._col11 (type: 
decimal(38,2)), VALUE._col12 (type: decimal(38,2)), VALUE._col13 (type: 
decimal(38,2)), VALUE._col14 (type: decimal(38,2)), VALUE._col15 (type: 
decimal(38,2)), VALUE._col16 (type: decimal(38,2)), VALUE._col17 (type: 
decimal(38,12)), VALUE._col18 (type: decimal(38,12)), VALUE._col19 (type: 
decimal(38,12)), VALUE._col20 (type: decimal(38,12)), VALUE._col21 (type: 
decimal(38,12)), VALUE._col22 (type: decimal(38,12)), VALUE._col23 (type: 
decimal(38,12)), VALUE._col24 (type: decimal(38,12)), VALUE._col25 (type: 
decimal(38,12)), VALUE._col26 (type: decimal(38,12)),
  VALUE._col27 (type: decimal(38,12)), VALUE._col28 (type: decimal(38,12)), 
VALUE._col29 (type: decimal(38,2)), VALUE._col30 (type: decimal(38,2)), 
VALUE._col31 (type: decimal(38,2)), VALUE._col32 (type: decimal(38,2)), 
VALUE._col33 (type: decimal(38,2)), VALUE._col34 (type: decimal(38,2)), 
VALUE._col35 (type: decimal(38,2)), VALUE._col36 (type: decimal(38,2)), 
VALUE._col37 (type: decimal(38,2)), VALUE._col38 (type: decimal(38,2)), 
VALUE._col39 (type: decimal(38,2)), VALUE._col40 (type: decimal(38,2))

http://git-wip-us.apache.org/repos/asf/hive/blob/230cc4bb/ql/src/test/results/clientpositive/perf/spark/query67.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query67.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query67.q.out
index 26f6775..f8c5313 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query67.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query67.q.out
@@ -110,6 +110,7 @@ STAGE PLANS:
                         keys:
                           0 _col2 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
 
@@ -141,6 +142,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 575995635 Data size: 50814502088 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: int), _col2 (type: 
int), _col3 (type: int), _col4 (type: decimal(7,2))
+            Execution mode: vectorized
         Map 7 
             Map Operator Tree:
                 TableScan
@@ -159,6 +161,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 8116 Data size: 9081804 Basic 
stats: COMPLETE Column stats: NONE
                         value expressions: _col2 (type: int), _col3 (type: 
int), _col4 (type: int)
+            Execution mode: vectorized
         Map 9 
             Map Operator Tree:
                 TableScan
@@ -177,6 +180,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 462000 Data size: 663560457 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: string), _col2 (type: 
string), _col3 (type: string), _col4 (type: string)
+            Execution mode: vectorized
         Reducer 2 
             Local Work:
               Map Reduce Local Work
@@ -232,6 +236,7 @@ STAGE PLANS:
                       Statistics: Num rows: 6899852151 Data size: 608706960084 
Basic stats: COMPLETE Column stats: NONE
                       value expressions: _col9 (type: decimal(28,2))
         Reducer 4 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0)
@@ -252,6 +257,7 @@ STAGE PLANS:
                     TopN Hash Memory Usage: 0.1
                     value expressions: _col1 (type: string), _col2 (type: 
string), _col3 (type: string), _col4 (type: int), _col5 (type: int), _col6 
(type: int), _col7 (type: string)
         Reducer 5 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Select Operator
                 expressions: KEY.reducesinkkey0 (type: string), VALUE._col0 
(type: string), VALUE._col1 (type: string), VALUE._col2 (type: string), 
VALUE._col3 (type: int), VALUE._col4 (type: int), VALUE._col5 (type: int), 
VALUE._col6 (type: string), KEY.reducesinkkey1 (type: decimal(28,2))
@@ -291,6 +297,7 @@ STAGE PLANS:
                         Statistics: Num rows: 1149975358 Data size: 
101451159969 Basic stats: COMPLETE Column stats: NONE
                         TopN Hash Memory Usage: 0.1
         Reducer 6 
+            Execution mode: vectorized
             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: int), 
KEY.reducesinkkey5 (type: int), KEY.reducesinkkey6 (type: int), 
KEY.reducesinkkey7 (type: string), KEY.reducesinkkey8 (type: decimal(28,2)), 
KEY.reducesinkkey9 (type: int)

http://git-wip-us.apache.org/repos/asf/hive/blob/230cc4bb/ql/src/test/results/clientpositive/perf/spark/query68.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query68.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query68.q.out
index 585aa40..01aa5e0 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query68.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query68.q.out
@@ -106,6 +106,7 @@ STAGE PLANS:
                         keys:
                           0 _col4 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
         Map 11 
@@ -124,6 +125,7 @@ STAGE PLANS:
                         keys:
                           0 _col2 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
         Map 9 
@@ -142,6 +144,7 @@ STAGE PLANS:
                         keys:
                           0 _col0 (type: int)
                           1 _col0 (type: int)
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
 
@@ -173,6 +176,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col1 (type: int)
                         Statistics: Num rows: 80000000 Data size: 68801615852 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col0 (type: int), _col2 (type: 
string), _col3 (type: string)
+            Execution mode: vectorized
         Map 12 
             Map Operator Tree:
                 TableScan
@@ -191,6 +195,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 40000000 Data size: 40595195284 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: string)
+            Execution mode: vectorized
         Map 5 
             Map Operator Tree:
                 TableScan
@@ -209,6 +214,7 @@ STAGE PLANS:
                         Map-reduce partition columns: _col0 (type: int)
                         Statistics: Num rows: 40000000 Data size: 40595195284 
Basic stats: COMPLETE Column stats: NONE
                         value expressions: _col1 (type: string)
+            Execution mode: vectorized
         Map 6 
             Map Operator Tree:
                 TableScan
@@ -257,6 +263,7 @@ STAGE PLANS:
                               Map-reduce partition columns: _col3 (type: int)
                               Statistics: Num rows: 766650239 Data size: 
67634106676 Basic stats: COMPLETE Column stats: NONE
                               value expressions: _col1 (type: int), _col5 
(type: int), _col6 (type: decimal(7,2)), _col7 (type: decimal(7,2)), _col8 
(type: decimal(7,2))
+            Execution mode: vectorized
             Local Work:
               Map Reduce Local Work
         Reducer 2 
@@ -299,6 +306,7 @@ STAGE PLANS:
                       TopN Hash Memory Usage: 0.1
                       value expressions: _col1 (type: string), _col2 (type: 
string), _col3 (type: string), _col5 (type: decimal(17,2)), _col6 (type: 
decimal(17,2)), _col7 (type: decimal(17,2))
         Reducer 4 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Select Operator
                 expressions: KEY.reducesinkkey0 (type: string), VALUE._col0 
(type: string), VALUE._col1 (type: string), VALUE._col2 (type: string), 
KEY.reducesinkkey1 (type: int), VALUE._col3 (type: decimal(17,2)), VALUE._col4 
(type: decimal(17,2)), VALUE._col5 (type: decimal(17,2))
@@ -337,6 +345,7 @@ STAGE PLANS:
                     Statistics: Num rows: 843315281 Data size: 74397518956 
Basic stats: COMPLETE Column stats: NONE
                     value expressions: _col4 (type: decimal(17,2)), _col5 
(type: decimal(17,2)), _col6 (type: decimal(17,2))
         Reducer 8 
+            Execution mode: vectorized
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(VALUE._col0), sum(VALUE._col1), 
sum(VALUE._col2)

Reply via email to