http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/vector_outer_join4.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vector_outer_join4.q.out 
b/ql/src/test/results/clientpositive/vector_outer_join4.q.out
index 2826698..adbb759 100644
--- a/ql/src/test/results/clientpositive/vector_outer_join4.q.out
+++ b/ql/src/test/results/clientpositive/vector_outer_join4.q.out
@@ -130,16 +130,16 @@ POSTHOOK: query: select * from small_alltypesorc3b
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@small_alltypesorc3b
 #### A masked pattern was here ####
-NULL   NULL    -1015272448     -1887561756     NULL    NULL    jTQ68531mP      
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:45.854 false   false
-NULL   NULL    -609074876      -1887561756     NULL    NULL    EcM71   
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:55.061 true    false
-NULL   NULL    -700300206      -1887561756     NULL    NULL    kdqQE010        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:58.384 false   false
-NULL   NULL    -726473298      1864027286      NULL    NULL    
OFy1a1xf37f75b5N        4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:11.799 
true    true
-NULL   NULL    -738747840      -1645852809     NULL    NULL    
vmAT10eeE47fgH20pLi     xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.55  
true    false
-NULL   NULL    -838810013      1864027286      NULL    NULL    N016jPED08o     
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:44.252 false   true
-NULL   NULL    -850295959      -1887561756     NULL    NULL    WMIgGA73        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:00.348 false   false
-NULL   NULL    -886426182      -1887561756     NULL    NULL    
0i88xYq3gx1nW4vKjp7vBp3 4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:04.472 
true    false
-NULL   NULL    -899422227      -1645852809     NULL    NULL    73xdw4X 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:07.395 false   false
-NULL   NULL    -971543377      -1645852809     NULL    NULL    uN803aW 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.43  false   false
+NULL   -16269  -378213344      -1645852809     NULL    -16269.0        
sOdj1Tmvbl03f   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:15.867 false   
false
+NULL   -16274  -671342269      -1645852809     NULL    -16274.0        
3DE7EQo4KyT0hS  xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:51.469 false   
false
+NULL   -16296  -146635689      -1645852809     NULL    -16296.0        
r251rbt884txX2MNq4MM14  xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:44.809 
false   false
+NULL   -16296  593429004       -1887561756     NULL    -16296.0        
dhDYJ076SFcC    4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:47.422 false   
false
+NULL   -16300  -860437234      -1645852809     NULL    -16300.0        
Fb2W1r24opqN8m6571p     xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:45.815 
true    false
+NULL   -16306  384405526       -1645852809     NULL    -16306.0        b5SoK8  
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.105 true    false
+NULL   -16307  559926362       -1645852809     NULL    -16307.0        
nA8bdtWfPPQyP2hL5       xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:58.072 
false   false
+NULL   -16309  -826497289      -1645852809     NULL    -16309.0        
54o058c3mK6ewOQ5        xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:10.761 
false   false
+NULL   -16310  206154150       1864027286      NULL    -16310.0        5Hy1y6  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:00.821 false   true
+NULL   -16379  -894716315      1864027286      NULL    -16379.0        
2ArdYqML3654nUjGJk3     4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:47.059 
true    true
 PREHOOK: query: select * from small_alltypesorc4b
 PREHOOK: type: QUERY
 PREHOOK: Input: default@small_alltypesorc4b
@@ -236,16 +236,16 @@ POSTHOOK: Input: default@small_alltypesorc_b
 -64    -7196   NULL    658026952       -64.0   -7196.0 NULL    4tAur   
1969-12-31 15:59:53.866 1969-12-31 15:59:58.174 NULL    true
 -64    -8080   528534767       NULL    -64.0   -8080.0 cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:58.044 1969-12-31 15:59:48.655 true    NULL
 -64    -9842   253665376       NULL    -64.0   -9842.0 1cGVWH7n1QU     NULL    
1969-12-31 16:00:00.631 1969-12-31 16:00:01.781 true    NULL
-NULL   NULL    -1015272448     -1887561756     NULL    NULL    jTQ68531mP      
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:45.854 false   false
-NULL   NULL    -609074876      -1887561756     NULL    NULL    EcM71   
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:55.061 true    false
-NULL   NULL    -700300206      -1887561756     NULL    NULL    kdqQE010        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:58.384 false   false
-NULL   NULL    -726473298      1864027286      NULL    NULL    
OFy1a1xf37f75b5N        4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:11.799 
true    true
-NULL   NULL    -738747840      -1645852809     NULL    NULL    
vmAT10eeE47fgH20pLi     xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.55  
true    false
-NULL   NULL    -838810013      1864027286      NULL    NULL    N016jPED08o     
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:44.252 false   true
-NULL   NULL    -850295959      -1887561756     NULL    NULL    WMIgGA73        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:00.348 false   false
-NULL   NULL    -886426182      -1887561756     NULL    NULL    
0i88xYq3gx1nW4vKjp7vBp3 4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:04.472 
true    false
-NULL   NULL    -899422227      -1645852809     NULL    NULL    73xdw4X 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:07.395 false   false
-NULL   NULL    -971543377      -1645852809     NULL    NULL    uN803aW 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.43  false   false
+NULL   -16269  -378213344      -1645852809     NULL    -16269.0        
sOdj1Tmvbl03f   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:15.867 false   
false
+NULL   -16274  -671342269      -1645852809     NULL    -16274.0        
3DE7EQo4KyT0hS  xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:51.469 false   
false
+NULL   -16296  -146635689      -1645852809     NULL    -16296.0        
r251rbt884txX2MNq4MM14  xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:44.809 
false   false
+NULL   -16296  593429004       -1887561756     NULL    -16296.0        
dhDYJ076SFcC    4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:47.422 false   
false
+NULL   -16300  -860437234      -1645852809     NULL    -16300.0        
Fb2W1r24opqN8m6571p     xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:45.815 
true    false
+NULL   -16306  384405526       -1645852809     NULL    -16306.0        b5SoK8  
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.105 true    false
+NULL   -16307  559926362       -1645852809     NULL    -16307.0        
nA8bdtWfPPQyP2hL5       xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:58.072 
false   false
+NULL   -16309  -826497289      -1645852809     NULL    -16309.0        
54o058c3mK6ewOQ5        xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:10.761 
false   false
+NULL   -16310  206154150       1864027286      NULL    -16310.0        5Hy1y6  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:00.821 false   true
+NULL   -16379  -894716315      1864027286      NULL    -16379.0        
2ArdYqML3654nUjGJk3     4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:47.059 
true    true
 PREHOOK: query: explain vectorization detail formatted
 select * 
 from small_alltypesorc_b c
@@ -258,7 +258,7 @@ from small_alltypesorc_b c
 left outer join small_alltypesorc_b cd
   on cd.cint = c.cint
 POSTHOOK: type: QUERY
-{"optimizedSQL":"SELECT *\nFROM (SELECT `ctinyint`, `csmallint`, `cint`, 
`cbigint`, `cfloat`, `cdouble`, `cstring1`, `cstring2`, `ctimestamp1`, 
`ctimestamp2`, `cboolean1`, `cboolean2`\nFROM `default`.`small_alltypesorc_b`) 
AS `t`\nLEFT JOIN (SELECT `ctinyint`, `csmallint`, `cint`, `cbigint`, `cfloat`, 
`cdouble`, `cstring1`, `cstring2`, `ctimestamp1`, `ctimestamp2`, `cboolean1`, 
`cboolean2`\nFROM `default`.`small_alltypesorc_b`) AS `t0` ON `t`.`cint` = 
`t0`.`cint`","PLAN 
VECTORIZATION":{"enabled":true,"enabledConditionsMet":["hive.vectorized.execution.enabled
 IS true"]},"cboInfo":"Plan optimized by CBO.","STAGE 
DEPENDENCIES":{"Stage-4":{"ROOT STAGE":"TRUE"},"Stage-3":{"DEPENDENT 
STAGES":"Stage-4"},"Stage-0":{"DEPENDENT STAGES":"Stage-3"}},"STAGE 
PLANS":{"Stage-4":{"Map Reduce Local Work":{"Alias -> Map Local 
Tables:":{"$hdt$_1:cd":{"Fetch Operator":{"limit:":"-1"}}},"Alias -> Map Local 
Operator 
Tree:":{"$hdt$_1:cd":{"TableScan":{"alias:":"cd","columns:":["ctinyint","csmallint","cint"
 
,"cbigint","cfloat","cdouble","cstring1","cstring2","ctimestamp1","ctimestamp2","cboolean1","cboolean2"],"database:":"default","Statistics:":"Num
 rows: 30 Data size: 6680 Basic stats: COMPLETE Column stats: 
NONE","table:":"small_alltypesorc_b","isTempTable:":"false","OperatorId:":"TS_2","children":{"Select
 Operator":{"expressions:":"ctinyint (type: tinyint), csmallint (type: 
smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), 
cdouble (type: double), cstring1 (type: string), cstring2 (type: string), 
ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: 
boolean), cboolean2 (type: 
boolean)","columnExprMap:":{"_col0":"ctinyint","_col1":"csmallint","_col10":"cboolean1","_col11":"cboolean2","_col2":"cint","_col3":"cbigint","_col4":"cfloat","_col5":"cdouble","_col6":"cstring1","_col7":"cstring2","_col8":"ctimestamp1","_col9":"ctimestamp2"},"outputColumnNames:":["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_
 col10","_col11"],"Statistics:":"Num rows: 30 Data size: 6680 Basic stats: 
COMPLETE Column stats: NONE","OperatorId:":"SEL_3","children":{"HashTable Sink 
Operator":{"keys:":{"0":"_col2 (type: int)","1":"_col2 (type: 
int)"},"OperatorId:":"HASHTABLESINK_10"}}}}}}}}},"Stage-3":{"Map Reduce":{"Map 
Operator 
Tree:":[{"TableScan":{"alias:":"c","columns:":["ctinyint","csmallint","cint","cbigint","cfloat","cdouble","cstring1","cstring2","ctimestamp1","ctimestamp2","cboolean1","cboolean2"],"database:":"default","Statistics:":"Num
 rows: 30 Data size: 6680 Basic stats: COMPLETE Column stats: 
NONE","table:":"small_alltypesorc_b","TableScan 
Vectorization:":{"native:":"true","vectorizationSchemaColumns:":"[0:ctinyint:tinyint,
 1:csmallint:smallint, 2:cint:int, 3:cbigint:bigint, 4:cfloat:float, 
5:cdouble:double, 6:cstring1:string, 7:cstring2:string, 
8:ctimestamp1:timestamp, 9:ctimestamp2:timestamp, 10:cboolean1:boolean, 
11:cboolean2:boolean, 
12:ROW__ID:struct<writeid:bigint,bucketid:int,rowid:bigint>
 ]"},"isTempTable:":"false","OperatorId:":"TS_0","children":{"Select 
Operator":{"expressions:":"ctinyint (type: tinyint), csmallint (type: 
smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), 
cdouble (type: double), cstring1 (type: string), cstring2 (type: string), 
ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: 
boolean), cboolean2 (type: 
boolean)","columnExprMap:":{"_col0":"ctinyint","_col1":"csmallint","_col10":"cboolean1","_col11":"cboolean2","_col2":"cint","_col3":"cbigint","_col4":"cfloat","_col5":"cdouble","_col6":"cstring1","_col7":"cstring2","_col8":"ctimestamp1","_col9":"ctimestamp2"},"outputColumnNames:":["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11"],"Select
 
Vectorization:":{"className:":"VectorSelectOperator","native:":"true","projectedOutputColumnNums:":"[0,
 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]"},"Statistics:":"Num rows: 30 Data size: 
6680 Basic stats: COMPLETE Column s
 tats: NONE","OperatorId:":"SEL_12","children":{"Map Join 
