[03/51] [partial] hive git commit: HIVE-18778: Needs to capture input/output entities in explain (Daniel Dai, reviewed by Thejas Nair)

2018-09-29 Thread daijy
http://git-wip-us.apache.org/repos/asf/hive/blob/c39b5d1b/ql/src/test/results/clientpositive/llap/vector_partitioned_date_time.q.out
--
diff --git 
a/ql/src/test/results/clientpositive/llap/vector_partitioned_date_time.q.out 
b/ql/src/test/results/clientpositive/llap/vector_partitioned_date_time.q.out
index 57a1ea7..661800c 100644
--- a/ql/src/test/results/clientpositive/llap/vector_partitioned_date_time.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_partitioned_date_time.q.out
@@ -247,9 +247,13 @@ POSTHOOK: Input: default@flights_tiny_orc
 PREHOOK: query: explain vectorization expression
 select * from flights_tiny_orc sort by fl_num, fl_date limit 25
 PREHOOK: type: QUERY
+PREHOOK: Input: default@flights_tiny_orc
+ A masked pattern was here 
 POSTHOOK: query: explain vectorization expression
 select * from flights_tiny_orc sort by fl_num, fl_date limit 25
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@flights_tiny_orc
+ A masked pattern was here 
 PLAN VECTORIZATION:
   enabled: true
   enabledConditionsMet: [hive.vectorized.execution.enabled IS true]
@@ -412,9 +416,13 @@ ChicagoNew York2010-10-27  2010-10-27 
07:00:00 -11.0   897
 PREHOOK: query: explain vectorization expression
 select fl_date, count(*) from flights_tiny_orc group by fl_date
 PREHOOK: type: QUERY
+PREHOOK: Input: default@flights_tiny_orc
+ A masked pattern was here 
 POSTHOOK: query: explain vectorization expression
 select fl_date, count(*) from flights_tiny_orc group by fl_date
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@flights_tiny_orc
+ A masked pattern was here 
 PLAN VECTORIZATION:
   enabled: true
   enabledConditionsMet: [hive.vectorized.execution.enabled IS true]
@@ -923,9 +931,37 @@ POSTHOOK: Input: 
default@flights_tiny_orc_partitioned_date@fl_date=2010-10-31
 PREHOOK: query: explain vectorization expression
 select * from flights_tiny_orc_partitioned_date
 PREHOOK: type: QUERY
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-20
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-21
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-22
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-23
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-24
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-25
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-26
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-27
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-28
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-29
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-30
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-31
+ A masked pattern was here 
 POSTHOOK: query: explain vectorization expression
 select * from flights_tiny_orc_partitioned_date
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-20
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-21
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-22
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-23
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-24
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-25
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-26
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-27
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-28
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-29
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-30
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-31
+ A masked pattern was here 
 PLAN VECTORIZATION:
   enabled: true
   enabledConditionsMet: [hive.vectorized.execution.enabled IS true]
@@ -1154,9 +1190,37 @@ Washington   New York2010-10-31 07:00:00 
-18.0   72822010-10-31
 PREHOOK: query: explain vectorization expression
 select * from flights_tiny_orc_partitioned_date sort by fl_num, fl_date limit 
25
 PREHOOK: type: QUERY
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-20
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-21
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-22
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-23
+PREHOOK: Input: default@f

[03/51] [partial] hive git commit: HIVE-18778: Needs to capture input/output entities in explain (Daniel Dai, reviewed by Thejas Nair)

2018-09-27 Thread daijy
http://git-wip-us.apache.org/repos/asf/hive/blob/b356aae0/ql/src/test/results/clientpositive/llap/vector_partitioned_date_time.q.out
--
diff --git 
a/ql/src/test/results/clientpositive/llap/vector_partitioned_date_time.q.out 
b/ql/src/test/results/clientpositive/llap/vector_partitioned_date_time.q.out
index 57a1ea7..661800c 100644
--- a/ql/src/test/results/clientpositive/llap/vector_partitioned_date_time.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_partitioned_date_time.q.out
@@ -247,9 +247,13 @@ POSTHOOK: Input: default@flights_tiny_orc
 PREHOOK: query: explain vectorization expression
 select * from flights_tiny_orc sort by fl_num, fl_date limit 25
 PREHOOK: type: QUERY
