Repository: hive
Updated Branches:
  refs/heads/master 7a8f10599 -> 1593c10dd


http://git-wip-us.apache.org/repos/asf/hive/blob/1593c10d/ql/src/test/results/clientpositive/vector_outer_join6.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vector_outer_join6.q.out 
b/ql/src/test/results/clientpositive/vector_outer_join6.q.out
index 5bd2bac..1e7e295 100644
--- a/ql/src/test/results/clientpositive/vector_outer_join6.q.out
+++ b/ql/src/test/results/clientpositive/vector_outer_join6.q.out
@@ -130,7 +130,7 @@ POSTHOOK: query: explain vectorization detail formatted
 select tj1rnum, tj2rnum, tjoin3.rnum as rnumt3 from
    (select tjoin1.rnum tj1rnum, tjoin2.rnum tj2rnum, tjoin2.c1 tj2c1 from 
tjoin1 left outer join tjoin2 on tjoin1.c1 = tjoin2.c1 ) tj left outer join 
tjoin3 on tj2c1 = tjoin3.c1
 POSTHOOK: type: QUERY
-{"PLAN 
VECTORIZATION":{"enabled":true,"enabledConditionsMet":["hive.vectorized.execution.enabled
 IS true"]},"STAGE DEPENDENCIES":{"Stage-7":{"ROOT 
STAGE":"TRUE"},"Stage-5":{"DEPENDENT STAGES":"Stage-7"},"Stage-0":{"DEPENDENT 
STAGES":"Stage-5"}},"STAGE PLANS":{"Stage-7":{"Map Reduce Local Work":{"Alias 
-> Map Local Tables:":{"$hdt$_0:$hdt$_0:tjoin2":{"Fetch 
Operator":{"limit:":"-1"}},"$hdt$_1:tjoin3":{"Fetch 
Operator":{"limit:":"-1"}}},"Alias -> Map Local Operator 
Tree:":{"$hdt$_0:$hdt$_0:tjoin2":{"TableScan":{"alias:":"tjoin2","columns:":["rnum","c1"],"database:":"default","Statistics:":"Num
 rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: 
NONE","table:":"tjoin2","isTempTable:":"false","OperatorId:":"TS_0","children":{"Select
 Operator":{"expressions:":"rnum (type: int), c1 (type: 
int)","columnExprMap:":{"_col0":"rnum","_col1":"c1"},"outputColumnNames:":["_col0","_col1"],"Statistics:":"Num
 rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"SEL_1
 ","children":{"HashTable Sink Operator":{"keys:":{"0":"_col1 (type: 
int)","1":"_col1 (type: 
int)"},"OperatorId:":"HASHTABLESINK_21"}}}}}},"$hdt$_1:tjoin3":{"TableScan":{"alias:":"tjoin3","columns:":["rnum","c1"],"database:":"default","Statistics:":"Num
 rows: 2 Data size: 188 Basic stats: COMPLETE Column stats: 
NONE","table:":"tjoin3","isTempTable:":"false","OperatorId:":"TS_8","children":{"Select
 Operator":{"expressions:":"rnum (type: int), c1 (type: 
int)","columnExprMap:":{"_col0":"rnum","_col1":"c1"},"outputColumnNames:":["_col0","_col1"],"Statistics:":"Num
 rows: 2 Data size: 188 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"SEL_9","children":{"HashTable Sink 
Operator":{"keys:":{"0":"_col2 (type: int)","1":"_col1 (type: 
int)"},"OperatorId:":"HASHTABLESINK_19"}}}}}}}}},"Stage-5":{"Map Reduce":{"Map 
Operator 
Tree:":[{"TableScan":{"alias:":"tjoin1","columns:":["rnum","c1"],"database:":"default","Statistics:":"Num
 rows: 3 Data size: 32 Basic stats: COMPLETE Column stats: NO
 NE","table:":"tjoin1","TableScan 
Vectorization:":{"native:":"true","vectorizationSchemaColumns:":"[0:rnum:int, 
1:c1:int, 2:c2:int, 
3:ROW__ID:struct<transactionid:bigint,bucketid:int,rowid:bigint>]"},"isTempTable:":"false","OperatorId:":"TS_2","children":{"Select
 Operator":{"expressions:":"rnum (type: int), c1 (type: 
int)","columnExprMap:":{"_col0":"rnum","_col1":"c1"},"outputColumnNames:":["_col0","_col1"],"Select
 
Vectorization:":{"className:":"VectorSelectOperator","native:":"true","projectedOutputColumnNums:":"[0,
 1]"},"Statistics:":"Num rows: 3 Data size: 32 Basic stats: COMPLETE Column 
stats: NONE","OperatorId:":"SEL_23","children":{"Map Join 
Operator":{"columnExprMap:":{"_col0":"0:_col0","_col1":"0:_col1","_col2":"1:_col0"},"condition
 map:":[{"":"Right Outer Join 0 to 1"}],"keys:":{"0":"_col1 (type: 
int)","1":"_col1 (type: int)"},"Map Join 
Vectorization:":{"bigTableKeyExpressions:":["col 
1:int"],"bigTableValueExpressions:":["col 
0:int"],"className:":"VectorMapJoinOperator","nat
 ive:":"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","Optimized Table and Supports Key Types IS 
true"],"nativeConditionsNotMet:":["hive.execution.engine mr IN [tez, spark] IS 
false"]},"outputColumnNames:":["_col0","_col1","_col2"],"Statistics:":"Num 
rows: 4 Data size: 409 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"MAPJOIN_24","children":{"Select 
Operator":{"expressions:":"_col2 (type: int), _col0 (type: int), _col1 (type: 
int)","columnExprMap:":{"_col0":"_col2","_col1":"_col0","_col2":"_col1"},"outputColumnNames:":["_col0","_col1","_col2"],"Select
 
Vectorization:":{"className:":"VectorSelectOperator","native:":"true","projectedOutputColumnNums:":"[2,
 0, 1]"},"Statistics:":"Num rows: 4 Data size: 409 Basic stats: COMPLETE Column 
stats: NONE","OperatorId:":"SEL_25","children":{"Map Join Operator":{"co
 
lumnExprMap:":{"_col0":"0:_col0","_col1":"0:_col1","_col3":"1:_col0"},"condition
 map:":[{"":"Left Outer Join 0 to 1"}],"keys:":{"0":"_col2 (type: 
int)","1":"_col1 (type: int)"},"Map Join 
Vectorization:":{"bigTableKeyExpressions:":["col 
1:int"],"bigTableValueExpressions:":["col 2:int","col 
0:int"],"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","Optimized Table and Supports Key Types IS 
true"],"nativeConditionsNotMet:":["hive.execution.engine mr IN [tez, spark] IS 
false"]},"outputColumnNames:":["_col0","_col1","_col3"],"Statistics:":"Num 
rows: 4 Data size: 449 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"MAPJOIN_26","children":{"Select 
Operator":{"expressions:":"_col0 (type: int), _col1 (type: int), _col3 (type: 
int)","columnExprMap:":{"_col0":"_col0","_co
 
l1":"_col1","_col2":"_col3"},"outputColumnNames:":["_col0","_col1","_col2"],"Select
 
Vectorization:":{"className:":"VectorSelectOperator","native:":"true","projectedOutputColumnNums:":"[0,
 1, 2]"},"Statistics:":"Num rows: 4 Data size: 449 Basic stats: COMPLETE Column 
stats: NONE","OperatorId:":"SEL_27","children":{"File Output 
Operator":{"compressed:":"false","File Sink 
Vectorization:":{"className:":"VectorFileSinkOperator","native:":"false"},"Statistics:":"Num
 rows: 4 Data size: 449 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_28"}}}}}}}}}}}}}}],"Execution
 mode:":"vectorized","Map 
Vectorization:":{"enabled:":"true","enabledConditionsMet:":["hive.vectorized.use.vectorized.input.format
 IS true"],"inputFormatFeatureSupport:":"[]","featureSupportInUse:":"[]",
 
"inputFileFormats:":["org.apache.hadoop.hive.ql.io.orc.OrcInputFormat"],"allNative:":"false","usesVectorUDFAdaptor:":"false","vectorized:":"true","rowBatchContext:":{"dataColumnCount:":"3","includeColumns:":"[0,
 
1]","dataColumns:":["rnum:int","c1:int","c2:int"],"partitionColumnCount:":"0","scratchColumnTypeNames:":"[bigint,
 bigint]"}},"Local Work:":{"Map Reduce Local Work":{}}}},"Stage-0":{"Fetch 
Operator":{"limit:":"-1","Processor 
Tree:":{"ListSink":{"OperatorId:":"LIST_SINK_29"}}}}}}
+{"PLAN 
VECTORIZATION":{"enabled":true,"enabledConditionsMet":["hive.vectorized.execution.enabled
 IS true"]},"STAGE DEPENDENCIES":{"Stage-7":{"ROOT 
STAGE":"TRUE"},"Stage-5":{"DEPENDENT STAGES":"Stage-7"},"Stage-0":{"DEPENDENT 
STAGES":"Stage-5"}},"STAGE PLANS":{"Stage-7":{"Map Reduce Local Work":{"Alias 
-> Map Local Tables:":{"$hdt$_0:$hdt$_0:tjoin2":{"Fetch 
Operator":{"limit:":"-1"}},"$hdt$_1:tjoin3":{"Fetch 
Operator":{"limit:":"-1"}}},"Alias -> Map Local Operator 
Tree:":{"$hdt$_0:$hdt$_0:tjoin2":{"TableScan":{"alias:":"tjoin2","columns:":["rnum","c1"],"database:":"default","Statistics:":"Num
 rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: 
NONE","table:":"tjoin2","isTempTable:":"false","OperatorId:":"TS_0","children":{"Select
 Operator":{"expressions:":"rnum (type: int), c1 (type: 
int)","columnExprMap:":{"_col0":"rnum","_col1":"c1"},"outputColumnNames:":["_col0","_col1"],"Statistics:":"Num
 rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"SEL_1
 ","children":{"HashTable Sink Operator":{"keys:":{"0":"_col1 (type: 
int)","1":"_col1 (type: 
int)"},"OperatorId:":"HASHTABLESINK_21"}}}}}},"$hdt$_1:tjoin3":{"TableScan":{"alias:":"tjoin3","columns:":["rnum","c1"],"database:":"default","Statistics:":"Num
 rows: 2 Data size: 188 Basic stats: COMPLETE Column stats: 
NONE","table:":"tjoin3","isTempTable:":"false","OperatorId:":"TS_8","children":{"Select
 Operator":{"expressions:":"rnum (type: int), c1 (type: 
int)","columnExprMap:":{"_col0":"rnum","_col1":"c1"},"outputColumnNames:":["_col0","_col1"],"Statistics:":"Num
 rows: 2 Data size: 188 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"SEL_9","children":{"HashTable Sink 
Operator":{"keys:":{"0":"_col2 (type: int)","1":"_col1 (type: 
int)"},"OperatorId:":"HASHTABLESINK_19"}}}}}}}}},"Stage-5":{"Map Reduce":{"Map 
Operator 
Tree:":[{"TableScan":{"alias:":"tjoin1","columns:":["rnum","c1"],"database:":"default","Statistics:":"Num
 rows: 3 Data size: 32 Basic stats: COMPLETE Column stats: NO
 NE","table:":"tjoin1","TableScan 
Vectorization:":{"native:":"true","vectorizationSchemaColumns:":"[0:rnum:int, 
1:c1:int, 2:c2:int, 
3:ROW__ID:struct<transactionid:bigint,bucketid:int,rowid:bigint>]"},"isTempTable:":"false","OperatorId:":"TS_2","children":{"Select
 Operator":{"expressions:":"rnum (type: int), c1 (type: 
int)","columnExprMap:":{"_col0":"rnum","_col1":"c1"},"outputColumnNames:":["_col0","_col1"],"Select
 
Vectorization:":{"className:":"VectorSelectOperator","native:":"true","projectedOutputColumnNums:":"[0,
 1]"},"Statistics:":"Num rows: 3 Data size: 32 Basic stats: COMPLETE Column 
stats: NONE","OperatorId:":"SEL_23","children":{"Map Join 
Operator":{"columnExprMap:":{"_col0":"0:_col0","_col1":"0:_col1","_col2":"1:_col0"},"condition
 map:":[{"":"Right Outer Join 0 to 1"}],"keys:":{"0":"_col1 (type: 
int)","1":"_col1 (type: int)"},"Map Join 
Vectorization:":{"bigTableKeyExpressions:":["col 
1:int"],"bigTableValueExpressions:":["col 
0:int"],"className:":"VectorMapJoinOperator","nat
 ive:":"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","_col1","_col2"],"Statistics:":"Num 
rows: 4 Data size: 409 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"MAPJOIN_24","children":{"Select 
Operator":{"expressions:":"_col2 (type: int), _col0 (type: int), _col1 (type: 
int)","columnExprMap:":{"_col0":"_col2","_col1":"_col0","_col2":"_col1"},"outputColumnNames:":["_col0","_col1","_col2"],"Select
 
Vectorization:":{"className:":"VectorSelectOperator","native:":"true","projectedOutputColumnNums:":"[2,
 0, 1]"},"Statistics:":"Num rows: 4 Data size: 409 Basic stats: COMPLETE Column 
stats: NONE","OperatorId:":"SEL_25","child
 ren":{"Map Join 
Operator":{"columnExprMap:":{"_col0":"0:_col0","_col1":"0:_col1","_col3":"1:_col0"},"condition
 map:":[{"":"Left Outer Join 0 to 1"}],"keys:":{"0":"_col2 (type: 
int)","1":"_col1 (type: int)"},"Map Join 
Vectorization:":{"bigTableKeyExpressions:":["col 
1:int"],"bigTableValueExpressions:":["col 2:int","col 
0:int"],"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","_col1","_col3"],"Statistics:":"Num 
rows: 4 Data size: 449 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"MAPJOIN_26","children":{"Select 
Operator":{"expressions:":"_col0 (type: int), _col1 (type: int
 ), _col3 (type: 
int)","columnExprMap:":{"_col0":"_col0","_col1":"_col1","_col2":"_col3"},"outputColumnNames:":["_col0","_col1","_col2"],"Select
 
Vectorization:":{"className:":"VectorSelectOperator","native:":"true","projectedOutputColumnNums:":"[0,
 1, 2]"},"Statistics:":"Num rows: 4 Data size: 449 Basic stats: COMPLETE Column 
stats: NONE","OperatorId:":"SEL_27","children":{"File Output 
Operator":{"compressed:":"false","File Sink 
Vectorization:":{"className:":"VectorFileSinkOperator","native:":"false"},"Statistics:":"Num
 rows: 4 Data size: 449 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_28"}}}}}}}}}}}}}}],"Execution
 mode:":"vectorized","Map 
Vectorization:":{"enabled:":"true","enabledConditionsMet:":["hive.vectorized.use.vectorized.input.format
 IS true"],"i
 
nputFormatFeatureSupport:":"[]","featureSupportInUse:":"[]","inputFileFormats:":["org.apache.hadoop.hive.ql.io.orc.OrcInputFormat"],"allNative:":"false","usesVectorUDFAdaptor:":"false","vectorized:":"true","rowBatchContext:":{"dataColumnCount:":"3","includeColumns:":"[0,
 
1]","dataColumns:":["rnum:int","c1:int","c2:int"],"partitionColumnCount:":"0","scratchColumnTypeNames:":"[bigint,
 bigint]"}},"Local Work:":{"Map Reduce Local Work":{}}}},"Stage-0":{"Fetch 
Operator":{"limit:":"-1","Processor 
Tree:":{"ListSink":{"OperatorId:":"LIST_SINK_29"}}}}}}
 PREHOOK: query: select tj1rnum, tj2rnum, tjoin3.rnum as rnumt3 from
    (select tjoin1.rnum tj1rnum, tjoin2.rnum tj2rnum, tjoin2.c1 tj2c1 from 
tjoin1 left outer join tjoin2 on tjoin1.c1 = tjoin2.c1 ) tj left outer join 
tjoin3 on tj2c1 = tjoin3.c1
 PREHOOK: type: QUERY
@@ -157,7 +157,7 @@ POSTHOOK: query: explain vectorization detail formatted
 select tj1rnum, tj2rnum as rnumt3 from
    (select tjoin1.rnum tj1rnum, tjoin2.rnum tj2rnum, tjoin2.c1 tj2c1 from 
tjoin1 left outer join tjoin2 on tjoin1.c1 = tjoin2.c1 ) tj left outer join 
tjoin3 on tj2c1 = tjoin3.c1
 POSTHOOK: type: QUERY
-{"PLAN 
VECTORIZATION":{"enabled":true,"enabledConditionsMet":["hive.vectorized.execution.enabled
 IS true"]},"STAGE DEPENDENCIES":{"Stage-7":{"ROOT 
STAGE":"TRUE"},"Stage-5":{"DEPENDENT STAGES":"Stage-7"},"Stage-0":{"DEPENDENT 
STAGES":"Stage-5"}},"STAGE PLANS":{"Stage-7":{"Map Reduce Local Work":{"Alias 
-> Map Local Tables:":{"$hdt$_0:$hdt$_0:tjoin2":{"Fetch 
Operator":{"limit:":"-1"}},"$hdt$_1:tjoin3":{"Fetch 
Operator":{"limit:":"-1"}}},"Alias -> Map Local Operator 
Tree:":{"$hdt$_0:$hdt$_0:tjoin2":{"TableScan":{"alias:":"tjoin2","columns:":["rnum","c1"],"database:":"default","Statistics:":"Num
 rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: 
NONE","table:":"tjoin2","isTempTable:":"false","OperatorId:":"TS_0","children":{"Select
 Operator":{"expressions:":"rnum (type: int), c1 (type: 
int)","columnExprMap:":{"_col0":"rnum","_col1":"c1"},"outputColumnNames:":["_col0","_col1"],"Statistics:":"Num
 rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"SEL_1
 ","children":{"HashTable Sink Operator":{"keys:":{"0":"_col1 (type: 
int)","1":"_col1 (type: 
int)"},"OperatorId:":"HASHTABLESINK_21"}}}}}},"$hdt$_1:tjoin3":{"TableScan":{"alias:":"tjoin3","columns:":["c1"],"database:":"default","Statistics:":"Num
 rows: 2 Data size: 188 Basic stats: COMPLETE Column stats: 
NONE","table:":"tjoin3","isTempTable:":"false","OperatorId:":"TS_8","children":{"Select
 Operator":{"expressions:":"c1 (type: 
int)","columnExprMap:":{"_col0":"c1"},"outputColumnNames:":["_col0"],"Statistics:":"Num
 rows: 2 Data size: 188 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"SEL_9","children":{"HashTable Sink 
Operator":{"keys:":{"0":"_col2 (type: int)","1":"_col0 (type: 
int)"},"OperatorId:":"HASHTABLESINK_19"}}}}}}}}},"Stage-5":{"Map Reduce":{"Map 
Operator 
Tree:":[{"TableScan":{"alias:":"tjoin1","columns:":["rnum","c1"],"database:":"default","Statistics:":"Num
 rows: 3 Data size: 32 Basic stats: COMPLETE Column stats: 
NONE","table:":"tjoin1","TableScan Vectorization:"
 :{"native:":"true","vectorizationSchemaColumns:":"[0:rnum:int, 1:c1:int, 
2:c2:int, 
3:ROW__ID:struct<transactionid:bigint,bucketid:int,rowid:bigint>]"},"isTempTable:":"false","OperatorId:":"TS_2","children":{"Select
 Operator":{"expressions:":"rnum (type: int), c1 (type: 
int)","columnExprMap:":{"_col0":"rnum","_col1":"c1"},"outputColumnNames:":["_col0","_col1"],"Select
 
Vectorization:":{"className:":"VectorSelectOperator","native:":"true","projectedOutputColumnNums:":"[0,
 1]"},"Statistics:":"Num rows: 3 Data size: 32 Basic stats: COMPLETE Column 
stats: NONE","OperatorId:":"SEL_23","children":{"Map Join 
Operator":{"columnExprMap:":{"_col0":"0:_col0","_col1":"0:_col1","_col2":"1:_col0"},"condition
 map:":[{"":"Right Outer Join 0 to 1"}],"keys:":{"0":"_col1 (type: 
int)","1":"_col1 (type: int)"},"Map Join 
Vectorization:":{"bigTableKeyExpressions:":["col 
1:int"],"bigTableValueExpressions:":["col 
0:int"],"className:":"VectorMapJoinOperator","native:":"false","nativeConditionsMet:":["hive.mapj
 oin.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","Optimized Table and Supports Key Types IS 
true"],"nativeConditionsNotMet:":["hive.execution.engine mr IN [tez, spark] IS 
false"]},"outputColumnNames:":["_col0","_col1","_col2"],"Statistics:":"Num 
rows: 4 Data size: 409 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"MAPJOIN_24","children":{"Select 
Operator":{"expressions:":"_col2 (type: int), _col0 (type: int), _col1 (type: 
int)","columnExprMap:":{"_col0":"_col2","_col1":"_col0","_col2":"_col1"},"outputColumnNames:":["_col0","_col1","_col2"],"Select
 
Vectorization:":{"className:":"VectorSelectOperator","native:":"true","projectedOutputColumnNums:":"[2,
 0, 1]"},"Statistics:":"Num rows: 4 Data size: 409 Basic stats: COMPLETE Column 
stats: NONE","OperatorId:":"SEL_25","children":{"Map Join 
Operator":{"columnExprMap:":{"_col0":"0:_col0","_col1":"0:_col
 1"},"condition map:":[{"":"Left Outer Join 0 to 1"}],"keys:":{"0":"_col2 
(type: int)","1":"_col0 (type: int)"},"Map Join 
Vectorization:":{"bigTableKeyExpressions:":["col 
1:int"],"bigTableValueExpressions:":["col 2:int","col 
0:int"],"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","Optimized Table and Supports Key Types IS 
true"],"nativeConditionsNotMet:":["hive.execution.engine mr IN [tez, spark] IS 
false"]},"outputColumnNames:":["_col0","_col1"],"Statistics:":"Num rows: 4 Data 
size: 449 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"MAPJOIN_26","children":{"File Output 
Operator":{"compressed:":"false","File Sink 
Vectorization:":{"className:":"VectorFileSinkOperator","native:":"false"},"Statistics:":"Num
 rows: 4 Data size: 449 Basic stats: COMPLETE Column st
 ats: 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_27"}}}}}}}}}}}}],"Execution
 mode:":"vectorized","Map 
Vectorization:":{"enabled:":"true","enabledConditionsMet:":["hive.vectorized.use.vectorized.input.format
 IS 
true"],"inputFormatFeatureSupport:":"[]","featureSupportInUse:":"[]","inputFileFormats:":["org.apache.hadoop.hive.ql.io.orc.OrcInputFormat"],"allNative:":"false","usesVectorUDFAdaptor:":"false","vectorized:":"true","rowBatchContext:":{"dataColumnCount:":"3","includeColumns:":"[0,
 
1]","dataColumns:":["rnum:int","c1:int","c2:int"],"partitionColumnCount:":"0","scratchColumnTypeNames:":"[bigint,
 bigint]"}},"Local Work:":{"Map Reduce Local Work":{}}}},"Stage-0":{"Fetch 
Operator":{"limit:":"-1","Processor 
Tree:":{"ListSink":{"OperatorId:":"LIST_SINK_28"}}}}}}
+{"PLAN 
VECTORIZATION":{"enabled":true,"enabledConditionsMet":["hive.vectorized.execution.enabled
 IS true"]},"STAGE DEPENDENCIES":{"Stage-7":{"ROOT 
STAGE":"TRUE"},"Stage-5":{"DEPENDENT STAGES":"Stage-7"},"Stage-0":{"DEPENDENT 
STAGES":"Stage-5"}},"STAGE PLANS":{"Stage-7":{"Map Reduce Local Work":{"Alias 
-> Map Local Tables:":{"$hdt$_0:$hdt$_0:tjoin2":{"Fetch 
Operator":{"limit:":"-1"}},"$hdt$_1:tjoin3":{"Fetch 
Operator":{"limit:":"-1"}}},"Alias -> Map Local Operator 
Tree:":{"$hdt$_0:$hdt$_0:tjoin2":{"TableScan":{"alias:":"tjoin2","columns:":["rnum","c1"],"database:":"default","Statistics:":"Num
 rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: 
NONE","table:":"tjoin2","isTempTable:":"false","OperatorId:":"TS_0","children":{"Select
 Operator":{"expressions:":"rnum (type: int), c1 (type: 
int)","columnExprMap:":{"_col0":"rnum","_col1":"c1"},"outputColumnNames:":["_col0","_col1"],"Statistics:":"Num
 rows: 4 Data size: 372 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"SEL_1
 ","children":{"HashTable Sink Operator":{"keys:":{"0":"_col1 (type: 
int)","1":"_col1 (type: 
int)"},"OperatorId:":"HASHTABLESINK_21"}}}}}},"$hdt$_1:tjoin3":{"TableScan":{"alias:":"tjoin3","columns:":["c1"],"database:":"default","Statistics:":"Num
 rows: 2 Data size: 188 Basic stats: COMPLETE Column stats: 
NONE","table:":"tjoin3","isTempTable:":"false","OperatorId:":"TS_8","children":{"Select
 Operator":{"expressions:":"c1 (type: 
int)","columnExprMap:":{"_col0":"c1"},"outputColumnNames:":["_col0"],"Statistics:":"Num
 rows: 2 Data size: 188 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"SEL_9","children":{"HashTable Sink 
Operator":{"keys:":{"0":"_col2 (type: int)","1":"_col0 (type: 
int)"},"OperatorId:":"HASHTABLESINK_19"}}}}}}}}},"Stage-5":{"Map Reduce":{"Map 
Operator 
Tree:":[{"TableScan":{"alias:":"tjoin1","columns:":["rnum","c1"],"database:":"default","Statistics:":"Num
 rows: 3 Data size: 32 Basic stats: COMPLETE Column stats: 
NONE","table:":"tjoin1","TableScan Vectorization:"
 :{"native:":"true","vectorizationSchemaColumns:":"[0:rnum:int, 1:c1:int, 
2:c2:int, 
3:ROW__ID:struct<transactionid:bigint,bucketid:int,rowid:bigint>]"},"isTempTable:":"false","OperatorId:":"TS_2","children":{"Select
 Operator":{"expressions:":"rnum (type: int), c1 (type: 
int)","columnExprMap:":{"_col0":"rnum","_col1":"c1"},"outputColumnNames:":["_col0","_col1"],"Select
 
Vectorization:":{"className:":"VectorSelectOperator","native:":"true","projectedOutputColumnNums:":"[0,
 1]"},"Statistics:":"Num rows: 3 Data size: 32 Basic stats: COMPLETE Column 
stats: NONE","OperatorId:":"SEL_23","children":{"Map Join 
Operator":{"columnExprMap:":{"_col0":"0:_col0","_col1":"0:_col1","_col2":"1:_col0"},"condition
 map:":[{"":"Right Outer Join 0 to 1"}],"keys:":{"0":"_col1 (type: 
int)","1":"_col1 (type: int)"},"Map Join 
Vectorization:":{"bigTableKeyExpressions:":["col 
1:int"],"bigTableValueExpressions:":["col 
0:int"],"className:":"VectorMapJoinOperator","native:":"false","nativeConditionsMet:":["hive.mapj
 oin.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"],"Statistics:":"Num 
rows: 4 Data size: 409 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"MAPJOIN_24","children":{"Select 
Operator":{"expressions:":"_col2 (type: int), _col0 (type: int), _col1 (type: 
int)","columnExprMap:":{"_col0":"_col2","_col1":"_col0","_col2":"_col1"},"outputColumnNames:":["_col0","_col1","_col2"],"Select
 
Vectorization:":{"className:":"VectorSelectOperator","native:":"true","projectedOutputColumnNums:":"[2,
 0, 1]"},"Statistics:":"Num rows: 4 Data size: 409 Basic stats: COMPLETE Column 
stats: NONE","OperatorId:":"SEL_25","children":{"Map Join 
Operator":{"columnExprMap:":{"_c
 ol0":"0:_col0","_col1":"0:_col1"},"condition map:":[{"":"Left Outer Join 0 to 
1"}],"keys:":{"0":"_col2 (type: int)","1":"_col0 (type: int)"},"Map Join 
Vectorization:":{"bigTableKeyExpressions:":["col 
1:int"],"bigTableValueExpressions:":["col 2:int","col 
0:int"],"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","_col1"],"Statistics:":"Num rows: 4 Data 
size: 449 Basic stats: COMPLETE Column stats: 
NONE","OperatorId:":"MAPJOIN_26","children":{"File Output 
Operator":{"compressed:":"false","File Sink 
Vectorization:":{"className:":"VectorFileSinkOperator","native:":"false"},"Statistics:"
 :"Num rows: 4 Data size: 449 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_27"}}}}}}}}}}}}],"Execution
 mode:":"vectorized","Map 
Vectorization:":{"enabled:":"true","enabledConditionsMet:":["hive.vectorized.use.vectorized.input.format
 IS 
true"],"inputFormatFeatureSupport:":"[]","featureSupportInUse:":"[]","inputFileFormats:":["org.apache.hadoop.hive.ql.io.orc.OrcInputFormat"],"allNative:":"false","usesVectorUDFAdaptor:":"false","vectorized:":"true","rowBatchContext:":{"dataColumnCount:":"3","includeColumns:":"[0,
 
1]","dataColumns:":["rnum:int","c1:int","c2:int"],"partitionColumnCount:":"0","scratchColumnTypeNames:":"[bigint,
 bigint]"}},"Local Work:":{"Map Reduce Local Work":{}}}},"Stage-0":{"Fetch 
Operator":{"limit:":"-1","Processor Tree:":{"ListSink":{"Oper
 atorId:":"LIST_SINK_28"}}}}}}
 PREHOOK: query: select tj1rnum, tj2rnum as rnumt3 from
    (select tjoin1.rnum tj1rnum, tjoin2.rnum tj2rnum, tjoin2.c1 tj2c1 from 
tjoin1 left outer join tjoin2 on tjoin1.c1 = tjoin2.c1 ) tj left outer join 
tjoin3 on tj2c1 = tjoin3.c1
 PREHOOK: type: QUERY

http://git-wip-us.apache.org/repos/asf/hive/blob/1593c10d/ql/src/test/results/clientpositive/vector_outer_join_no_keys.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vector_outer_join_no_keys.q.out 
b/ql/src/test/results/clientpositive/vector_outer_join_no_keys.q.out
new file mode 100644
index 0000000..1dedc13
--- /dev/null
+++ b/ql/src/test/results/clientpositive/vector_outer_join_no_keys.q.out
@@ -0,0 +1,317 @@
+PREHOOK: query: create temporary table foo(x int) stored as orc
+PREHOOK: type: CREATETABLE
+PREHOOK: Output: database:default
+PREHOOK: Output: default@foo
+POSTHOOK: query: create temporary table foo(x int) stored as orc
+POSTHOOK: type: CREATETABLE
+POSTHOOK: Output: database:default
+POSTHOOK: Output: default@foo
+PREHOOK: query: insert into foo values(1),(2)
+PREHOOK: type: QUERY
+PREHOOK: Input: _dummy_database@_dummy_table
+PREHOOK: Output: default@foo
+POSTHOOK: query: insert into foo values(1),(2)
+POSTHOOK: type: QUERY
+POSTHOOK: Input: _dummy_database@_dummy_table
+POSTHOOK: Output: default@foo
+POSTHOOK: Lineage: foo.x SCRIPT []
+PREHOOK: query: create temporary table bar(y int) stored as orc
+PREHOOK: type: CREATETABLE
+PREHOOK: Output: database:default
+PREHOOK: Output: default@bar
+POSTHOOK: query: create temporary table bar(y int) stored as orc
+POSTHOOK: type: CREATETABLE
+POSTHOOK: Output: database:default
+POSTHOOK: Output: default@bar
+Warning: Map Join MAPJOIN[15][bigTable=?] in task 'Stage-2:MAPRED' is a cross 
product
+PREHOOK: query: explain vectorization detail
+select count(*) from bar right outer join foo
+PREHOOK: type: QUERY
+POSTHOOK: query: explain vectorization detail
+select count(*) from bar right outer join foo
+POSTHOOK: type: QUERY
+PLAN VECTORIZATION:
+  enabled: true
+  enabledConditionsMet: [hive.vectorized.execution.enabled IS true]
+
+STAGE DEPENDENCIES:
+  Stage-5 is a root stage
+  Stage-2 depends on stages: Stage-5
+  Stage-0 depends on stages: Stage-2
+
+STAGE PLANS:
+  Stage: Stage-5
+    Map Reduce Local Work
+      Alias -> Map Local Tables:
+        $hdt$_0:bar 
+          Fetch Operator
+            limit: -1
+      Alias -> Map Local Operator Tree:
+        $hdt$_0:bar 
+          TableScan
+            alias: bar
+            Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column 
stats: COMPLETE
+            Select Operator
+              Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column 
stats: COMPLETE
+              HashTable Sink Operator
+                filter predicates:
+                  0 
+                  1 {true}
+                keys:
+                  0 
+                  1 
+
+  Stage: Stage-2
+    Map Reduce
+      Map Operator Tree:
+          TableScan
+            alias: foo
+            Statistics: Num rows: 2 Data size: 8 Basic stats: COMPLETE Column 
stats: COMPLETE
+            TableScan Vectorization:
+                native: true
+                vectorizationSchemaColumns: [0:x:int, 
1:ROW__ID:struct<transactionid:bigint,bucketid:int,rowid:bigint>]
+            Select Operator
+              Select Vectorization:
+                  className: VectorSelectOperator
+                  native: true
+                  projectedOutputColumnNums: []
+              Statistics: Num rows: 2 Data size: 8 Basic stats: COMPLETE 
Column stats: COMPLETE
+              Map Join Operator
+                condition map:
+                     Right Outer Join 0 to 1
+                filter predicates:
+                  0 
+                  1 {true}
+                keys:
+                  0 
+                  1 
+                Map Join Vectorization:
+                    className: VectorMapJoinOuterFilteredOperator
+                    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, 
Optimized Table and Supports Key Types IS true
+                    nativeConditionsNotMet: hive.execution.engine mr IN [tez, 
spark] IS false, Outer Join has keys IS false
+                Statistics: Num rows: 2 Data size: 10 Basic stats: PARTIAL 
Column stats: NONE
+                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: PARTIAL 
Column stats: NONE
+                  Reduce Output Operator
+                    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: PARTIAL 
Column stats: NONE
+                    value expressions: _col0 (type: bigint)
+      Execution mode: vectorized
+      Map Vectorization:
+          enabled: true
+          enabledConditionsMet: hive.vectorized.use.vectorized.input.format IS 
true
+          inputFormatFeatureSupport: []
+          featureSupportInUse: []
+          inputFileFormats: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat
+          allNative: false
+          usesVectorUDFAdaptor: false
+          vectorized: true
+          rowBatchContext:
+              dataColumnCount: 1
+              includeColumns: []
+              dataColumns: x:int
+              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
+          outputColumnNames: _col0
+          Statistics: Num rows: 1 Data size: 8 Basic stats: PARTIAL Column 
stats: NONE
+          File Output Operator
+            compressed: false
+            Statistics: Num rows: 1 Data size: 8 Basic stats: PARTIAL 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
+
+  Stage: Stage-0
+    Fetch Operator
+      limit: -1
+      Processor Tree:
+        ListSink
+
+Warning: Map Join MAPJOIN[15][bigTable=?] in task 'Stage-2:MAPRED' is a cross 
product
+PREHOOK: query: -- = 2
+
+select count(*) from bar right outer join foo
+PREHOOK: type: QUERY
+PREHOOK: Input: default@bar
+PREHOOK: Input: default@foo
+#### A masked pattern was here ####
+POSTHOOK: query: -- = 2
+
+select count(*) from bar right outer join foo
+POSTHOOK: type: QUERY
+POSTHOOK: Input: default@bar
+POSTHOOK: Input: default@foo
+#### A masked pattern was here ####
+2
+Warning: Map Join MAPJOIN[15][bigTable=?] in task 'Stage-2:MAPRED' is a cross 
product
+PREHOOK: query: -- = 2
+
+explain vectorization detail
+select count(*) from bar, foo
+PREHOOK: type: QUERY
+POSTHOOK: query: -- = 2
+
+explain vectorization detail
+select count(*) from bar, foo
+POSTHOOK: type: QUERY
+PLAN VECTORIZATION:
+  enabled: true
+  enabledConditionsMet: [hive.vectorized.execution.enabled IS true]
+
+STAGE DEPENDENCIES:
+  Stage-5 is a root stage
+  Stage-2 depends on stages: Stage-5
+  Stage-0 depends on stages: Stage-2
+
+STAGE PLANS:
+  Stage: Stage-5
+    Map Reduce Local Work
+      Alias -> Map Local Tables:
+        $hdt$_0:bar 
+          Fetch Operator
+            limit: -1
+      Alias -> Map Local Operator Tree:
+        $hdt$_0:bar 
+          TableScan
+            alias: bar
+            Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column 
stats: COMPLETE
+            Select Operator
+              Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL Column 
stats: COMPLETE
+              HashTable Sink Operator
+                keys:
+                  0 
+                  1 
+
+  Stage: Stage-2
+    Map Reduce
+      Map Operator Tree:
+          TableScan
+            alias: foo
+            Statistics: Num rows: 2 Data size: 8 Basic stats: COMPLETE Column 
stats: COMPLETE
+            TableScan Vectorization:
+                native: true
+                vectorizationSchemaColumns: [0:x:int, 
1:ROW__ID:struct<transactionid:bigint,bucketid:int,rowid:bigint>]
+            Select Operator
+              Select Vectorization:
+                  className: VectorSelectOperator
+                  native: true
+                  projectedOutputColumnNums: []
+              Statistics: Num rows: 2 Data size: 8 Basic stats: COMPLETE 
Column stats: COMPLETE
+              Map Join Operator
+                condition map:
+                     Inner Join 0 to 1
+                keys:
+                  0 
+                  1 
+                Map Join Vectorization:
+                    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, 
Optimized Table and Supports Key Types IS true
+                    nativeConditionsNotMet: hive.execution.engine mr IN [tez, 
spark] IS false
+                Statistics: Num rows: 2 Data size: 10 Basic stats: PARTIAL 
Column stats: NONE
+                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: PARTIAL 
Column stats: NONE
+                  Reduce Output Operator
+                    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: PARTIAL 
Column stats: NONE
+                    value expressions: _col0 (type: bigint)
+      Execution mode: vectorized
+      Map Vectorization:
+          enabled: true
+          enabledConditionsMet: hive.vectorized.use.vectorized.input.format IS 
true
+          inputFormatFeatureSupport: []
+          featureSupportInUse: []
+          inputFileFormats: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat
+          allNative: false
+          usesVectorUDFAdaptor: false
+          vectorized: true
+          rowBatchContext:
+              dataColumnCount: 1
+              includeColumns: []
+              dataColumns: x:int
+              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
+          outputColumnNames: _col0
+          Statistics: Num rows: 1 Data size: 8 Basic stats: PARTIAL Column 
stats: NONE
+          File Output Operator
+            compressed: false
+            Statistics: Num rows: 1 Data size: 8 Basic stats: PARTIAL 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
+
+  Stage: Stage-0
+    Fetch Operator
+      limit: -1
+      Processor Tree:
+        ListSink
+
+Warning: Map Join MAPJOIN[15][bigTable=?] in task 'Stage-2:MAPRED' is a cross 
product
+PREHOOK: query: -- = 0 
+
+select count(*) from bar, foo
+PREHOOK: type: QUERY
+PREHOOK: Input: default@bar
+PREHOOK: Input: default@foo
+#### A masked pattern was here ####
+POSTHOOK: query: -- = 0 
+
+select count(*) from bar, foo
+POSTHOOK: type: QUERY
+POSTHOOK: Input: default@bar
+POSTHOOK: Input: default@foo
+#### A masked pattern was here ####
+0

Reply via email to