Operator":{"columnExprMap:":{"_col0":"0:_col0","_col1":"0:_col1","_col10":"0:_col10","_col11":"0:_col11","_col12":"1:_col0","_col13":"1:_col1","_col14":"1:_col2","_col15":"1:_col3","_col16":"1:_col4","_col17":"1:_col5","_col18":"1:_col6","_col19":"1:_col7","_col2":"0:_col2","_col20":"1:_col8","_col21":"1:_col9","_col22":"1:_col10","_col23":"1:_col11","_col3":"0:_col3","_col4":"0:_col4","_col5":"0:_col5","_col6":"0:_col6","_col7":"0:_col7","_col8":"0:_col8","_col9":"0:_col9"},"condition
 map:":[{"":"Left Outer Join 0 to 1"}],"keys:":{"0":"_col2 (type: 
int)","1":"_col2 (type: int)"},"Map Join 
Vectorization:":{"bigTableKeyExpressions:":["col 
2:int"],"bigTableValueExpressions:":["col 0:tinyint","col 1:smallint","col 
2:int","col 3:bigint","col 4:float","col 5:double","col 6:string","col 
7:string","col 8:timestamp","col 9:timestamp","col 10:boolean","col 
11:boolean"],"className:":"VectorMapJoinOperator","native:":"false","nativeCondi
 tionsMet:":["hive.mapjoin.optimized.hashtable IS 
true","hive.vectorized.execution.mapjoin.native.enabled IS true","One MapJoin 
Condition IS true","No nullsafe IS true","Small table vectorizes IS 
true","Outer Join has keys IS true","Optimized Table and Supports Key Types IS 
true"],"nativeConditionsNotMet:":["hive.execution.engine mr IN [tez, spark] IS 
false"]},"outputColumnNames:":["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19","_col20","_col21","_col22","_col23"],"Statistics:":"Num
 rows: 33 Data size: 7348 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"MAPJOIN_13","children":{"File Output 
Operator":{"compressed:":"false","File Sink 
Vectorization:":{"className:":"VectorFileSinkOperator","native:":"false"},"Statistics:":"Num
 rows: 33 Data size: 7348 Basic stats: COMPLETE Column stats: 
NONE","table:":{"input format:":"org.apache.hadoop.mapred.SequenceFile
 InputFormat","output 
format:":"org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat","serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe"},"OperatorId:":"FS_14"}}}}}}}}],"Execution
 mode:":"vectorized","Map 
Vectorization:":{"enabled:":"true","enabledConditionsMet:":["hive.vectorized.use.vectorized.input.format
 IS 
true"],"inputFormatFeatureSupport:":"[DECIMAL_64]","featureSupportInUse:":"[DECIMAL_64]","inputFileFormats:":["org.apache.hadoop.hive.ql.io.orc.OrcInputFormat"],"allNative:":"false","usesVectorUDFAdaptor:":"false","vectorized:":"true","rowBatchContext:":{"dataColumnCount:":"12","includeColumns:":"[0,
 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 
11]","dataColumns:":["ctinyint:tinyint","csmallint:smallint","cint:int","cbigint:bigint","cfloat:float","cdouble:double","cstring1:string","cstring2:string","ctimestamp1:timestamp","ctimestamp2:timestamp","cboolean1:boolean","cboolean2:boolean"],"partitionColumnCount:":"0","scratchColumnTypeNames:":"[bigint,
 bigint, bigint, bigint, do
 uble, double, string, string, timestamp, timestamp, bigint, bigint]"}},"Local 
Work:":{"Map Reduce Local Work":{}}}},"Stage-0":{"Fetch 
Operator":{"limit:":"-1","Processor 
Tree:":{"ListSink":{"OperatorId:":"LIST_SINK_15"}}}}}}
+{"optimizedSQL":"SELECT *\nFROM (SELECT `ctinyint`, `csmallint`, `cint`, 
`cbigint`, `cfloat`, `cdouble`, `cstring1`, `cstring2`, `ctimestamp1`, 
`ctimestamp2`, `cboolean1`, `cboolean2`\nFROM `default`.`small_alltypesorc_b`) 
AS `t`\nLEFT JOIN (SELECT `ctinyint`, `csmallint`, `cint`, `cbigint`, `cfloat`, 
`cdouble`, `cstring1`, `cstring2`, `ctimestamp1`, `ctimestamp2`, `cboolean1`, 
`cboolean2`\nFROM `default`.`small_alltypesorc_b`) AS `t0` ON `t`.`cint` = 
`t0`.`cint`","PLAN 
VECTORIZATION":{"enabled":true,"enabledConditionsMet":["hive.vectorized.execution.enabled
 IS true"]},"cboInfo":"Plan optimized by CBO.","STAGE 
DEPENDENCIES":{"Stage-4":{"ROOT STAGE":"TRUE"},"Stage-3":{"DEPENDENT 
STAGES":"Stage-4"},"Stage-0":{"DEPENDENT STAGES":"Stage-3"}},"STAGE 
PLANS":{"Stage-4":{"Map Reduce Local Work":{"Alias -> Map Local 
Tables:":{"$hdt$_1:cd":{"Fetch Operator":{"limit:":"-1"}}},"Alias -> Map Local 
Operator 
Tree:":{"$hdt$_1:cd":{"TableScan":{"alias:":"cd","columns:":["ctinyint","csmallint","cint"
 
,"cbigint","cfloat","cdouble","cstring1","cstring2","ctimestamp1","ctimestamp2","cboolean1","cboolean2"],"database:":"default","Statistics:":"Num
 rows: 30 Data size: 6800 Basic stats: COMPLETE Column stats: 
NONE","table:":"small_alltypesorc_b","isTempTable:":"false","OperatorId:":"TS_2","children":{"Select
 Operator":{"expressions:":"ctinyint (type: tinyint), csmallint (type: 
smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), 
cdouble (type: double), cstring1 (type: string), cstring2 (type: string), 
ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: 
boolean), cboolean2 (type: 
boolean)","columnExprMap:":{"_col0":"ctinyint","_col1":"csmallint","_col10":"cboolean1","_col11":"cboolean2","_col2":"cint","_col3":"cbigint","_col4":"cfloat","_col5":"cdouble","_col6":"cstring1","_col7":"cstring2","_col8":"ctimestamp1","_col9":"ctimestamp2"},"outputColumnNames:":["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_
 col10","_col11"],"Statistics:":"Num rows: 30 Data size: 6800 Basic stats: 
COMPLETE Column stats: NONE","OperatorId:":"SEL_3","children":{"HashTable Sink 
Operator":{"keys:":{"0":"_col2 (type: int)","1":"_col2 (type: 
int)"},"OperatorId:":"HASHTABLESINK_10"}}}}}}}}},"Stage-3":{"Map Reduce":{"Map 
Operator 
Tree:":[{"TableScan":{"alias:":"c","columns:":["ctinyint","csmallint","cint","cbigint","cfloat","cdouble","cstring1","cstring2","ctimestamp1","ctimestamp2","cboolean1","cboolean2"],"database:":"default","Statistics:":"Num
 rows: 30 Data size: 6800 Basic stats: COMPLETE Column stats: 
NONE","table:":"small_alltypesorc_b","TableScan 
Vectorization:":{"native:":"true","vectorizationSchemaColumns:":"[0:ctinyint:tinyint,
 1:csmallint:smallint, 2:cint:int, 3:cbigint:bigint, 4:cfloat:float, 
5:cdouble:double, 6:cstring1:string, 7:cstring2:string, 
8:ctimestamp1:timestamp, 9:ctimestamp2:timestamp, 10:cboolean1:boolean, 
11:cboolean2:boolean, 
12:ROW__ID:struct<writeid:bigint,bucketid:int,rowid:bigint>
 ]"},"isTempTable:":"false","OperatorId:":"TS_0","children":{"Select 
Operator":{"expressions:":"ctinyint (type: tinyint), csmallint (type: 
smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), 
cdouble (type: double), cstring1 (type: string), cstring2 (type: string), 
ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: 
boolean), cboolean2 (type: 
boolean)","columnExprMap:":{"_col0":"ctinyint","_col1":"csmallint","_col10":"cboolean1","_col11":"cboolean2","_col2":"cint","_col3":"cbigint","_col4":"cfloat","_col5":"cdouble","_col6":"cstring1","_col7":"cstring2","_col8":"ctimestamp1","_col9":"ctimestamp2"},"outputColumnNames:":["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11"],"Select
 
Vectorization:":{"className:":"VectorSelectOperator","native:":"true","projectedOutputColumnNums:":"[0,
 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]"},"Statistics:":"Num rows: 30 Data size: 
6800 Basic stats: COMPLETE Column s
 tats: NONE","OperatorId:":"SEL_12","children":{"Map Join 
Operator":{"columnExprMap:":{"_col0":"0:_col0","_col1":"0:_col1","_col10":"0:_col10","_col11":"0:_col11","_col12":"1:_col0","_col13":"1:_col1","_col14":"1:_col2","_col15":"1:_col3","_col16":"1:_col4","_col17":"1:_col5","_col18":"1:_col6","_col19":"1:_col7","_col2":"0:_col2","_col20":"1:_col8","_col21":"1:_col9","_col22":"1:_col10","_col23":"1:_col11","_col3":"0:_col3","_col4":"0:_col4","_col5":"0:_col5","_col6":"0:_col6","_col7":"0:_col7","_col8":"0:_col8","_col9":"0:_col9"},"condition
 map:":[{"":"Left Outer Join 0 to 1"}],"keys:":{"0":"_col2 (type: 
int)","1":"_col2 (type: int)"},"Map Join 
Vectorization:":{"bigTableKeyExpressions:":["col 
2:int"],"bigTableValueExpressions:":["col 0:tinyint","col 1:smallint","col 
2:int","col 3:bigint","col 4:float","col 5:double","col 6:string","col 
7:string","col 8:timestamp","col 9:timestamp","col 10:boolean","col 
11:boolean"],"className:":"VectorMapJoinOperator","native:":"false","nativeCondi
 tionsMet:":["hive.mapjoin.optimized.hashtable IS 