+PREHOOK: Input: default@flights_tiny_orc
+ A masked pattern was here 
 POSTHOOK: query: explain vectorization expression
 select * from flights_tiny_orc sort by fl_num, fl_date limit 25
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@flights_tiny_orc
+ A masked pattern was here 
 PLAN VECTORIZATION:
   enabled: true
   enabledConditionsMet: [hive.vectorized.execution.enabled IS true]
@@ -412,9 +416,13 @@ ChicagoNew York2010-10-27  2010-10-27 
07:00:00 -11.0   897
 PREHOOK: query: explain vectorization expression
 select fl_date, count(*) from flights_tiny_orc group by fl_date
 PREHOOK: type: QUERY
+PREHOOK: Input: default@flights_tiny_orc
+ A masked pattern was here 
 POSTHOOK: query: explain vectorization expression
 select fl_date, count(*) from flights_tiny_orc group by fl_date
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@flights_tiny_orc
+ A masked pattern was here 
 PLAN VECTORIZATION:
   enabled: true
   enabledConditionsMet: [hive.vectorized.execution.enabled IS true]
@@ -923,9 +931,37 @@ POSTHOOK: Input: 
default@flights_tiny_orc_partitioned_date@fl_date=2010-10-31
 PREHOOK: query: explain vectorization expression
 select * from flights_tiny_orc_partitioned_date
 PREHOOK: type: QUERY
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-20
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-21
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-22
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-23
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-24
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-25
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-26
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-27
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-28
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-29
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-30
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-31
+ A masked pattern was here 
 POSTHOOK: query: explain vectorization expression
 select * from flights_tiny_orc_partitioned_date
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-20
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-21
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-22
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-23
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-24
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-25
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-26
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-27
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-28
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-29
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-30
+POSTHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-31
+ A masked pattern was here 
 PLAN VECTORIZATION:
   enabled: true
   enabledConditionsMet: [hive.vectorized.execution.enabled IS true]
@@ -1154,9 +1190,37 @@ Washington   New York2010-10-31 07:00:00 
-18.0   72822010-10-31
 PREHOOK: query: explain vectorization expression
 select * from flights_tiny_orc_partitioned_date sort by fl_num, fl_date limit 
25
 PREHOOK: type: QUERY
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-20
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-21
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-22
+PREHOOK: Input: default@flights_tiny_orc_partitioned_date@fl_date=2010-10-23
+PREHOOK: Input: default@f

[03/51] [partial] hive git commit: HIVE-18778: Needs to capture input/output entities in explain (Daniel Dai, reviewed by Thejas Nair)

2018-09-24 Thread daijy
http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/llap/vector_inner_join.q.out
--
diff --git a/ql/src/test/results/clientpositive/llap/vector_inner_join.q.out 
b/ql/src/test/results/clientpositive/llap/vector_inner_join.q.out
index 3537c40..53d5d8b 100644
--- a/ql/src/test/results/clientpositive/llap/vector_inner_join.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_inner_join.q.out
@@ -35,9 +35,15 @@ POSTHOOK: Lineage: orc_table_2a.c SCRIPT []
 PREHOOK: query: explain vectorization detail
 select t1.a from orc_table_2a t2 join orc_table_1a t1 on t1.a = t2.c where 
t1.a > 2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@orc_table_1a
+PREHOOK: Input: default@orc_table_2a
+ A masked pattern was here 
 POSTHOOK: query: explain vectorization detail
 select t1.a from orc_table_2a t2 join orc_table_1a t1 on t1.a = t2.c where 
t1.a > 2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@orc_table_1a
+POSTHOOK: Input: default@orc_table_2a
+ A masked pattern was here 
 PLAN VECTORIZATION:
   enabled: true
   enabledConditionsMet: [hive.vectorized.execution.enabled IS true]
@@ -204,9 +210,15 @@ POSTHOOK: Input: default@orc_table_2a
 PREHOOK: query: explain vectorization detail
 select t2.c from orc_table_2a t2 left semi join orc_table_1a t1 on t1.a = t2.c 