true","hive.vectorized.execution.mapjoin.native.enabled IS true","One MapJoin 
Condition IS true","No nullsafe IS true","Small table vectorizes IS 
true","Outer Join has keys IS true","Optimized Table and Supports Key Types IS 
true"],"nativeConditionsNotMet:":["hive.execution.engine mr IN [tez, spark] IS 
false"]},"outputColumnNames:":["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19","_col20","_col21","_col22","_col23"],"Statistics:":"Num
 rows: 33 Data size: 7480 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"MAPJOIN_13","children":{"File Output 
Operator":{"compressed:":"false","File Sink 
Vectorization:":{"className:":"VectorFileSinkOperator","native:":"false"},"Statistics:":"Num
 rows: 33 Data size: 7480 Basic stats: COMPLETE Column stats: 
NONE","table:":{"input format:":"org.apache.hadoop.mapred.SequenceFile
 InputFormat","output 
format:":"org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat","serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe"},"OperatorId:":"FS_14"}}}}}}}}],"Execution
 mode:":"vectorized","Map 
Vectorization:":{"enabled:":"true","enabledConditionsMet:":["hive.vectorized.use.vectorized.input.format
 IS 
true"],"inputFormatFeatureSupport:":"[DECIMAL_64]","featureSupportInUse:":"[DECIMAL_64]","inputFileFormats:":["org.apache.hadoop.hive.ql.io.orc.OrcInputFormat"],"allNative:":"false","usesVectorUDFAdaptor:":"false","vectorized:":"true","rowBatchContext:":{"dataColumnCount:":"12","includeColumns:":"[0,
 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 
11]","dataColumns:":["ctinyint:tinyint","csmallint:smallint","cint:int","cbigint:bigint","cfloat:float","cdouble:double","cstring1:string","cstring2:string","ctimestamp1:timestamp","ctimestamp2:timestamp","cboolean1:boolean","cboolean2:boolean"],"partitionColumnCount:":"0","scratchColumnTypeNames:":"[bigint,
 bigint, bigint, bigint, do
 uble, double, string, string, timestamp, timestamp, bigint, bigint]"}},"Local 
Work:":{"Map Reduce Local Work":{}}}},"Stage-0":{"Fetch 
Operator":{"limit:":"-1","Processor 
Tree:":{"ListSink":{"OperatorId:":"LIST_SINK_15"}}}}}}
 PREHOOK: query: select * 
 from small_alltypesorc_b c
 left outer join small_alltypesorc_b cd
@@ -317,16 +317,16 @@ POSTHOOK: Input: default@small_alltypesorc_b
 -64    -9842   253665376       NULL    -64.0   -9842.0 1cGVWH7n1QU     NULL    
1969-12-31 16:00:00.631 1969-12-31 16:00:01.781 true    NULL    -64     -3097   
253665376       NULL    -64.0   -3097.0 1cGVWH7n1QU     NULL    1969-12-31 
16:00:00.013 1969-12-31 16:00:06.097 true    NULL
 -64    -9842   253665376       NULL    -64.0   -9842.0 1cGVWH7n1QU     NULL    
1969-12-31 16:00:00.631 1969-12-31 16:00:01.781 true    NULL    -64     -6907   
253665376       NULL    -64.0   -6907.0 1cGVWH7n1QU     NULL    NULL    
1969-12-31 15:59:53.66  true    NULL
 -64    -9842   253665376       NULL    -64.0   -9842.0 1cGVWH7n1QU     NULL    
1969-12-31 16:00:00.631 1969-12-31 16:00:01.781 true    NULL    -64     -9842   
253665376       NULL    -64.0   -9842.0 1cGVWH7n1QU     NULL    1969-12-31 
16:00:00.631 1969-12-31 16:00:01.781 true    NULL
-NULL   NULL    -1015272448     -1887561756     NULL    NULL    jTQ68531mP      
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:45.854 false   false   NULL    
NULL    -1015272448     -1887561756     NULL    NULL    jTQ68531mP      
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:45.854 false   false
-NULL   NULL    -609074876      -1887561756     NULL    NULL    EcM71   
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:55.061 true    false   NULL    
NULL    -609074876      -1887561756     NULL    NULL    EcM71   
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:55.061 true    false
-NULL   NULL    -700300206      -1887561756     NULL    NULL    kdqQE010        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:58.384 false   false   NULL    
NULL    -700300206      -1887561756     NULL    NULL    kdqQE010        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:58.384 false   false
-NULL   NULL    -726473298      1864027286      NULL    NULL    
OFy1a1xf37f75b5N        4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:11.799 
true    true    NULL    NULL    -726473298      1864027286      NULL    NULL    
OFy1a1xf37f75b5N        4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:11.799 
true    true
-NULL   NULL    -738747840      -1645852809     NULL    NULL    
vmAT10eeE47fgH20pLi     xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.55  
true    false   NULL    NULL    -738747840      -1645852809     NULL    NULL    
vmAT10eeE47fgH20pLi     xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.55  
true    false
-NULL   NULL    -838810013      1864027286      NULL    NULL    N016jPED08o     
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:44.252 false   true    NULL    
NULL    -838810013      1864027286      NULL    NULL    N016jPED08o     
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:44.252 false   true
-NULL   NULL    -850295959      -1887561756     NULL    NULL    WMIgGA73        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:00.348 false   false   NULL    
NULL    -850295959      -1887561756     NULL    NULL    WMIgGA73        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:00.348 false   false
-NULL   NULL    -886426182      -1887561756     NULL    NULL    
0i88xYq3gx1nW4vKjp7vBp3 4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:04.472 
true    false   NULL    NULL    -886426182      -1887561756     NULL    NULL    
0i88xYq3gx1nW4vKjp7vBp3 4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:04.472 
true    false
-NULL   NULL    -899422227      -1645852809     NULL    NULL    73xdw4X 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:07.395 false   false   NULL    
NULL    -899422227      -1645852809     NULL    NULL    73xdw4X 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:07.395 false   false
-NULL   NULL    -971543377      -1645852809     NULL    NULL    uN803aW 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.43  false   false   NULL    
NULL    -971543377      -1645852809     NULL    NULL    uN803aW 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.43  false   false
+NULL   -16269  -378213344      -1645852809     NULL    -16269.0        
sOdj1Tmvbl03f   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:15.867 false   
false   NULL    -16269  -378213344      -1645852809     NULL    -16269.0        
sOdj1Tmvbl03f   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:15.867 false   
false
+NULL   -16274  -671342269      -1645852809     NULL    -16274.0        
3DE7EQo4KyT0hS  xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:51.469 false   
false   NULL    -16274  -671342269      -1645852809     NULL    -16274.0        
3DE7EQo4KyT0hS  xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:51.469 false   
false
+NULL   -16296  -146635689      -1645852809     NULL    -16296.0        
r251rbt884txX2MNq4MM14  xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:44.809 
false   false   NULL    -16296  -146635689      -1645852809     NULL    
-16296.0        r251rbt884txX2MNq4MM14  xH7445Rals48VOulSyR5F   NULL    
1969-12-31 15:59:44.809 false   false
+NULL   -16296  593429004       -1887561756     NULL    -16296.0        
dhDYJ076SFcC    4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:47.422 false   
false   NULL    -16296  593429004       -1887561756     NULL    -16296.0        
dhDYJ076SFcC    4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:47.422 false   
false
+NULL   -16300  -860437234      -1645852809     NULL    -16300.0        
Fb2W1r24opqN8m6571p     xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:45.815 
true    false   NULL    -16300  -860437234      -1645852809     NULL    
-16300.0        Fb2W1r24opqN8m6571p     xH7445Rals48VOulSyR5F   NULL    
1969-12-31 15:59:45.815 true    false
+NULL   -16306  384405526       -1645852809     NULL    -16306.0        b5SoK8  
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.105 true    false   NULL    
-16306  384405526       -1645852809     NULL    -16306.0        b5SoK8  
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.105 true    false
+NULL   -16307  559926362       -1645852809     NULL    -16307.0        
nA8bdtWfPPQyP2hL5       xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:58.072 
false   false   NULL    -16307  559926362       -1645852809     NULL    
-16307.0        nA8bdtWfPPQyP2hL5       xH7445Rals48VOulSyR5F   NULL    
1969-12-31 15:59:58.072 false   false
+NULL   -16309  -826497289      -1645852809     NULL    -16309.0        
54o058c3mK6ewOQ5        xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:10.761 
false   false   NULL    -16309  -826497289      -1645852809     NULL    
-16309.0        54o058c3mK6ewOQ5        xH7445Rals48VOulSyR5F   NULL    
1969-12-31 16:00:10.761 false   false
+NULL   -16310  206154150       1864027286      NULL    -16310.0        5Hy1y6  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:00.821 false   true    NULL    
-16310  206154150       1864027286      NULL    -16310.0        5Hy1y6  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:00.821 false   true
+NULL   -16379  -894716315      1864027286      NULL    -16379.0        
2ArdYqML3654nUjGJk3     4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:47.059 
true    true    NULL    -16379  -894716315      1864027286      NULL    
-16379.0        2ArdYqML3654nUjGJk3     4KWs6gw7lv2WYd66P       NULL    
1969-12-31 15:59:47.059 true    true
 PREHOOK: query: explain vectorization detail formatted
 select c.ctinyint 
 from small_alltypesorc_b c
@@ -339,7 +339,7 @@ from small_alltypesorc_b c
 left outer join small_alltypesorc_b hd
   on hd.ctinyint = c.ctinyint
 POSTHOOK: type: QUERY
-{"optimizedSQL":"SELECT `t`.`ctinyint`\nFROM (SELECT `ctinyint`\nFROM 
`default`.`small_alltypesorc_b`) AS `t`\nLEFT JOIN (SELECT `ctinyint`\nFROM 
`default`.`small_alltypesorc_b`) AS `t0` ON `t`.`ctinyint` = 
`t0`.`ctinyint`","PLAN 
VECTORIZATION":{"enabled":true,"enabledConditionsMet":["hive.vectorized.execution.enabled
 IS true"]},"cboInfo":"Plan optimized by CBO.","STAGE 
DEPENDENCIES":{"Stage-4":{"ROOT STAGE":"TRUE"},"Stage-3":{"DEPENDENT 
STAGES":"Stage-4"},"Stage-0":{"DEPENDENT STAGES":"Stage-3"}},"STAGE 
PLANS":{"Stage-4":{"Map Reduce Local Work":{"Alias -> Map Local 
Tables:":{"$hdt$_1:hd":{"Fetch Operator":{"limit:":"-1"}}},"Alias -> Map Local 
Operator 
Tree:":{"$hdt$_1:hd":{"TableScan":{"alias:":"hd","columns:":["ctinyint"],"database:":"default","Statistics:":"Num
 rows: 30 Data size: 6680 Basic stats: COMPLETE Column stats: 
NONE","table:":"small_alltypesorc_b","isTempTable:":"false","OperatorId:":"TS_2","children":{"Select
 Operator":{"expressions:":"ctinyint (type: tinyint)","colum
 
nExprMap:":{"_col0":"ctinyint"},"outputColumnNames:":["_col0"],"Statistics:":"Num
 rows: 30 Data size: 6680 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"SEL_3","children":{"HashTable Sink 
Operator":{"keys:":{"0":"_col0 (type: tinyint)","1":"_col0 (type: 
tinyint)"},"OperatorId:":"HASHTABLESINK_10"}}}}}}}}},"Stage-3":{"Map 
Reduce":{"Map Operator 
Tree:":[{"TableScan":{"alias:":"c","columns:":["ctinyint"],"database:":"default","Statistics:":"Num
 rows: 30 Data size: 6680 Basic stats: COMPLETE Column stats: 
NONE","table:":"small_alltypesorc_b","TableScan 
Vectorization:":{"native:":"true","vectorizationSchemaColumns:":"[0:ctinyint:tinyint,
 1:csmallint:smallint, 2:cint:int, 3:cbigint:bigint, 4:cfloat:float, 
5:cdouble:double, 6:cstring1:string, 7:cstring2:string, 
8:ctimestamp1:timestamp, 9:ctimestamp2:timestamp, 10:cboolean1:boolean, 
11:cboolean2:boolean, 
12:ROW__ID:struct<writeid:bigint,bucketid:int,rowid:bigint>]"},"isTempTable:":"false","OperatorId:":"TS_0","children":{"Select
 
 Operator":{"expressions:":"ctinyint (type: 
tinyint)","columnExprMap:":{"_col0":"ctinyint"},"outputColumnNames:":["_col0"],"Select
 
Vectorization:":{"className:":"VectorSelectOperator","native:":"true","projectedOutputColumnNums:":"[0]"},"Statistics:":"Num
 rows: 30 Data size: 6680 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"SEL_12","children":{"Map Join 
Operator":{"columnExprMap:":{"_col0":"0:_col0"},"condition map:":[{"":"Left 
Outer Join 0 to 1"}],"keys:":{"0":"_col0 (type: tinyint)","1":"_col0 (type: 
tinyint)"},"Map Join Vectorization:":{"bigTableKeyExpressions:":["col 
0:tinyint"],"bigTableValueExpressions:":["col 
0:tinyint"],"className:":"VectorMapJoinOperator","native:":"false","nativeConditionsMet:":["hive.mapjoin.optimized.hashtable
 IS true","hive.vectorized.execution.mapjoin.native.enabled IS true","One 
MapJoin Condition IS true","No nullsafe IS true","Small table vectorizes IS 
true","Outer Join has keys IS true","Optimized Table and Supports Key Types IS 
true"],"n
 ativeConditionsNotMet:":["hive.execution.engine mr IN [tez, spark] IS 
false"]},"outputColumnNames:":["_col0"],"Statistics:":"Num rows: 33 Data size: 
7348 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"MAPJOIN_13","children":{"File Output 
Operator":{"compressed:":"false","File Sink 
Vectorization:":{"className:":"VectorFileSinkOperator","native:":"false"},"Statistics:":"Num
 rows: 33 Data size: 7348 Basic stats: COMPLETE Column stats: 
NONE","table:":{"input 
format:":"org.apache.hadoop.mapred.SequenceFileInputFormat","output 
format:":"org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat","serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe"},"OperatorId:":"FS_14"}}}}}}}}],"Execution
 mode:":"vectorized","Map 
Vectorization:":{"enabled:":"true","enabledConditionsMet:":["hive.vectorized.use.vectorized.input.format
 IS 
true"],"inputFormatFeatureSupport:":"[DECIMAL_64]","featureSupportInUse:":"[DECIMAL_64]","inputFileFormats:":["org.apache.hadoop.hive.ql.io.orc.OrcInputF
 
ormat"],"allNative:":"false","usesVectorUDFAdaptor:":"false","vectorized:":"true","rowBatchContext:":{"dataColumnCount:":"12","includeColumns:":"[0]","dataColumns:":["ctinyint:tinyint","csmallint:smallint","cint:int","cbigint:bigint","cfloat:float","cdouble:double","cstring1:string","cstring2:string","ctimestamp1:timestamp","ctimestamp2:timestamp","cboolean1:boolean","cboolean2:boolean"],"partitionColumnCount:":"0","scratchColumnTypeNames:":"[]"}},"Local
 Work:":{"Map Reduce Local Work":{}}}},"Stage-0":{"Fetch 
Operator":{"limit:":"-1","Processor 
Tree:":{"ListSink":{"OperatorId:":"LIST_SINK_15"}}}}}}
+{"optimizedSQL":"SELECT `t`.`ctinyint`\nFROM (SELECT `ctinyint`\nFROM 
`default`.`small_alltypesorc_b`) AS `t`\nLEFT JOIN (SELECT `ctinyint`\nFROM 
`default`.`small_alltypesorc_b`) AS `t0` ON `t`.`ctinyint` = 
`t0`.`ctinyint`","PLAN 
VECTORIZATION":{"enabled":true,"enabledConditionsMet":["hive.vectorized.execution.enabled
 IS true"]},"cboInfo":"Plan optimized by CBO.","STAGE 
DEPENDENCIES":{"Stage-4":{"ROOT STAGE":"TRUE"},"Stage-3":{"DEPENDENT 
STAGES":"Stage-4"},"Stage-0":{"DEPENDENT STAGES":"Stage-3"}},"STAGE 
PLANS":{"Stage-4":{"Map Reduce Local Work":{"Alias -> Map Local 
Tables:":{"$hdt$_1:hd":{"Fetch Operator":{"limit:":"-1"}}},"Alias -> Map Local 
Operator 
Tree:":{"$hdt$_1:hd":{"TableScan":{"alias:":"hd","columns:":["ctinyint"],"database:":"default","Statistics:":"Num
 rows: 30 Data size: 6800 Basic stats: COMPLETE Column stats: 
NONE","table:":"small_alltypesorc_b","isTempTable:":"false","OperatorId:":"TS_2","children":{"Select
 Operator":{"expressions:":"ctinyint (type: tinyint)","colum
 
nExprMap:":{"_col0":"ctinyint"},"outputColumnNames:":["_col0"],"Statistics:":"Num
 rows: 30 Data size: 6800 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"SEL_3","children":{"HashTable Sink 
Operator":{"keys:":{"0":"_col0 (type: tinyint)","1":"_col0 (type: 
tinyint)"},"OperatorId:":"HASHTABLESINK_10"}}}}}}}}},"Stage-3":{"Map 
Reduce":{"Map Operator 
Tree:":[{"TableScan":{"alias:":"c","columns:":["ctinyint"],"database:":"default","Statistics:":"Num
 rows: 30 Data size: 6800 Basic stats: COMPLETE Column stats: 
NONE","table:":"small_alltypesorc_b","TableScan 
Vectorization:":{"native:":"true","vectorizationSchemaColumns:":"[0:ctinyint:tinyint,
 1:csmallint:smallint, 2:cint:int, 3:cbigint:bigint, 4:cfloat:float, 
5:cdouble:double, 6:cstring1:string, 7:cstring2:string, 
8:ctimestamp1:timestamp, 9:ctimestamp2:timestamp, 10:cboolean1:boolean, 
11:cboolean2:boolean, 
12:ROW__ID:struct<writeid:bigint,bucketid:int,rowid:bigint>]"},"isTempTable:":"false","OperatorId:":"TS_0","children":{"Select
 
 Operator":{"expressions:":"ctinyint (type: 
tinyint)","columnExprMap:":{"_col0":"ctinyint"},"outputColumnNames:":["_col0"],"Select
 
Vectorization:":{"className:":"VectorSelectOperator","native:":"true","projectedOutputColumnNums:":"[0]"},"Statistics:":"Num
 rows: 30 Data size: 6800 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"SEL_12","children":{"Map Join 
Operator":{"columnExprMap:":{"_col0":"0:_col0"},"condition map:":[{"":"Left 
Outer Join 0 to 1"}],"keys:":{"0":"_col0 (type: tinyint)","1":"_col0 (type: 
tinyint)"},"Map Join Vectorization:":{"bigTableKeyExpressions:":["col 
0:tinyint"],"bigTableValueExpressions:":["col 
0:tinyint"],"className:":"VectorMapJoinOperator","native:":"false","nativeConditionsMet:":["hive.mapjoin.optimized.hashtable
 IS true","hive.vectorized.execution.mapjoin.native.enabled IS true","One 
MapJoin Condition IS true","No nullsafe IS true","Small table vectorizes IS 
true","Outer Join has keys IS true","Optimized Table and Supports Key Types IS 
true"],"n
 ativeConditionsNotMet:":["hive.execution.engine mr IN [tez, spark] IS 
false"]},"outputColumnNames:":["_col0"],"Statistics:":"Num rows: 33 Data size: 
7480 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"MAPJOIN_13","children":{"File Output 
Operator":{"compressed:":"false","File Sink 
Vectorization:":{"className:":"VectorFileSinkOperator","native:":"false"},"Statistics:":"Num
 rows: 33 Data size: 7480 Basic stats: COMPLETE Column stats: 
NONE","table:":{"input 
format:":"org.apache.hadoop.mapred.SequenceFileInputFormat","output 
format:":"org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat","serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe"},"OperatorId:":"FS_14"}}}}}}}}],"Execution
 mode:":"vectorized","Map 
Vectorization:":{"enabled:":"true","enabledConditionsMet:":["hive.vectorized.use.vectorized.input.format
 IS 
true"],"inputFormatFeatureSupport:":"[DECIMAL_64]","featureSupportInUse:":"[DECIMAL_64]","inputFileFormats:":["org.apache.hadoop.hive.ql.io.orc.OrcInputF
 
ormat"],"allNative:":"false","usesVectorUDFAdaptor:":"false","vectorized:":"true","rowBatchContext:":{"dataColumnCount:":"12","includeColumns:":"[0]","dataColumns:":["ctinyint:tinyint","csmallint:smallint","cint:int","cbigint:bigint","cfloat:float","cdouble:double","cstring1:string","cstring2:string","ctimestamp1:timestamp","ctimestamp2:timestamp","cboolean1:boolean","cboolean2:boolean"],"partitionColumnCount:":"0","scratchColumnTypeNames:":"[]"}},"Local
 Work:":{"Map Reduce Local Work":{}}}},"Stage-0":{"Fetch 
Operator":{"limit:":"-1","Processor 
Tree:":{"ListSink":{"OperatorId:":"LIST_SINK_15"}}}}}}
 PREHOOK: query: select c.ctinyint 
 from small_alltypesorc_b c
 left outer join small_alltypesorc_b hd
@@ -782,7 +782,7 @@ left outer join small_alltypesorc_b hd
   on hd.ctinyint = c.ctinyint
 ) t1
 POSTHOOK: type: QUERY
-{"optimizedSQL":"SELECT COUNT(*) AS `$f0`\nFROM (SELECT `ctinyint`, 
`cint`\nFROM `default`.`small_alltypesorc_b`) AS `t`\nLEFT JOIN (SELECT 
`cint`\nFROM `default`.`small_alltypesorc_b`) AS `t0` ON `t`.`cint` = 
`t0`.`cint`\nLEFT JOIN (SELECT `ctinyint`\nFROM 
`default`.`small_alltypesorc_b`) AS `t1` ON `t`.`ctinyint` = 
`t1`.`ctinyint`","PLAN 
VECTORIZATION":{"enabled":true,"enabledConditionsMet":["hive.vectorized.execution.enabled
 IS true"]},"cboInfo":"Plan optimized by CBO.","STAGE 
DEPENDENCIES":{"Stage-8":{"ROOT STAGE":"TRUE"},"Stage-3":{"DEPENDENT 
STAGES":"Stage-8"},"Stage-0":{"DEPENDENT STAGES":"Stage-3"}},"STAGE 
PLANS":{"Stage-8":{"Map Reduce Local Work":{"Alias -> Map Local 
Tables:":{"$hdt$_1:cd":{"Fetch Operator":{"limit:":"-1"}},"$hdt$_2:hd":{"Fetch 
Operator":{"limit:":"-1"}}},"Alias -> Map Local Operator 
Tree:":{"$hdt$_1:cd":{"TableScan":{"alias:":"cd","columns:":["cint"],"database:":"default","Statistics:":"Num
 rows: 30 Data size: 6680 Basic stats: COMPLETE Column stats: NONE
 
","table:":"small_alltypesorc_b","isTempTable:":"false","OperatorId:":"TS_2","children":{"Select
 Operator":{"expressions:":"cint (type: 
int)","columnExprMap:":{"_col0":"cint"},"outputColumnNames:":["_col0"],"Statistics:":"Num
 rows: 30 Data size: 6680 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"SEL_3","children":{"HashTable Sink 
Operator":{"keys:":{"0":"_col1 (type: int)","1":"_col0 (type: 
int)"},"OperatorId:":"HASHTABLESINK_26"}}}}}},"$hdt$_2:hd":{"TableScan":{"alias:":"hd","columns:":["ctinyint"],"database:":"default","Statistics:":"Num
 rows: 30 Data size: 6680 Basic stats: COMPLETE Column stats: 
NONE","table:":"small_alltypesorc_b","isTempTable:":"false","OperatorId:":"TS_4","children":{"Select
 Operator":{"expressions:":"ctinyint (type: 
tinyint)","columnExprMap:":{"_col0":"ctinyint"},"outputColumnNames:":["_col0"],"Statistics:":"Num
 rows: 30 Data size: 6680 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"SEL_5","children":{"HashTable Sink Operator":{"keys:":{
 "0":"_col0 (type: tinyint)","1":"_col0 (type: 
tinyint)"},"OperatorId:":"HASHTABLESINK_24"}}}}}}}}},"Stage-3":{"Map 
Reduce":{"Map Operator 
Tree:":[{"TableScan":{"alias:":"c","columns:":["ctinyint","cint"],"database:":"default","Statistics:":"Num
 rows: 30 Data size: 6680 Basic stats: COMPLETE Column stats: 
NONE","table:":"small_alltypesorc_b","TableScan 
Vectorization:":{"native:":"true","vectorizationSchemaColumns:":"[0:ctinyint:tinyint,
 1:csmallint:smallint, 2:cint:int, 3:cbigint:bigint, 4:cfloat:float, 
5:cdouble:double, 6:cstring1:string, 7:cstring2:string, 
8:ctimestamp1:timestamp, 9:ctimestamp2:timestamp, 10:cboolean1:boolean, 
11:cboolean2:boolean, 
12:ROW__ID:struct<writeid:bigint,bucketid:int,rowid:bigint>]"},"isTempTable:":"false","OperatorId:":"TS_0","children":{"Select
 Operator":{"expressions:":"ctinyint (type: tinyint), cint (type: 
int)","columnExprMap:":{"_col0":"ctinyint","_col1":"cint"},"outputColumnNames:":["_col0","_col1"],"Select
 Vectorization:":{"className:":"VectorSele
 ctOperator","native:":"true","projectedOutputColumnNums:":"[0, 
2]"},"Statistics:":"Num rows: 30 Data size: 6680 Basic stats: COMPLETE Column 
stats: NONE","OperatorId:":"SEL_28","children":{"Map Join 
Operator":{"columnExprMap:":{"_col0":"0:_col0"},"condition map:":[{"":"Left 
Outer Join 0 to 1"}],"keys:":{"0":"_col1 (type: int)","1":"_col0 (type: 
int)"},"Map Join Vectorization:":{"bigTableKeyExpressions:":["col 
2:int"],"bigTableValueExpressions:":["col 
0:tinyint"],"className:":"VectorMapJoinOperator","native:":"false","nativeConditionsMet:":["hive.mapjoin.optimized.hashtable
 IS true","hive.vectorized.execution.mapjoin.native.enabled IS true","One 
MapJoin Condition IS true","No nullsafe IS true","Small table vectorizes IS 
true","Outer Join has keys IS true","Optimized Table and Supports Key Types IS 
true"],"nativeConditionsNotMet:":["hive.execution.engine mr IN [tez, spark] IS 
false"]},"outputColumnNames:":["_col0"],"Statistics:":"Num rows: 33 Data size: 
7348 Basic stats: COMPLETE Colu
 mn stats: NONE","OperatorId:":"MAPJOIN_29","children":{"Map Join 
Operator":{"condition map:":[{"":"Left Outer Join 0 to 1"}],"keys:":{"0":"_col0 
(type: tinyint)","1":"_col0 (type: tinyint)"},"Map Join 
Vectorization:":{"bigTableKeyExpressions:":["col 
0:tinyint"],"className:":"VectorMapJoinOperator","native:":"false","nativeConditionsMet:":["hive.mapjoin.optimized.hashtable
 IS true","hive.vectorized.execution.mapjoin.native.enabled IS true","One 
MapJoin Condition IS true","No nullsafe IS true","Small table vectorizes IS 
true","Outer Join has keys IS true","Optimized Table and Supports Key Types IS 
true"],"nativeConditionsNotMet:":["hive.execution.engine mr IN [tez, spark] IS 
false"]},"Statistics:":"Num rows: 36 Data size: 8082 Basic stats: COMPLETE 
Column stats: NONE","OperatorId:":"MAPJOIN_30","children":{"Group By 
Operator":{"aggregations:":["count()"],"Group By 
Vectorization:":{"aggregators:":["VectorUDAFCountStar(*) -> 
bigint"],"className:":"VectorGroupByOperator","groupByMode:":"
 
HASH","native:":"false","vectorProcessingMode:":"HASH","projectedOutputColumnNums:":"[0]"},"mode:":"hash","outputColumnNames:":["_col0"],"Statistics:":"Num
 rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"GBY_31","children":{"Reduce Output 
Operator":{"columnExprMap:":{"VALUE._col0":"_col0"},"sort order:":"","Reduce 
Sink 
Vectorization:":{"className:":"VectorReduceSinkOperator","native:":"false","nativeConditionsMet:":["hive.vectorized.execution.reducesink.new.enabled
 IS true","No PTF TopN IS true","No DISTINCT columns IS 
true","BinarySortableSerDe for keys IS true","LazyBinarySerDe for values IS 
true"],"nativeConditionsNotMet:":["hive.execution.engine mr IN [tez, spark] IS 
false"]},"Statistics:":"Num rows: 1 Data size: 8 Basic stats: COMPLETE Column 
stats: NONE","value expressions:":"_col0 (type: 
bigint)","OperatorId:":"RS_32"}}}}}}}}}}}}],"Execution mode:":"vectorized","Map 
Vectorization:":{"enabled:":"true","enabledConditionsMet:":["hive.vectorized.use.
 vectorized.input.format IS 
true"],"inputFormatFeatureSupport:":"[DECIMAL_64]","featureSupportInUse:":"[DECIMAL_64]","inputFileFormats:":["org.apache.hadoop.hive.ql.io.orc.OrcInputFormat"],"allNative:":"false","usesVectorUDFAdaptor:":"false","vectorized:":"true","rowBatchContext:":{"dataColumnCount:":"12","includeColumns:":"[0,
 
2]","dataColumns:":["ctinyint:tinyint","csmallint:smallint","cint:int","cbigint:bigint","cfloat:float","cdouble:double","cstring1:string","cstring2:string","ctimestamp1:timestamp","ctimestamp2:timestamp","cboolean1:boolean","cboolean2:boolean"],"partitionColumnCount:":"0","scratchColumnTypeNames:":"[]"}},"Local
 Work:":{"Map Reduce Local Work":{}},"Reduce 
Vectorization:":{"enabled:":"false","enableConditionsMet:":["hive.vectorized.execution.reduce.enabled
 IS true"],"enableConditionsNotMet:":["hive.execution.engine mr IN [tez, spark] 
IS false"]},"Reduce Operator Tree:":{"Group By 
Operator":{"aggregations:":["count(VALUE._col0)"],"mode:":"mergepartial","outputCol
 umnNames:":["_col0"],"Statistics:":"Num rows: 1 Data size: 8 Basic stats: 
COMPLETE Column stats: NONE","OperatorId:":"GBY_15","children":{"File Output 
Operator":{"compressed:":"false","Statistics:":"Num rows: 1 Data size: 8 Basic 
stats: COMPLETE Column stats: NONE","table:":{"input 
format:":"org.apache.hadoop.mapred.SequenceFileInputFormat","output 
format:":"org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat","serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe"},"OperatorId:":"FS_17"}}}}}},"Stage-0":{"Fetch
 Operator":{"limit:":"-1","Processor 
Tree:":{"ListSink":{"OperatorId:":"LIST_SINK_33"}}}}}}
+{"optimizedSQL":"SELECT COUNT(*) AS `$f0`\nFROM (SELECT `ctinyint`, 
`cint`\nFROM `default`.`small_alltypesorc_b`) AS `t`\nLEFT JOIN (SELECT 
`cint`\nFROM `default`.`small_alltypesorc_b`) AS `t0` ON `t`.`cint` = 
`t0`.`cint`\nLEFT JOIN (SELECT `ctinyint`\nFROM 
`default`.`small_alltypesorc_b`) AS `t1` ON `t`.`ctinyint` = 
`t1`.`ctinyint`","PLAN 
VECTORIZATION":{"enabled":true,"enabledConditionsMet":["hive.vectorized.execution.enabled
 IS true"]},"cboInfo":"Plan optimized by CBO.","STAGE 
DEPENDENCIES":{"Stage-8":{"ROOT STAGE":"TRUE"},"Stage-3":{"DEPENDENT 
STAGES":"Stage-8"},"Stage-0":{"DEPENDENT STAGES":"Stage-3"}},"STAGE 
PLANS":{"Stage-8":{"Map Reduce Local Work":{"Alias -> Map Local 
Tables:":{"$hdt$_1:cd":{"Fetch Operator":{"limit:":"-1"}},"$hdt$_2:hd":{"Fetch 
Operator":{"limit:":"-1"}}},"Alias -> Map Local Operator 
Tree:":{"$hdt$_1:cd":{"TableScan":{"alias:":"cd","columns:":["cint"],"database:":"default","Statistics:":"Num
 rows: 30 Data size: 6800 Basic stats: COMPLETE Column stats: NONE
 
","table:":"small_alltypesorc_b","isTempTable:":"false","OperatorId:":"TS_2","children":{"Select
 Operator":{"expressions:":"cint (type: 
int)","columnExprMap:":{"_col0":"cint"},"outputColumnNames:":["_col0"],"Statistics:":"Num
 rows: 30 Data size: 6800 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"SEL_3","children":{"HashTable Sink 
Operator":{"keys:":{"0":"_col1 (type: int)","1":"_col0 (type: 
int)"},"OperatorId:":"HASHTABLESINK_26"}}}}}},"$hdt$_2:hd":{"TableScan":{"alias:":"hd","columns:":["ctinyint"],"database:":"default","Statistics:":"Num
 rows: 30 Data size: 6800 Basic stats: COMPLETE Column stats: 
NONE","table:":"small_alltypesorc_b","isTempTable:":"false","OperatorId:":"TS_4","children":{"Select
 Operator":{"expressions:":"ctinyint (type: 
tinyint)","columnExprMap:":{"_col0":"ctinyint"},"outputColumnNames:":["_col0"],"Statistics:":"Num
 rows: 30 Data size: 6800 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"SEL_5","children":{"HashTable Sink Operator":{"keys:":{
 "0":"_col0 (type: tinyint)","1":"_col0 (type: 
tinyint)"},"OperatorId:":"HASHTABLESINK_24"}}}}}}}}},"Stage-3":{"Map 
Reduce":{"Map Operator 
Tree:":[{"TableScan":{"alias:":"c","columns:":["ctinyint","cint"],"database:":"default","Statistics:":"Num
 rows: 30 Data size: 6800 Basic stats: COMPLETE Column stats: 
NONE","table:":"small_alltypesorc_b","TableScan 
Vectorization:":{"native:":"true","vectorizationSchemaColumns:":"[0:ctinyint:tinyint,
 1:csmallint:smallint, 2:cint:int, 3:cbigint:bigint, 4:cfloat:float, 
5:cdouble:double, 6:cstring1:string, 7:cstring2:string, 
8:ctimestamp1:timestamp, 9:ctimestamp2:timestamp, 10:cboolean1:boolean, 
11:cboolean2:boolean, 
12:ROW__ID:struct<writeid:bigint,bucketid:int,rowid:bigint>]"},"isTempTable:":"false","OperatorId:":"TS_0","children":{"Select
 Operator":{"expressions:":"ctinyint (type: tinyint), cint (type: 
int)","columnExprMap:":{"_col0":"ctinyint","_col1":"cint"},"outputColumnNames:":["_col0","_col1"],"Select
 Vectorization:":{"className:":"VectorSele
 ctOperator","native:":"true","projectedOutputColumnNums:":"[0, 
2]"},"Statistics:":"Num rows: 30 Data size: 6800 Basic stats: COMPLETE Column 
stats: NONE","OperatorId:":"SEL_28","children":{"Map Join 
Operator":{"columnExprMap:":{"_col0":"0:_col0"},"condition map:":[{"":"Left 
Outer Join 0 to 1"}],"keys:":{"0":"_col1 (type: int)","1":"_col0 (type: 
int)"},"Map Join Vectorization:":{"bigTableKeyExpressions:":["col 
2:int"],"bigTableValueExpressions:":["col 
0:tinyint"],"className:":"VectorMapJoinOperator","native:":"false","nativeConditionsMet:":["hive.mapjoin.optimized.hashtable
 IS true","hive.vectorized.execution.mapjoin.native.enabled IS true","One 
MapJoin Condition IS true","No nullsafe IS true","Small table vectorizes IS 
true","Outer Join has keys IS true","Optimized Table and Supports Key Types IS 
true"],"nativeConditionsNotMet:":["hive.execution.engine mr IN [tez, spark] IS 
false"]},"outputColumnNames:":["_col0"],"Statistics:":"Num rows: 33 Data size: 
7480 Basic stats: COMPLETE Colu
 mn stats: NONE","OperatorId:":"MAPJOIN_29","children":{"Map Join 
Operator":{"condition map:":[{"":"Left Outer Join 0 to 1"}],"keys:":{"0":"_col0 
(type: tinyint)","1":"_col0 (type: tinyint)"},"Map Join 
Vectorization:":{"bigTableKeyExpressions:":["col 
0:tinyint"],"className:":"VectorMapJoinOperator","native:":"false","nativeConditionsMet:":["hive.mapjoin.optimized.hashtable
 IS true","hive.vectorized.execution.mapjoin.native.enabled IS true","One 
MapJoin Condition IS true","No nullsafe IS true","Small table vectorizes IS 
true","Outer Join has keys IS true","Optimized Table and Supports Key Types IS 
true"],"nativeConditionsNotMet:":["hive.execution.engine mr IN [tez, spark] IS 
false"]},"Statistics:":"Num rows: 36 Data size: 8228 Basic stats: COMPLETE 
Column stats: NONE","OperatorId:":"MAPJOIN_30","children":{"Group By 
Operator":{"aggregations:":["count()"],"Group By 
Vectorization:":{"aggregators:":["VectorUDAFCountStar(*) -> 
bigint"],"className:":"VectorGroupByOperator","groupByMode:":"
 
HASH","native:":"false","vectorProcessingMode:":"HASH","projectedOutputColumnNums:":"[0]"},"mode:":"hash","outputColumnNames:":["_col0"],"Statistics:":"Num
 rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"GBY_31","children":{"Reduce Output 
Operator":{"columnExprMap:":{"VALUE._col0":"_col0"},"sort order:":"","Reduce 
Sink 
Vectorization:":{"className:":"VectorReduceSinkOperator","native:":"false","nativeConditionsMet:":["hive.vectorized.execution.reducesink.new.enabled
 IS true","No PTF TopN IS true","No DISTINCT columns IS 
true","BinarySortableSerDe for keys IS true","LazyBinarySerDe for values IS 
true"],"nativeConditionsNotMet:":["hive.execution.engine mr IN [tez, spark] IS 
false"]},"Statistics:":"Num rows: 1 Data size: 8 Basic stats: COMPLETE Column 
stats: NONE","value expressions:":"_col0 (type: 
bigint)","OperatorId:":"RS_32"}}}}}}}}}}}}],"Execution mode:":"vectorized","Map 
Vectorization:":{"enabled:":"true","enabledConditionsMet:":["hive.vectorized.use.
 vectorized.input.format IS 
true"],"inputFormatFeatureSupport:":"[DECIMAL_64]","featureSupportInUse:":"[DECIMAL_64]","inputFileFormats:":["org.apache.hadoop.hive.ql.io.orc.OrcInputFormat"],"allNative:":"false","usesVectorUDFAdaptor:":"false","vectorized:":"true","rowBatchContext:":{"dataColumnCount:":"12","includeColumns:":"[0,
 
2]","dataColumns:":["ctinyint:tinyint","csmallint:smallint","cint:int","cbigint:bigint","cfloat:float","cdouble:double","cstring1:string","cstring2:string","ctimestamp1:timestamp","ctimestamp2:timestamp","cboolean1:boolean","cboolean2:boolean"],"partitionColumnCount:":"0","scratchColumnTypeNames:":"[]"}},"Local
 Work:":{"Map Reduce Local Work":{}},"Reduce 
Vectorization:":{"enabled:":"false","enableConditionsMet:":["hive.vectorized.execution.reduce.enabled
 IS true"],"enableConditionsNotMet:":["hive.execution.engine mr IN [tez, spark] 
IS false"]},"Reduce Operator Tree:":{"Group By 
Operator":{"aggregations:":["count(VALUE._col0)"],"mode:":"mergepartial","outputCol
 umnNames:":["_col0"],"Statistics:":"Num rows: 1 Data size: 8 Basic stats: 
COMPLETE Column stats: NONE","OperatorId:":"GBY_15","children":{"File Output 
Operator":{"compressed:":"false","Statistics:":"Num rows: 1 Data size: 8 Basic 
stats: COMPLETE Column stats: NONE","table:":{"input 
format:":"org.apache.hadoop.mapred.SequenceFileInputFormat","output 
format:":"org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat","serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe"},"OperatorId:":"FS_17"}}}}}},"Stage-0":{"Fetch
 Operator":{"limit:":"-1","Processor 
Tree:":{"ListSink":{"OperatorId:":"LIST_SINK_33"}}}}}}
 PREHOOK: query: select count(*) from (select c.ctinyint
 from small_alltypesorc_b c
 left outer join small_alltypesorc_b cd

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/vector_string_concat.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vector_string_concat.q.out 
b/ql/src/test/results/clientpositive/vector_string_concat.q.out
index ff9fad3..c807d16 100644
--- a/ql/src/test/results/clientpositive/vector_string_concat.q.out
+++ b/ql/src/test/results/clientpositive/vector_string_concat.q.out
@@ -460,7 +460,6 @@ POSTHOOK: query: SELECT CONCAT(CONCAT(CONCAT('Quarter 
',CAST(CAST((MONTH(dt) - 1
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@vectortab2korc_n0
 #### A masked pattern was here ####
-NULL
 Quarter 1-1970
 Quarter 1-1971
 Quarter 1-1972
@@ -510,3 +509,4 @@ Quarter 1-2015
 Quarter 1-2016
 Quarter 1-2017
 Quarter 1-2018
+Quarter 1-2019

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/vectorization_13.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vectorization_13.q.out 
b/ql/src/test/results/clientpositive/vectorization_13.q.out
index f9c3aeb..d2f3448 100644
--- a/ql/src/test/results/clientpositive/vectorization_13.q.out
+++ b/ql/src/test/results/clientpositive/vectorization_13.q.out
@@ -290,46 +290,46 @@ LIMIT 40
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesorc
 #### A masked pattern was here ####
-NULL   -55     1969-12-31 16:00:11.38  -55.0   NULL    55      -55     0       
-55.0   -0.0    55.0    -4375.415       0.0     55.0    0.0     -10.175 -55.0   
0.47781818181818186     -55.0   0.0     -55
-NULL   -55     1969-12-31 16:00:11.751 -55.0   NULL    55      -55     0       
-55.0   -0.0    55.0    -4375.415       0.0     55.0    0.0     -10.175 -55.0   
0.47781818181818186     -55.0   0.0     -55
-NULL   -56     1969-12-31 16:00:13.602 -56.0   NULL    56      -56     0       
-56.0   -0.0    56.0    -4454.9683      0.0     56.0    0.0     -10.175 -56.0   
0.4692857142857143      -56.0   0.0     -56
-NULL   -56     1969-12-31 16:00:13.958 -56.0   NULL    56      -56     0       
-56.0   -0.0    56.0    -4454.9683      0.0     56.0    0.0     -10.175 -56.0   
0.4692857142857143      -56.0   0.0     -56
-NULL   -56     1969-12-31 16:00:15.038 -56.0   NULL    56      -56     0       
-56.0   -0.0    56.0    -4454.9683      0.0     56.0    0.0     -10.175 -56.0   
0.4692857142857143      -56.0   0.0     -56
-NULL   -57     1969-12-31 16:00:11.451 -57.0   NULL    57      -57     0       
-57.0   -0.0    57.0    -4534.521       0.0     57.0    0.0     -10.175 -57.0   
0.4610526315789474      -57.0   0.0     -57
-NULL   -57     1969-12-31 16:00:11.883 -57.0   NULL    57      -57     0       
-57.0   -0.0    57.0    -4534.521       0.0     57.0    0.0     -10.175 -57.0   
0.4610526315789474      -57.0   0.0     -57
-NULL   -57     1969-12-31 16:00:12.626 -57.0   NULL    57      -57     0       
-57.0   -0.0    57.0    -4534.521       0.0     57.0    0.0     -10.175 -57.0   
0.4610526315789474      -57.0   0.0     -57
-NULL   -57     1969-12-31 16:00:13.578 -57.0   NULL    57      -57     0       
-57.0   -0.0    57.0    -4534.521       0.0     57.0    0.0     -10.175 -57.0   
0.4610526315789474      -57.0   0.0     -57
-NULL   -57     1969-12-31 16:00:15.39  -57.0   NULL    57      -57     0       
-57.0   -0.0    57.0    -4534.521       0.0     57.0    0.0     -10.175 -57.0   
0.4610526315789474      -57.0   0.0     -57
-NULL   -58     1969-12-31 16:00:12.065 -58.0   NULL    58      -58     0       
-58.0   -0.0    58.0    -4614.074       0.0     58.0    0.0     -10.175 -58.0   
0.4531034482758621      -58.0   0.0     -58
-NULL   -58     1969-12-31 16:00:12.683 -58.0   NULL    58      -58     0       
-58.0   -0.0    58.0    -4614.074       0.0     58.0    0.0     -10.175 -58.0   
0.4531034482758621      -58.0   0.0     -58
-NULL   -58     1969-12-31 16:00:12.948 -58.0   NULL    58      -58     0       
-58.0   -0.0    58.0    -4614.074       0.0     58.0    0.0     -10.175 -58.0   
0.4531034482758621      -58.0   0.0     -58
-NULL   -58     1969-12-31 16:00:14.066 -58.0   NULL    58      -58     0       
-58.0   -0.0    58.0    -4614.074       0.0     58.0    0.0     -10.175 -58.0   
0.4531034482758621      -58.0   0.0     -58
-NULL   -58     1969-12-31 16:00:15.658 -58.0   NULL    58      -58     0       
-58.0   -0.0    58.0    -4614.074       0.0     58.0    0.0     -10.175 -58.0   
0.4531034482758621      -58.0   0.0     -58
-NULL   -59     1969-12-31 16:00:12.008 -59.0   NULL    59      -59     0       
-59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 -59.0   
0.44542372881355935     -59.0   0.0     -59
-NULL   -59     1969-12-31 16:00:13.15  -59.0   NULL    59      -59     0       
-59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 -59.0   
0.44542372881355935     -59.0   0.0     -59
-NULL   -59     1969-12-31 16:00:13.625 -59.0   NULL    59      -59     0       
-59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 -59.0   
0.44542372881355935     -59.0   0.0     -59
-NULL   -59     1969-12-31 16:00:15.296 -59.0   NULL    59      -59     0       
-59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 -59.0   
0.44542372881355935     -59.0   0.0     -59
-NULL   -59     1969-12-31 16:00:15.861 -59.0   NULL    59      -59     0       
-59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 -59.0   
0.44542372881355935     -59.0   0.0     -59
-NULL   -60     1969-12-31 16:00:11.504 -60.0   NULL    60      -60     0       
-60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     -10.175 -60.0   
0.438   -60.0   0.0     -60
-NULL   -60     1969-12-31 16:00:11.641 -60.0   NULL    60      -60     0       
-60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     -10.175 -60.0   
0.438   -60.0   0.0     -60
-NULL   -60     1969-12-31 16:00:11.996 -60.0   NULL    60      -60     0       
-60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     -10.175 -60.0   
0.438   -60.0   0.0     -60
-NULL   -60     1969-12-31 16:00:12.779 -60.0   NULL    60      -60     0       
-60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     -10.175 -60.0   
0.438   -60.0   0.0     -60
-NULL   -61     1969-12-31 16:00:11.842 -61.0   NULL    61      -61     0       
-61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 -61.0   
0.4308196721311476      -61.0   0.0     -61
-NULL   -61     1969-12-31 16:00:12.454 -61.0   NULL    61      -61     0       
-61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 -61.0   
0.4308196721311476      -61.0   0.0     -61
-NULL   -61     1969-12-31 16:00:14.192 -61.0   NULL    61      -61     0       
-61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 -61.0   
0.4308196721311476      -61.0   0.0     -61
-NULL   -61     1969-12-31 16:00:16.558 -61.0   NULL    61      -61     0       
-61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 -61.0   
0.4308196721311476      -61.0   0.0     -61
-NULL   -62     1969-12-31 16:00:12.388 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:12.591 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:14.154 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:14.247 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:14.517 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:14.965 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -63     1969-12-31 16:00:11.946 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -63     1969-12-31 16:00:12.188 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -63     1969-12-31 16:00:15.436 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -64     1969-12-31 16:00:11.912 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:12.339 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:13.274 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
+true   -55     1969-12-31 16:00:12.297 -55.0   1cGVWH7n1QU     55      -55     
0       -55.0   -0.0    55.0    -4375.415       0.0     55.0    0.0     -10.175 
-55.0   0.47781818181818186     -55.0   0.0     -55
+true   -55     1969-12-31 16:00:13.15  -55.0   1cGVWH7n1QU     55      -55     
0       -55.0   -0.0    55.0    -4375.415       0.0     55.0    0.0     -10.175 
-55.0   0.47781818181818186     -55.0   0.0     -55
+true   -56     1969-12-31 16:00:11.242 -56.0   cvLH6Eat2yFsyy7p        56      
-56     0       -56.0   -0.0    56.0    -4454.9683      0.0     56.0    0.0     
-10.175 -56.0   0.4692857142857143      -56.0   0.0     -56
+true   -56     1969-12-31 16:00:13.534 -56.0   1cGVWH7n1QU     56      -56     
0       -56.0   -0.0    56.0    -4454.9683      0.0     56.0    0.0     -10.175 
-56.0   0.4692857142857143      -56.0   0.0     -56
+true   -56     1969-12-31 16:00:14.038 -56.0   1cGVWH7n1QU     56      -56     
0       -56.0   -0.0    56.0    -4454.9683      0.0     56.0    0.0     -10.175 
-56.0   0.4692857142857143      -56.0   0.0     -56
+true   -56     1969-12-31 16:00:14.689 -56.0   cvLH6Eat2yFsyy7p        56      
-56     0       -56.0   -0.0    56.0    -4454.9683      0.0     56.0    0.0     
-10.175 -56.0   0.4692857142857143      -56.0   0.0     -56
+true   -56     1969-12-31 16:00:16.37  -56.0   cvLH6Eat2yFsyy7p        56      
-56     0       -56.0   -0.0    56.0    -4454.9683      0.0     56.0    0.0     
-10.175 -56.0   0.4692857142857143      -56.0   0.0     -56
+true   -57     1969-12-31 16:00:11.534 -57.0   cvLH6Eat2yFsyy7p        57      
-57     0       -57.0   -0.0    57.0    -4534.521       0.0     57.0    0.0     
-10.175 -57.0   0.4610526315789474      -57.0   0.0     -57
+true   -57     1969-12-31 16:00:13.365 -57.0   1cGVWH7n1QU     57      -57     
0       -57.0   -0.0    57.0    -4534.521       0.0     57.0    0.0     -10.175 
-57.0   0.4610526315789474      -57.0   0.0     -57
+true   -57     1969-12-31 16:00:14.225 -57.0   821UdmGbkEf4j   57      -57     
0       -57.0   -0.0    57.0    -4534.521       0.0     57.0    0.0     -10.175 
-57.0   0.4610526315789474      -57.0   0.0     -57
+true   -58     1969-12-31 16:00:12.918 -58.0   cvLH6Eat2yFsyy7p        58      
-58     0       -58.0   -0.0    58.0    -4614.074       0.0     58.0    0.0     
-10.175 -58.0   0.4531034482758621      -58.0   0.0     -58
+true   -58     1969-12-31 16:00:13.209 -58.0   cvLH6Eat2yFsyy7p        58      
-58     0       -58.0   -0.0    58.0    -4614.074       0.0     58.0    0.0     
-10.175 -58.0   0.4531034482758621      -58.0   0.0     -58
+true   -58     1969-12-31 16:00:14.933 -58.0   cvLH6Eat2yFsyy7p        58      
-58     0       -58.0   -0.0    58.0    -4614.074       0.0     58.0    0.0     
-10.175 -58.0   0.4531034482758621      -58.0   0.0     -58
+true   -59     1969-12-31 16:00:11.065 -59.0   821UdmGbkEf4j   59      -59     
0       -59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 
-59.0   0.44542372881355935     -59.0   0.0     -59
+true   -59     1969-12-31 16:00:11.109 -59.0   1cGVWH7n1QU     59      -59     
0       -59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 
-59.0   0.44542372881355935     -59.0   0.0     -59
+true   -59     1969-12-31 16:00:11.231 -59.0   821UdmGbkEf4j   59      -59     
0       -59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 
-59.0   0.44542372881355935     -59.0   0.0     -59
+true   -59     1969-12-31 16:00:11.758 -59.0   821UdmGbkEf4j   59      -59     
0       -59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 
-59.0   0.44542372881355935     -59.0   0.0     -59
+true   -59     1969-12-31 16:00:12.227 -59.0   cvLH6Eat2yFsyy7p        59      
-59     0       -59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     
-10.175 -59.0   0.44542372881355935     -59.0   0.0     -59
+true   -59     1969-12-31 16:00:15.242 -59.0   821UdmGbkEf4j   59      -59     
0       -59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 
-59.0   0.44542372881355935     -59.0   0.0     -59
+true   -59     1969-12-31 16:00:15.278 -59.0   cvLH6Eat2yFsyy7p        59      
-59     0       -59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     
-10.175 -59.0   0.44542372881355935     -59.0   0.0     -59
+true   -59     1969-12-31 16:00:16.069 -59.0   cvLH6Eat2yFsyy7p        59      
-59     0       -59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     
-10.175 -59.0   0.44542372881355935     -59.0   0.0     -59
+true   -59     1969-12-31 16:00:16.125 -59.0   cvLH6Eat2yFsyy7p        59      
-59     0       -59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     
-10.175 -59.0   0.44542372881355935     -59.0   0.0     -59
+true   -60     1969-12-31 16:00:11.849 -60.0   1cGVWH7n1QU     60      -60     
0       -60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     -10.175 
-60.0   0.438   -60.0   0.0     -60
+true   -60     1969-12-31 16:00:12.223 -60.0   1cGVWH7n1QU     60      -60     
0       -60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     -10.175 
-60.0   0.438   -60.0   0.0     -60
+true   -60     1969-12-31 16:00:12.291 -60.0   821UdmGbkEf4j   60      -60     
0       -60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     -10.175 
-60.0   0.438   -60.0   0.0     -60
+true   -60     1969-12-31 16:00:13.567 -60.0   821UdmGbkEf4j   60      -60     
0       -60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     -10.175 
-60.0   0.438   -60.0   0.0     -60
+true   -60     1969-12-31 16:00:15.188 -60.0   cvLH6Eat2yFsyy7p        60      
-60     0       -60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     
-10.175 -60.0   0.438   -60.0   0.0     -60
+true   -60     1969-12-31 16:00:16.165 -60.0   cvLH6Eat2yFsyy7p        60      
-60     0       -60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     
-10.175 -60.0   0.438   -60.0   0.0     -60
+true   -61     1969-12-31 16:00:12.045 -61.0   1cGVWH7n1QU     61      -61     
0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 
-61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:12.75  -61.0   cvLH6Eat2yFsyy7p        61      
-61     0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     
-10.175 -61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:15.325 -61.0   821UdmGbkEf4j   61      -61     
0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 
-61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:15.694 -61.0   cvLH6Eat2yFsyy7p        61      
-61     0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     
-10.175 -61.0   0.4308196721311476      -61.0   0.0     -61
+true   -62     1969-12-31 16:00:13.677 -62.0   cvLH6Eat2yFsyy7p        62      
-62     0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     
-10.175 -62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:14.872 -62.0   821UdmGbkEf4j   62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:15.153 -62.0   821UdmGbkEf4j   62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -63     1969-12-31 16:00:13.752 -63.0   cvLH6Eat2yFsyy7p        63      
-63     0       -63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     
-10.175 -63.0   0.41714285714285715     -63.0   0.0     -63
+true   -63     1969-12-31 16:00:14.899 -63.0   cvLH6Eat2yFsyy7p        63      
-63     0       -63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     
-10.175 -63.0   0.41714285714285715     -63.0   0.0     -63
+true   -63     1969-12-31 16:00:15.827 -63.0   cvLH6Eat2yFsyy7p        63      
-63     0       -63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     
-10.175 -63.0   0.41714285714285715     -63.0   0.0     -63
+true   -64     1969-12-31 16:00:11.952 -64.0   821UdmGbkEf4j   64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:12.857 -64.0   821UdmGbkEf4j   64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
 PREHOOK: query: EXPLAIN VECTORIZATION EXPRESSION
 SELECT   cboolean1,
          ctinyint,
@@ -608,43 +608,43 @@ LIMIT 40
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesorc
 #### A masked pattern was here ####
-NULL   -61     1969-12-31 16:00:00.142 -61.0   NULL    61      -61     0       
-61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 -61.0   
0.4308196721311476      -61.0   0.0     -61
-NULL   -61     1969-12-31 16:00:02.698 -61.0   NULL    61      -61     0       
-61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 -61.0   
0.4308196721311476      -61.0   0.0     -61
-NULL   -61     1969-12-31 16:00:03.049 -61.0   NULL    61      -61     0       
-61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 -61.0   
0.4308196721311476      -61.0   0.0     -61
-NULL   -61     1969-12-31 16:00:04.165 -61.0   NULL    61      -61     0       
-61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 -61.0   
0.4308196721311476      -61.0   0.0     -61
-NULL   -61     1969-12-31 16:00:04.977 -61.0   NULL    61      -61     0       
-61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 -61.0   
0.4308196721311476      -61.0   0.0     -61
-NULL   -62     1969-12-31 16:00:00.037 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:01.22  -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:01.515 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:01.734 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:02.373 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:03.85  -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:08.198 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:09.025 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:09.889 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:10.069 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:10.225 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:10.485 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:12.388 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:12.591 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:14.154 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:14.247 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:14.517 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:14.965 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -63     1969-12-31 16:00:01.843 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -63     1969-12-31 16:00:03.552 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -63     1969-12-31 16:00:06.852 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -63     1969-12-31 16:00:07.375 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -63     1969-12-31 16:00:10.205 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -63     1969-12-31 16:00:11.946 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -63     1969-12-31 16:00:12.188 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -63     1969-12-31 16:00:15.436 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -64     1969-12-31 16:00:00.199 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:00.29  -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:01.785 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:03.944 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:05.997 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:10.858 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:11.912 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:12.339 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:13.274 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
+true   -61     1969-12-31 16:00:00.554 -61.0   1cGVWH7n1QU     61      -61     
0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 
-61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:02.339 -61.0   cvLH6Eat2yFsyy7p        61      
-61     0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     
-10.175 -61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:02.497 -61.0   cvLH6Eat2yFsyy7p        61      
-61     0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     
-10.175 -61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:03.742 -61.0   1cGVWH7n1QU     61      -61     
0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 
-61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:07.538 -61.0   821UdmGbkEf4j   61      -61     
0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 
-61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:09.809 -61.0   1cGVWH7n1QU     61      -61     
0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 
-61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:10.713 -61.0   cvLH6Eat2yFsyy7p        61      
-61     0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     
-10.175 -61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:12.045 -61.0   1cGVWH7n1QU     61      -61     
0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 
-61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:12.75  -61.0   cvLH6Eat2yFsyy7p        61      
-61     0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     
-10.175 -61.0   0.4308196721311476      -61.0   0.0     -61
+true   -62     1969-12-31 16:00:00.337 -62.0   1cGVWH7n1QU     62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:00.659 -62.0   821UdmGbkEf4j   62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:00.684 -62.0   cvLH6Eat2yFsyy7p        62      
-62     0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     
-10.175 -62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:01.419 -62.0   821UdmGbkEf4j   62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:02.123 -62.0   1cGVWH7n1QU     62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:02.922 -62.0   821UdmGbkEf4j   62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:04.978 -62.0   cvLH6Eat2yFsyy7p        62      
-62     0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     
-10.175 -62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:07.756 -62.0   1cGVWH7n1QU     62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:07.847 -62.0   cvLH6Eat2yFsyy7p        62      
-62     0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     
-10.175 -62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:07.903 -62.0   821UdmGbkEf4j   62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:13.677 -62.0   cvLH6Eat2yFsyy7p        62      
-62     0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     
-10.175 -62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:14.872 -62.0   821UdmGbkEf4j   62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:15.153 -62.0   821UdmGbkEf4j   62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -63     1969-12-31 16:00:05.654 -63.0   821UdmGbkEf4j   63      -63     
0       -63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 
-63.0   0.41714285714285715     -63.0   0.0     -63
+true   -63     1969-12-31 16:00:07.623 -63.0   cvLH6Eat2yFsyy7p        63      
-63     0       -63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     
-10.175 -63.0   0.41714285714285715     -63.0   0.0     -63
+true   -63     1969-12-31 16:00:09.14  -63.0   821UdmGbkEf4j   63      -63     
0       -63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 
-63.0   0.41714285714285715     -63.0   0.0     -63
+true   -63     1969-12-31 16:00:13.752 -63.0   cvLH6Eat2yFsyy7p        63      
-63     0       -63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     
-10.175 -63.0   0.41714285714285715     -63.0   0.0     -63
+true   -63     1969-12-31 16:00:14.899 -63.0   cvLH6Eat2yFsyy7p        63      
-63     0       -63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     
-10.175 -63.0   0.41714285714285715     -63.0   0.0     -63
+true   -63     1969-12-31 16:00:15.827 -63.0   cvLH6Eat2yFsyy7p        63      
-63     0       -63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     
-10.175 -63.0   0.41714285714285715     -63.0   0.0     -63
+true   -64     1969-12-31 15:59:58.959 -64.0   821UdmGbkEf4j   64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:00.013 -64.0   1cGVWH7n1QU     64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:00.172 -64.0   1cGVWH7n1QU     64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:00.631 -64.0   1cGVWH7n1QU     64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:01.305 -64.0   cvLH6Eat2yFsyy7p        64      
-64     0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     
-10.175 -64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:01.79  -64.0   1cGVWH7n1QU     64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:02.496 -64.0   821UdmGbkEf4j   64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:03.088 -64.0   cvLH6Eat2yFsyy7p        64      
-64     0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     
-10.175 -64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:04.662 -64.0   821UdmGbkEf4j   64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:10.273 -64.0   821UdmGbkEf4j   64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:11.952 -64.0   821UdmGbkEf4j   64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:12.857 -64.0   821UdmGbkEf4j   64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/vectorization_7.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vectorization_7.q.out 
b/ql/src/test/results/clientpositive/vectorization_7.q.out
index 008d292..947c758 100644
--- a/ql/src/test/results/clientpositive/vectorization_7.q.out
+++ b/ql/src/test/results/clientpositive/vectorization_7.q.out
@@ -195,31 +195,31 @@ LIMIT 25
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesorc
 #### A masked pattern was here ####
-NULL   -2118149242     -7196   56      1969-12-31 15:59:50.462 NULL    
-4236298484     0       7196    -56     -39     -15242201945432 NULL    -56     0
-NULL   -2121399625     -7196   27      1969-12-31 15:59:50.046 NULL    
-4242799250     0       7196    -27     -10     -15265591701500 NULL    -27     0
-NULL   -2124802690     -7196   -6      1969-12-31 15:59:57.92  NULL    
-4249605380     0       7196    6       23      -15290080157240 NULL    6       0
-NULL   -2128720310     -7196   -52     1969-12-31 15:59:45.978 NULL    
-4257440620     0       7196    52      69      -15318271350760 NULL    52      0
-NULL   -2132232110     -200    60      1969-12-31 15:59:47.019 NULL    
-4264464220     -200    200     -60     -43     -426446422000   NULL    -60     0
-NULL   -2132536965     -7196   9       1969-12-31 15:59:46     NULL    
-4265073930     0       7196    -9      8       -15345736000140 NULL    -9      0
-NULL   -2135141157     -7196   50      1969-12-31 15:59:50.192 NULL    
-4270282314     0       7196    -50     -33     -15364475765772 NULL    -50     0
-NULL   -2137537679     -7196   -25     1969-12-31 15:59:50.136 NULL    
-4275075358     0       7196    25      42      -15381721138084 NULL    25      0
-NULL   -2145481991     -7196   56      1969-12-31 15:59:55.667 NULL    
-4290963982     0       7196    -56     -39     -15438888407236 NULL    -56     0
-NULL   NULL    -200    -36     1969-12-31 15:59:57.241 NULL    NULL    -200    
200     36      53      NULL    NULL    36      0
-NULL   NULL    -200    -43     1969-12-31 15:59:53.783 NULL    NULL    -200    
200     43      60      NULL    NULL    43      0
-NULL   NULL    -200    -58     1969-12-31 15:59:51.115 NULL    NULL    -200    
200     58      75      NULL    NULL    58      0
-NULL   NULL    -200    22      1969-12-31 15:59:50.109 NULL    NULL    -200    
200     -22     -5      NULL    NULL    -22     0
-NULL   NULL    -200    3       1969-12-31 15:59:50.489 NULL    NULL    -200    
200     -3      14      NULL    NULL    -3      0
-NULL   NULL    -200    43      1969-12-31 15:59:57.003 NULL    NULL    -200    
200     -43     -26     NULL    NULL    -43     0
-NULL   NULL    -200    53      1969-12-31 15:59:49.46  NULL    NULL    -200    
200     -53     -36     NULL    NULL    -53     0
-NULL   NULL    -200    9       1969-12-31 15:59:44.108 NULL    NULL    -200    
200     -9      8       NULL    NULL    -9      0
-NULL   NULL    -7196   -38     1969-12-31 15:59:53.503 NULL    NULL    0       
7196    38      55      NULL    NULL    38      0
-NULL   NULL    -7196   -49     1969-12-31 15:59:51.009 NULL    NULL    0       
7196    49      66      NULL    NULL    49      0
-NULL   NULL    -7196   -49     1969-12-31 15:59:52.052 NULL    NULL    0       
7196    49      66      NULL    NULL    49      0
-NULL   NULL    -7196   -50     1969-12-31 15:59:52.424 NULL    NULL    0       
7196    50      67      NULL    NULL    50      0
-NULL   NULL    -7196   -61     1969-12-31 15:59:44.823 NULL    NULL    0       
7196    61      78      NULL    NULL    61      0
-NULL   NULL    -7196   1       1969-12-31 15:59:48.361 NULL    NULL    0       
7196    -1      16      NULL    NULL    -1      0
-NULL   NULL    -7196   14      1969-12-31 15:59:50.291 NULL    NULL    0       
7196    -14     3       NULL    NULL    -14     0
-NULL   NULL    -7196   22      1969-12-31 15:59:52.699 NULL    NULL    0       
7196    -22     -5      NULL    NULL    -22     0
+true   NULL    -15892  29      1969-12-31 15:59:57.937 821UdmGbkEf4j   NULL    
-215    15892   -29     -12     NULL    171     -29     0
+true   NULL    -15899  50      1969-12-31 15:59:46.926 821UdmGbkEf4j   NULL    
-222    15899   -50     -33     NULL    10210   -50     0
+true   NULL    -15903  -2      1969-12-31 15:59:46.371 cvLH6Eat2yFsyy7p        
NULL    -226    15903   2       19      NULL    14465   2       0
+true   NULL    -15920  -64     1969-12-31 15:59:51.859 cvLH6Eat2yFsyy7p        
NULL    -243    15920   64      81      NULL    6687    64      0
+true   NULL    -15922  -17     1969-12-31 15:59:46.164 821UdmGbkEf4j   NULL    
-245    15922   17      34      NULL    10851   17      0
+true   NULL    -15923  49      1969-12-31 15:59:47.323 cvLH6Eat2yFsyy7p        
NULL    -246    15923   -49     -32     NULL    2628    -49     0
+true   NULL    -15935  -6      1969-12-31 15:59:45.859 1cGVWH7n1QU     NULL    
-1      15935   6       23      NULL    12046   6       0
+true   NULL    -15948  31      1969-12-31 15:59:47.577 821UdmGbkEf4j   NULL    
-14     15948   -31     -14     NULL    7799    -31     0
+true   NULL    -15948  6       1969-12-31 15:59:49.269 1cGVWH7n1QU     NULL    
-14     15948   -6      11      NULL    12436   -6      0
+true   NULL    -15980  -6      1969-12-31 15:59:54.84  1cGVWH7n1QU     NULL    
-46     15980   6       23      NULL    14836   6       0
+true   NULL    -15999  4       1969-12-31 15:59:46.491 1cGVWH7n1QU     NULL    
-65     15999   -4      13      NULL    1231    -4      0
+true   NULL    -16017  -21     1969-12-31 15:59:44.02  821UdmGbkEf4j   NULL    
-83     16017   21      38      NULL    2282    21      0
+true   NULL    -16025  -42     1969-12-31 15:59:54.534 cvLH6Eat2yFsyy7p        
NULL    -91     16025   42      59      NULL    14242   42      0
+true   NULL    -16036  -15     1969-12-31 15:59:58.681 1cGVWH7n1QU     NULL    
-102    16036   15      32      NULL    7928    15      0
+true   NULL    -16059  -35     1969-12-31 15:59:53.038 821UdmGbkEf4j   NULL    
-125    16059   35      52      NULL    12437   35      0
+true   NULL    -16076  59      1969-12-31 15:59:55.023 821UdmGbkEf4j   NULL    
-142    16076   -59     -42     NULL    7907    -59     0
+true   NULL    -16122  50      1969-12-31 15:59:51.608 1cGVWH7n1QU     NULL    
-188    16122   -50     -33     NULL    1828    -50     0
+true   NULL    -16123  -20     1969-12-31 15:59:51.177 1cGVWH7n1QU     NULL    
-189    16123   20      37      NULL    2217    20      0
+true   NULL    -16153  35      1969-12-31 15:59:52.036 1cGVWH7n1QU     NULL    
-219    16153   -35     -18     NULL    14817   -35     0
+true   NULL    -16169  5       1969-12-31 15:59:45.059 1cGVWH7n1QU     NULL    
-235    16169   -5      12      NULL    6104    -5      0
+true   NULL    -16207  -4      1969-12-31 15:59:45.956 cvLH6Eat2yFsyy7p        
NULL    -16     16207   4       21      NULL    8290    4       0
+true   NULL    -16221  -12     1969-12-31 15:59:45.877 1cGVWH7n1QU     NULL    
-30     16221   12      29      NULL    1378    12      0
+true   NULL    -16227  2       1969-12-31 15:59:44.065 821UdmGbkEf4j   NULL    
-36     16227   -2      15      NULL    9761    -2      0
+true   NULL    -16305  3       1969-12-31 15:59:43.878 1cGVWH7n1QU     NULL    
-114    16305   -3      14      NULL    8491    -3      0
+true   NULL    -16339  15      1969-12-31 15:59:53.966 821UdmGbkEf4j   NULL    
-148    16339   -15     2       NULL    12588   -15     0
 PREHOOK: query: EXPLAIN VECTORIZATION EXPRESSION
 SELECT cboolean1,
        cbigint,

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/vectorization_limit.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vectorization_limit.q.out 
b/ql/src/test/results/clientpositive/vectorization_limit.q.out
index 1d5db09..a834620 100644
--- a/ql/src/test/results/clientpositive/vectorization_limit.q.out
+++ b/ql/src/test/results/clientpositive/vectorization_limit.q.out
@@ -369,6 +369,7 @@ POSTHOOK: query: select ctinyint,avg(cdouble + 1) as cavg 
from alltypesorc group
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesorc
 #### A masked pattern was here ####
+-45    326.44444444444446
 -46    3033.55
 -47    -574.6428571428571
 -48    1672.909090909091
@@ -388,7 +389,6 @@ POSTHOOK: Input: default@alltypesorc
 -62    245.69387755102042
 -63    2178.7272727272725
 -64    373.52941176470586
-NULL   9370.0945309795
 PREHOOK: query: explain vectorization detail
 select distinct(ctinyint) as cdistinct from alltypesorc order by cdistinct 
limit 20
 PREHOOK: type: QUERY
@@ -495,6 +495,7 @@ POSTHOOK: query: select distinct(ctinyint) as cdistinct 
from alltypesorc order b
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesorc
 #### A masked pattern was here ####
+-45
 -46
 -47
 -48
@@ -514,7 +515,6 @@ POSTHOOK: Input: default@alltypesorc
 -62
 -63
 -64
-NULL
 PREHOOK: query: explain vectorization detail
 select ctinyint, count(distinct(cdouble)) as count_distinct from alltypesorc 
group by ctinyint order by ctinyint, count_distinct limit 20
 PREHOOK: type: QUERY
@@ -643,6 +643,7 @@ POSTHOOK: query: select ctinyint, count(distinct(cdouble)) 
as count_distinct fro
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesorc
 #### A masked pattern was here ####
+-45    24
 -46    24
 -47    22
 -48    29
@@ -662,7 +663,6 @@ POSTHOOK: Input: default@alltypesorc
 -62    27
 -63    19
 -64    24
-NULL   2932
 PREHOOK: query: explain vectorization detail
 select ctinyint,cdouble from alltypesorc order by ctinyint,cdouble limit 0
 PREHOOK: type: QUERY

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/vectorization_part_project.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/vectorization_part_project.q.out 
b/ql/src/test/results/clientpositive/vectorization_part_project.q.out
index 50052fd..44755e5 100644
--- a/ql/src/test/results/clientpositive/vectorization_part_project.q.out
+++ b/ql/src/test/results/clientpositive/vectorization_part_project.q.out
@@ -64,15 +64,15 @@ STAGE PLANS:
       Map Operator Tree:
           TableScan
             alias: alltypesorc_part
-            Statistics: Num rows: 200 Data size: 54496 Basic stats: COMPLETE 
Column stats: NONE
+            Statistics: Num rows: 200 Data size: 40674 Basic stats: COMPLETE 
Column stats: NONE
             Select Operator
               expressions: (cdouble + 2.0D) (type: double)
               outputColumnNames: _col0
-              Statistics: Num rows: 200 Data size: 54496 Basic stats: COMPLETE 
Column stats: NONE
+              Statistics: Num rows: 200 Data size: 40674 Basic stats: COMPLETE 
Column stats: NONE
               Reduce Output Operator
                 key expressions: _col0 (type: double)
                 sort order: +
-                Statistics: Num rows: 200 Data size: 54496 Basic stats: 
COMPLETE Column stats: NONE
+                Statistics: Num rows: 200 Data size: 40674 Basic stats: 
COMPLETE Column stats: NONE
                 TopN Hash Memory Usage: 0.1
       Execution mode: vectorized
       Map Vectorization:
@@ -92,13 +92,13 @@ STAGE PLANS:
         Select Operator
           expressions: KEY.reducesinkkey0 (type: double)
           outputColumnNames: _col0
-          Statistics: Num rows: 200 Data size: 54496 Basic stats: COMPLETE 
Column stats: NONE
+          Statistics: Num rows: 200 Data size: 40674 Basic stats: COMPLETE 
Column stats: NONE
           Limit
             Number of rows: 10
-            Statistics: Num rows: 10 Data size: 2720 Basic stats: COMPLETE 
Column stats: NONE
+            Statistics: Num rows: 10 Data size: 2030 Basic stats: COMPLETE 
Column stats: NONE
             File Output Operator
               compressed: false
-              Statistics: Num rows: 10 Data size: 2720 Basic stats: COMPLETE 
Column stats: NONE
+              Statistics: Num rows: 10 Data size: 2030 Basic stats: COMPLETE 
Column stats: NONE
               table:
                   input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                   output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -122,13 +122,13 @@ POSTHOOK: Input: default@alltypesorc_part
 POSTHOOK: Input: default@alltypesorc_part@ds=2011
 POSTHOOK: Input: default@alltypesorc_part@ds=2012
 #### A masked pattern was here ####
-NULL
-NULL
--15863.0
--15863.0
--14988.0
--14988.0
--14646.0
--14646.0
--14236.0
--14236.0
+-15990.0
+-15990.0
+-15918.0
+-15918.0
+-15890.0
+-15890.0
+-14305.0
+-14305.0
+-12514.0
+-12514.0

Reply via email to