where t2.c > 2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@orc_table_1a
+PREHOOK: Input: default@orc_table_2a
+ A masked pattern was here 
 POSTHOOK: query: explain vectorization detail
 select t2.c from orc_table_2a t2 left semi join orc_table_1a t1 on t1.a = t2.c 
where t2.c > 2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@orc_table_1a
+POSTHOOK: Input: default@orc_table_2a
+ A masked pattern was here 
 PLAN VECTORIZATION:
   enabled: true
   enabledConditionsMet: [hive.vectorized.execution.enabled IS true]
@@ -414,9 +426,15 @@ POSTHOOK: Lineage: orc_table_2b.v2 SCRIPT []
 PREHOOK: query: explain vectorization detail
 select t1.v1, t1.a from orc_table_2b t2 join orc_table_1b t1 on t1.a = t2.c 
where t1.a > 2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@orc_table_1b
+PREHOOK: Input: default@orc_table_2b
+ A masked pattern was here 
 POSTHOOK: query: explain vectorization detail
 select t1.v1, t1.a from orc_table_2b t2 join orc_table_1b t1 on t1.a = t2.c 
where t1.a > 2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@orc_table_1b
+POSTHOOK: Input: default@orc_table_2b
+ A masked pattern was here 
 PLAN VECTORIZATION:
   enabled: true
   enabledConditionsMet: [hive.vectorized.execution.enabled IS true]
@@ -586,9 +604,15 @@ three  3
 PREHOOK: query: explain vectorization detail
 select t1.v1, t1.a, t2.c, t2.v2 from orc_table_2b t2 join orc_table_1b t1 on 
t1.a = t2.c where t1.a > 2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@orc_table_1b
+PREHOOK: Input: default@orc_table_2b
+ A masked pattern was here 
 POSTHOOK: query: explain vectorization detail
 select t1.v1, t1.a, t2.c, t2.v2 from orc_table_2b t2 join orc_table_1b t1 on 
t1.a = t2.c where t1.a > 2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@orc_table_1b
+POSTHOOK: Input: default@orc_table_2b
+ A masked pattern was here 
 PLAN VECTORIZATION:
   enabled: true
   enabledConditionsMet: [hive.vectorized.execution.enabled IS true]
@@ -751,9 +775,15 @@ three  3   3   THREE
 PREHOOK: query: explain vectorization detail
 select t1.v1, t1.a*2, t2.c*5, t2.v2 from orc_table_2b t2 join orc_table_1b t1 
on t1.a = t2.c where t1.a > 2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@orc_table_1b
+PREHOOK: Input: default@orc_table_2b
+ A masked pattern was here 
 POSTHOOK: query: explain vectorization detail
 select t1.v1, t1.a*2, t2.c*5, t2.v2 from orc_table_2b t2 join orc_table_1b t1 
on t1.a = t2.c where t1.a > 2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@orc_table_1b
+POSTHOOK: Input: default@orc_table_2b
+ A masked pattern was here 
 PLAN VECTORIZATION:
   enabled: true
   enabledConditionsMet: [hive.vectorized.execution.enabled IS true]
@@ -925,9 +955,15 @@ three  6   15  THREE
 PREHOOK: query: explain vectorization detail
 select t1.v1, t2.v2, t2.c from orc_table_2b t2 join orc_table_1b t1 on t1.a = 
t2.c where t1.a > 2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@orc_table_1b
+PREHOOK: Input: default@orc_table_2b
+ A masked pattern was here 
 POSTHOOK: query: explain vectorization detail
 select t1.v1, t2.v2, t2.c from orc_table_2b t2 join orc_table_1b t1 on t1.a = 
t2.c where t1.a > 2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@orc_table_1b
+POSTHOOK: Input: default@orc_table_2b
+ A masked pattern was here 
 PLAN VECTORIZATION:
   enabled: true
   enabledConditionsMet: [hive.vectorized.execution.enabled IS true]
@@ -1098,9 +1134,15 @@ threeTHREE   3
 PREHOOK: query: explain vectorization detail
 select t1.a, t1.v1, t2.v2 from orc_table_2b t2 join o