hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject [49/51] [partial] hive git commit: HIVE-18778: Needs to capture input/output entities in explain (Daniel Dai, reviewed by Thejas Nair)
Date Mon, 24 Sep 2018 16:40:57 GMT
http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientnegative/spark/spark_stage_max_tasks.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/spark/spark_stage_max_tasks.q.out b/ql/src/test/results/clientnegative/spark/spark_stage_max_tasks.q.out
index a3a264d..97780ff 100644
--- a/ql/src/test/results/clientnegative/spark/spark_stage_max_tasks.q.out
+++ b/ql/src/test/results/clientnegative/spark/spark_stage_max_tasks.q.out
@@ -2,10 +2,14 @@ PREHOOK: query: EXPLAIN
 SELECT TRANSFORM(key) USING 'python sleep.py' AS k
   FROM (SELECT key FROM src1 GROUP BY key) a ORDER BY k
 PREHOOK: type: QUERY
+PREHOOK: Input: default@src1
+#### A masked pattern was here ####
 POSTHOOK: query: EXPLAIN
 SELECT TRANSFORM(key) USING 'python sleep.py' AS k
   FROM (SELECT key FROM src1 GROUP BY key) a ORDER BY k
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@src1
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientnegative/spark/spark_task_failure.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/spark/spark_task_failure.q.out b/ql/src/test/results/clientnegative/spark/spark_task_failure.q.out
index 1e68002..774d9d6 100644
--- a/ql/src/test/results/clientnegative/spark/spark_task_failure.q.out
+++ b/ql/src/test/results/clientnegative/spark/spark_task_failure.q.out
@@ -2,10 +2,14 @@ PREHOOK: query: EXPLAIN
 SELECT TRANSFORM(src.key, src.value) USING 'error_script' AS (tkey, tvalue)
 FROM src
 PREHOOK: type: QUERY
+PREHOOK: Input: default@src
+#### A masked pattern was here ####
 POSTHOOK: query: EXPLAIN
 SELECT TRANSFORM(src.key, src.value) USING 'error_script' AS (tkey, tvalue)
 FROM src
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@src
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientnegative/udf_assert_true.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/udf_assert_true.q.out b/ql/src/test/results/clientnegative/udf_assert_true.q.out
index 7fc50d6..81a385a 100644
--- a/ql/src/test/results/clientnegative/udf_assert_true.q.out
+++ b/ql/src/test/results/clientnegative/udf_assert_true.q.out
@@ -5,8 +5,12 @@ POSTHOOK: type: DESCFUNCTION
 ASSERT_TRUE(condition) - Throw an exception if 'condition' is not true.
 PREHOOK: query: EXPLAIN SELECT ASSERT_TRUE(x > 0) FROM src LATERAL VIEW EXPLODE(ARRAY(1, 2)) a AS x LIMIT 2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@src
+#### A masked pattern was here ####
 POSTHOOK: query: EXPLAIN SELECT ASSERT_TRUE(x > 0) FROM src LATERAL VIEW EXPLODE(ARRAY(1, 2)) a AS x LIMIT 2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@src
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -82,8 +86,12 @@ NULL
 NULL
 PREHOOK: query: EXPLAIN SELECT ASSERT_TRUE(x < 2) FROM src LATERAL VIEW EXPLODE(ARRAY(1, 2)) a AS x LIMIT 2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@src
+#### A masked pattern was here ####
 POSTHOOK: query: EXPLAIN SELECT ASSERT_TRUE(x < 2) FROM src LATERAL VIEW EXPLODE(ARRAY(1, 2)) a AS x LIMIT 2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@src
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientnegative/udf_assert_true2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/udf_assert_true2.q.out b/ql/src/test/results/clientnegative/udf_assert_true2.q.out
index f061a92..dca3f2d 100644
--- a/ql/src/test/results/clientnegative/udf_assert_true2.q.out
+++ b/ql/src/test/results/clientnegative/udf_assert_true2.q.out
@@ -1,7 +1,11 @@
 PREHOOK: query: EXPLAIN SELECT 1 + ASSERT_TRUE(x < 2) FROM src LATERAL VIEW EXPLODE(ARRAY(1, 2)) a AS x LIMIT 2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@src
+#### A masked pattern was here ####
 POSTHOOK: query: EXPLAIN SELECT 1 + ASSERT_TRUE(x < 2) FROM src LATERAL VIEW EXPLODE(ARRAY(1, 2)) a AS x LIMIT 2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@src
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/acid_mapjoin.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/acid_mapjoin.q.out b/ql/src/test/results/clientpositive/acid_mapjoin.q.out
index 40ea74b..0fb3233 100644
--- a/ql/src/test/results/clientpositive/acid_mapjoin.q.out
+++ b/ql/src/test/results/clientpositive/acid_mapjoin.q.out
@@ -61,9 +61,15 @@ POSTHOOK: Output: default@acid1
 PREHOOK: query: explain
 select count(*) from acid1 join acid2 on acid1.key = acid2.key
 PREHOOK: type: QUERY
+PREHOOK: Input: default@acid1
+PREHOOK: Input: default@acid2
+#### A masked pattern was here ####
 POSTHOOK: query: explain
 select count(*) from acid1 join acid2 on acid1.key = acid2.key
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@acid1
+POSTHOOK: Input: default@acid2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-5 is a root stage
   Stage-2 depends on stages: Stage-5

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/acid_nullscan.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/acid_nullscan.q.out b/ql/src/test/results/clientpositive/acid_nullscan.q.out
index ceb1029..bcc03be 100644
--- a/ql/src/test/results/clientpositive/acid_nullscan.q.out
+++ b/ql/src/test/results/clientpositive/acid_nullscan.q.out
@@ -29,9 +29,13 @@ POSTHOOK: Lineage: acid_vectorized_n1.b SCRIPT []
 PREHOOK: query: explain extended
 select sum(a) from acid_vectorized_n1 where false
 PREHOOK: type: QUERY
+PREHOOK: Input: default@acid_vectorized_n1
+#### A masked pattern was here ####
 POSTHOOK: query: explain extended
 select sum(a) from acid_vectorized_n1 where false
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@acid_vectorized_n1
+#### A masked pattern was here ####
 OPTIMIZED SQL: SELECT SUM(`a`) AS `$f0`
 FROM `default`.`acid_vectorized_n1`
 WHERE FALSE

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/acid_stats.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/acid_stats.q.out b/ql/src/test/results/clientpositive/acid_stats.q.out
index 02dee99..73333d2 100644
--- a/ql/src/test/results/clientpositive/acid_stats.q.out
+++ b/ql/src/test/results/clientpositive/acid_stats.q.out
@@ -18,8 +18,12 @@ POSTHOOK: Lineage: stats_part PARTITION(p=101).key SCRIPT []
 POSTHOOK: Lineage: stats_part PARTITION(p=101).value SCRIPT []
 PREHOOK: query: explain select count(key) from stats_part
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key) from stats_part
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -42,8 +46,12 @@ POSTHOOK: Lineage: stats_part PARTITION(p=102).key SCRIPT []
 POSTHOOK: Lineage: stats_part PARTITION(p=102).value SCRIPT []
 PREHOOK: query: explain select count(key) from stats_part
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key) from stats_part
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -64,8 +72,12 @@ POSTHOOK: Input: default@stats_part
 POSTHOOK: Output: default@stats_part@p=102
 PREHOOK: query: explain select count(key) from stats_part
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key) from stats_part
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/acid_stats2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/acid_stats2.q.out b/ql/src/test/results/clientpositive/acid_stats2.q.out
index ccd8999..dbc35fd 100644
--- a/ql/src/test/results/clientpositive/acid_stats2.q.out
+++ b/ql/src/test/results/clientpositive/acid_stats2.q.out
@@ -18,8 +18,12 @@ POSTHOOK: Lineage: stats3.key SCRIPT []
 POSTHOOK: Lineage: stats3.value SCRIPT []
 PREHOOK: query: explain select count(*) from stats3
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats3
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from stats3
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats3
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -51,8 +55,12 @@ POSTHOOK: Lineage: stats3.key SCRIPT []
 POSTHOOK: Lineage: stats3.value SCRIPT []
 PREHOOK: query: explain select count(*) from stats3
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats3
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from stats3
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats3
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -82,8 +90,12 @@ POSTHOOK: Input: default@stats3
 POSTHOOK: Output: default@stats3
 PREHOOK: query: explain select count(*) from stats3
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats3
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from stats3
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats3
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -113,8 +125,12 @@ POSTHOOK: Input: default@stats3
 POSTHOOK: Output: default@stats3
 PREHOOK: query: explain select count(*) from stats3
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats3
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from stats3
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats3
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -144,8 +160,12 @@ POSTHOOK: Input: default@stats3
 POSTHOOK: Output: default@stats3
 PREHOOK: query: explain select count(*) from stats3
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats3
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from stats3
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats3
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -175,8 +195,12 @@ POSTHOOK: Input: default@stats3
 POSTHOOK: Output: default@stats3
 PREHOOK: query: explain select count(*) from stats3
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats3
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from stats3
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats3
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -206,8 +230,12 @@ POSTHOOK: Input: default@stats3
 POSTHOOK: Output: default@stats3
 PREHOOK: query: explain select count(*) from stats3
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats3
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from stats3
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats3
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -374,8 +402,12 @@ Storage Desc Params:
 	serialization.format	1                   
 PREHOOK: query: explain select count(*) from stats4
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats4
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from stats4
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats4
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -523,8 +555,12 @@ Storage Desc Params:
 	serialization.format	1                   
 PREHOOK: query: explain select count(*) from stats4
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats4
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from stats4
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats4
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -546,8 +582,12 @@ POSTHOOK: Input: default@stats4
 2
 PREHOOK: query: explain select count(*) from stats4 where ds = 'tomorrow'
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats4
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from stats4 where ds = 'tomorrow'
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats4
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -695,8 +735,12 @@ Storage Desc Params:
 	serialization.format	1                   
 PREHOOK: query: explain select count(*) from stats4
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats4
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from stats4
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats4
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -718,8 +762,12 @@ POSTHOOK: Input: default@stats4
 1
 PREHOOK: query: explain select count(*) from stats4 where ds = 'tomorrow'
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats4
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from stats4 where ds = 'tomorrow'
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats4
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/acid_stats3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/acid_stats3.q.out b/ql/src/test/results/clientpositive/acid_stats3.q.out
index ef4d1c8..2fd9c1c 100644
--- a/ql/src/test/results/clientpositive/acid_stats3.q.out
+++ b/ql/src/test/results/clientpositive/acid_stats3.q.out
@@ -18,8 +18,12 @@ POSTHOOK: Lineage: stats_nonpart.key SCRIPT []
 POSTHOOK: Lineage: stats_nonpart.value SCRIPT []
 PREHOOK: query: explain select count(key) from stats_nonpart
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_nonpart
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key) from stats_nonpart
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_nonpart
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -38,8 +42,12 @@ POSTHOOK: type: TRUNCATETABLE
 POSTHOOK: Output: default@stats_nonpart
 PREHOOK: query: explain select count(key) from stats_nonpart
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_nonpart
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key) from stats_nonpart
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_nonpart
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -97,8 +105,12 @@ POSTHOOK: Output: default@stats_nonpart
 #### A masked pattern was here ####
 PREHOOK: query: explain select count(key) from stats_nonpart
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_nonpart
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key) from stats_nonpart
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_nonpart
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -157,8 +169,12 @@ POSTHOOK: Lineage: stats_part PARTITION(p=103).key SCRIPT []
 POSTHOOK: Lineage: stats_part PARTITION(p=103).value SCRIPT []
 PREHOOK: query: explain select count(key) from stats_part where p = 101
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key) from stats_part where p = 101
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -177,8 +193,12 @@ POSTHOOK: type: TRUNCATETABLE
 POSTHOOK: Output: default@stats_part@p=101
 PREHOOK: query: explain select count(key) from stats_part where p = 102
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key) from stats_part where p = 102
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -191,8 +211,18 @@ STAGE PLANS:
 
 PREHOOK: query: explain select count(key) from stats_part
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_part
+PREHOOK: Input: default@stats_part@p=101
+PREHOOK: Input: default@stats_part@p=102
+PREHOOK: Input: default@stats_part@p=103
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key) from stats_part
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_part
+POSTHOOK: Input: default@stats_part@p=101
+POSTHOOK: Input: default@stats_part@p=102
+POSTHOOK: Input: default@stats_part@p=103
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -248,8 +278,12 @@ POSTHOOK: Input: default@stats_part
 POSTHOOK: Output: default@stats_part@p=101
 PREHOOK: query: explain select count(key) from stats_part
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key) from stats_part
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -286,8 +320,16 @@ POSTHOOK: Output: default@stats_part@p=103
 #### A masked pattern was here ####
 PREHOOK: query: explain select count(key) from stats_part
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_part
+PREHOOK: Input: default@stats_part@p=102
+PREHOOK: Input: default@stats_part@p=103
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key) from stats_part
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_part
+POSTHOOK: Input: default@stats_part@p=102
+POSTHOOK: Input: default@stats_part@p=103
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/acid_stats4.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/acid_stats4.q.out b/ql/src/test/results/clientpositive/acid_stats4.q.out
index c22bf96..d317ed0 100644
--- a/ql/src/test/results/clientpositive/acid_stats4.q.out
+++ b/ql/src/test/results/clientpositive/acid_stats4.q.out
@@ -18,8 +18,12 @@ POSTHOOK: Lineage: stats_nonpart.key SCRIPT []
 POSTHOOK: Lineage: stats_nonpart.value SCRIPT []
 PREHOOK: query: explain select count(key) from stats_nonpart
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_nonpart
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key) from stats_nonpart
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_nonpart
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -40,8 +44,12 @@ POSTHOOK: Input: default@stats_nonpart
 POSTHOOK: Output: default@stats_nonpart
 PREHOOK: query: explain select count(key2) from stats_nonpart
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_nonpart
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key2) from stats_nonpart
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_nonpart
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -89,8 +97,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select count(value) from stats_nonpart
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_nonpart
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(value) from stats_nonpart
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_nonpart
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -113,8 +125,12 @@ POSTHOOK: Output: default@stats_nonpart
 #### A masked pattern was here ####
 PREHOOK: query: explain select count(key2) from stats_nonpart
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_nonpart
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key2) from stats_nonpart
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_nonpart
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -136,8 +152,12 @@ POSTHOOK: Output: default@stats_nonpart
 POSTHOOK: Output: default@stats_nonpart2
 PREHOOK: query: explain select count(key2) from stats_nonpart2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_nonpart2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key2) from stats_nonpart2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_nonpart2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -160,8 +180,12 @@ POSTHOOK: Output: default@stats_nonpart2
 #### A masked pattern was here ####
 PREHOOK: query: explain select count(key2) from stats_nonpart2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_nonpart2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key2) from stats_nonpart2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_nonpart2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -198,8 +222,12 @@ POSTHOOK: Input: default@stats_nonpart2
 POSTHOOK: Output: default@stats_nonpart2
 PREHOOK: query: explain select count(key2) from stats_nonpart2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_nonpart2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key2) from stats_nonpart2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_nonpart2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -221,8 +249,12 @@ POSTHOOK: Output: default@stats_nonpart2
 #### A masked pattern was here ####
 PREHOOK: query: explain select count(key2) from stats_nonpart2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_nonpart2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key2) from stats_nonpart2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_nonpart2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -280,8 +312,12 @@ POSTHOOK: Lineage: stats_nonpart2.key2 SCRIPT []
 POSTHOOK: Lineage: stats_nonpart2.value SCRIPT []
 PREHOOK: query: explain select count(key2) from stats_nonpart2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_nonpart2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key2) from stats_nonpart2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_nonpart2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -302,8 +338,12 @@ POSTHOOK: query: alter table stats_nonpart2 drop constraint primary_key
 POSTHOOK: type: ALTERTABLE_DROPCONSTRAINT
 PREHOOK: query: explain select count(key2) from stats_nonpart2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_nonpart2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key2) from stats_nonpart2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_nonpart2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -324,8 +364,12 @@ POSTHOOK: Input: default@stats_nonpart2
 POSTHOOK: Output: default@stats_nonpart2
 PREHOOK: query: explain select count(key2) from stats_nonpart2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_nonpart2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key2) from stats_nonpart2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_nonpart2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -348,8 +392,12 @@ POSTHOOK: Lineage: stats_nonpart2.key2 SCRIPT []
 POSTHOOK: Lineage: stats_nonpart2.value SCRIPT []
 PREHOOK: query: explain select count(key2) from stats_nonpart2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_nonpart2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key2) from stats_nonpart2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_nonpart2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -415,8 +463,12 @@ POSTHOOK: Input: default@stats_part
 POSTHOOK: Output: default@stats_part
 PREHOOK: query: explain select count(key) from stats_part
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key) from stats_part
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -451,8 +503,12 @@ POSTHOOK: Output: default@stats_part@p=103
 #### A masked pattern was here ####
 PREHOOK: query: explain select count(key) from stats_part
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key) from stats_part
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -475,8 +531,12 @@ POSTHOOK: Output: default@stats_part@p=102
 POSTHOOK: Output: default@stats_part@p=104
 PREHOOK: query: explain select count(key) from stats_part where p = 101
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key) from stats_part where p = 101
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -489,8 +549,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select count(key) from stats_part
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key) from stats_part
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -525,8 +589,12 @@ POSTHOOK: Output: default@stats_part@p=104
 #### A masked pattern was here ####
 PREHOOK: query: explain select count(key) from stats_part
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key) from stats_part
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -547,8 +615,18 @@ POSTHOOK: Input: default@stats_part
 POSTHOOK: Output: default@stats_part
 PREHOOK: query: explain select count(key2) from stats_part
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_part
+PREHOOK: Input: default@stats_part@p=101
+PREHOOK: Input: default@stats_part@p=103
+PREHOOK: Input: default@stats_part@p=104
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key2) from stats_part
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_part
+POSTHOOK: Input: default@stats_part@p=101
+POSTHOOK: Input: default@stats_part@p=103
+POSTHOOK: Input: default@stats_part@p=104
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -595,8 +673,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select count(value) from stats_part
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(value) from stats_part
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -631,8 +713,12 @@ POSTHOOK: Output: default@stats_part@p=104
 #### A masked pattern was here ####
 PREHOOK: query: explain select count(key2) from stats_part
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key2) from stats_part
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_part
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -652,8 +738,20 @@ POSTHOOK: Output: default@stats_part
 POSTHOOK: Output: default@stats_part@p=105
 PREHOOK: query: explain select count(key2) from stats_part
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_part
+PREHOOK: Input: default@stats_part@p=101
+PREHOOK: Input: default@stats_part@p=103
+PREHOOK: Input: default@stats_part@p=104
+PREHOOK: Input: default@stats_part@p=105
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key2) from stats_part
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_part
+POSTHOOK: Input: default@stats_part@p=101
+POSTHOOK: Input: default@stats_part@p=103
+POSTHOOK: Input: default@stats_part@p=104
+POSTHOOK: Input: default@stats_part@p=105
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -726,8 +824,20 @@ POSTHOOK: Output: default@stats_part@p=105
 #### A masked pattern was here ####
 PREHOOK: query: explain select count(key2) from stats_part
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_part
+PREHOOK: Input: default@stats_part@p=101
+PREHOOK: Input: default@stats_part@p=103
+PREHOOK: Input: default@stats_part@p=104
+PREHOOK: Input: default@stats_part@p=105
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key2) from stats_part
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_part
+POSTHOOK: Input: default@stats_part@p=101
+POSTHOOK: Input: default@stats_part@p=103
+POSTHOOK: Input: default@stats_part@p=104
+POSTHOOK: Input: default@stats_part@p=105
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -782,8 +892,18 @@ POSTHOOK: Input: default@stats_part
 POSTHOOK: Output: default@stats_part@p=104
 PREHOOK: query: explain select count(key2) from stats_part
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats_part
+PREHOOK: Input: default@stats_part@p=101
+PREHOOK: Input: default@stats_part@p=103
+PREHOOK: Input: default@stats_part@p=105
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(key2) from stats_part
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats_part
+POSTHOOK: Input: default@stats_part@p=101
+POSTHOOK: Input: default@stats_part@p=103
+POSTHOOK: Input: default@stats_part@p=105
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/acid_stats5.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/acid_stats5.q.out b/ql/src/test/results/clientpositive/acid_stats5.q.out
index c2af67c..21d891a 100644
--- a/ql/src/test/results/clientpositive/acid_stats5.q.out
+++ b/ql/src/test/results/clientpositive/acid_stats5.q.out
@@ -28,8 +28,12 @@ POSTHOOK: Lineage: stats2.key SCRIPT []
 POSTHOOK: Lineage: stats2.value SCRIPT []
 PREHOOK: query: explain select count(*) from stats2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from stats2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -42,8 +46,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select min(key) from stats2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select min(key) from stats2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -120,8 +128,12 @@ bitVector           	HL
 comment             	from deserializer   	 	 	 	 	 	 	 	 	 	 
 PREHOOK: query: explain select count(*) from stats2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from stats2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -167,8 +179,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select count(distinct key) from stats2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(distinct key) from stats2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-2 depends on stages: Stage-1
@@ -309,8 +325,12 @@ comment             	from deserializer
 COLUMN_STATS_ACCURATE	{\"BASIC_STATS\":\"true\"}	 	 	 	 	 	 	 	 	 	 
 PREHOOK: query: explain select count(*) from stats2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from stats2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -323,8 +343,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select min(key) from stats2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select min(key) from stats2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -438,8 +462,12 @@ comment             	from deserializer
 COLUMN_STATS_ACCURATE	{\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}}	 	 	 	 	 	 	 	 	 	 
 PREHOOK: query: explain select count(*) from stats2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from stats2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -452,8 +480,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select min(key) from stats2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select min(key) from stats2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -528,8 +560,12 @@ comment             	from deserializer
 COLUMN_STATS_ACCURATE	{\"BASIC_STATS\":\"true\"}	 	 	 	 	 	 	 	 	 	 
 PREHOOK: query: explain select count(*) from stats2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from stats2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -542,8 +578,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select count(distinct key) from stats2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(distinct key) from stats2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-2 depends on stages: Stage-1
@@ -684,8 +724,12 @@ comment             	from deserializer
 COLUMN_STATS_ACCURATE	{\"BASIC_STATS\":\"true\"}	 	 	 	 	 	 	 	 	 	 
 PREHOOK: query: explain select count(*) from stats2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from stats2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -698,8 +742,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select min(key) from stats2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select min(key) from stats2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -813,8 +861,12 @@ comment             	from deserializer
 COLUMN_STATS_ACCURATE	{\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}}	 	 	 	 	 	 	 	 	 	 
 PREHOOK: query: explain select count(*) from stats2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from stats2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -827,8 +879,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select min(key) from stats2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@stats2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select min(key) from stats2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@stats2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/acid_table_stats.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/acid_table_stats.q.out b/ql/src/test/results/clientpositive/acid_table_stats.q.out
index 32badd0..e1af88a 100644
--- a/ql/src/test/results/clientpositive/acid_table_stats.q.out
+++ b/ql/src/test/results/clientpositive/acid_table_stats.q.out
@@ -123,8 +123,12 @@ POSTHOOK: Input: default@acid@ds=2008-04-08
 1000
 PREHOOK: query: explain select count(*) from acid where ds='2008-04-08'
 PREHOOK: type: QUERY
+PREHOOK: Input: default@acid
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from acid where ds='2008-04-08'
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@acid
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -257,8 +261,12 @@ POSTHOOK: Input: default@acid@ds=2008-04-08
 1000
 PREHOOK: query: explain select count(*) from acid where ds='2008-04-08'
 PREHOOK: type: QUERY
+PREHOOK: Input: default@acid
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from acid where ds='2008-04-08'
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@acid
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -387,8 +395,12 @@ Storage Desc Params:
 	serialization.format	1                   
 PREHOOK: query: explain select count(*) from acid where ds='2008-04-08'
 PREHOOK: type: QUERY
+PREHOOK: Input: default@acid
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from acid where ds='2008-04-08'
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@acid
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -424,8 +436,14 @@ POSTHOOK: Output: default@acid@ds=2008-04-08
 #### A masked pattern was here ####
 PREHOOK: query: explain select max(key) from acid where ds='2008-04-08'
 PREHOOK: type: QUERY
+PREHOOK: Input: default@acid
+PREHOOK: Input: default@acid@ds=2008-04-08
+#### A masked pattern was here ####
 POSTHOOK: query: explain select max(key) from acid where ds='2008-04-08'
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@acid
+POSTHOOK: Input: default@acid@ds=2008-04-08
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -612,8 +630,12 @@ POSTHOOK: Input: default@acid@ds=2008-04-09
 2000
 PREHOOK: query: explain select count(*) from acid where ds='2008-04-08'
 PREHOOK: type: QUERY
+PREHOOK: Input: default@acid
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from acid where ds='2008-04-08'
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@acid
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/add_part_multiple.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/add_part_multiple.q.out b/ql/src/test/results/clientpositive/add_part_multiple.q.out
index 5c9282d..7631c4d 100644
--- a/ql/src/test/results/clientpositive/add_part_multiple.q.out
+++ b/ql/src/test/results/clientpositive/add_part_multiple.q.out
@@ -13,6 +13,8 @@ PARTITION (ds='2010-02-01') location 'B'
 PARTITION (ds='2010-03-01')
 PARTITION (ds='2010-04-01') location 'C'
 PREHOOK: type: ALTERTABLE_ADDPARTS
+#### A masked pattern was here ####
+PREHOOK: Output: default@add_part_test_n1
 POSTHOOK: query: explain
 ALTER TABLE add_part_test_n1 ADD IF NOT EXISTS
 PARTITION (ds='2010-01-01') location 'A'
@@ -20,6 +22,8 @@ PARTITION (ds='2010-02-01') location 'B'
 PARTITION (ds='2010-03-01')
 PARTITION (ds='2010-04-01') location 'C'
 POSTHOOK: type: ALTERTABLE_ADDPARTS
+#### A masked pattern was here ####
+POSTHOOK: Output: default@add_part_test_n1
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/alias_casted_column.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/alias_casted_column.q.out b/ql/src/test/results/clientpositive/alias_casted_column.q.out
index c06173d..e5eeaa7 100644
--- a/ql/src/test/results/clientpositive/alias_casted_column.q.out
+++ b/ql/src/test/results/clientpositive/alias_casted_column.q.out
@@ -1,7 +1,11 @@
 PREHOOK: query: explain select key from (select cast(key as int) from src )t
 PREHOOK: type: QUERY
+PREHOOK: Input: default@src
+#### A masked pattern was here ####
 POSTHOOK: query: explain select key from (select cast(key as int) from src )t
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@src
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -34,8 +38,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select key2 from (select cast(key as int) key2 from src )t
 PREHOOK: type: QUERY
+PREHOOK: Input: default@src
+#### A masked pattern was here ####
 POSTHOOK: query: explain select key2 from (select cast(key as int) key2 from src )t
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@src
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/allcolref_in_udf.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/allcolref_in_udf.q.out b/ql/src/test/results/clientpositive/allcolref_in_udf.q.out
index dbd1715..ded58bd 100644
--- a/ql/src/test/results/clientpositive/allcolref_in_udf.q.out
+++ b/ql/src/test/results/clientpositive/allcolref_in_udf.q.out
@@ -1,9 +1,13 @@
 PREHOOK: query: explain
 select concat(*),array(*) from src where key < 100 limit 10
 PREHOOK: type: QUERY
+PREHOOK: Input: default@src
+#### A masked pattern was here ####
 POSTHOOK: query: explain
 select concat(*),array(*) from src where key < 100 limit 10
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@src
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -64,11 +68,15 @@ select stack(2, *) as (e1,e2,e3) from (
   select concat(*), concat(a.*), concat(b.*), concat(a.*, b.key), concat(a.key, b.*)
   from src a join src b on a.key+1=b.key where a.key < 100) x limit 10
 PREHOOK: type: QUERY
+PREHOOK: Input: default@src
+#### A masked pattern was here ####
 POSTHOOK: query: explain
 select stack(2, *) as (e1,e2,e3) from (
   select concat(*), concat(a.*), concat(b.*), concat(a.*, b.key), concat(a.key, b.*)
   from src a join src b on a.key+1=b.key where a.key < 100) x limit 10
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@src
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -183,8 +191,12 @@ POSTHOOK: Output: default@allcolref
 POSTHOOK: Lineage: allcolref._c0 EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), (src)src.FieldSchema(name:value, type:string, comment:default), ]
 PREHOOK: query: explain select explode(*) as x from allcolref limit 10
 PREHOOK: type: QUERY
+PREHOOK: Input: default@allcolref
+#### A masked pattern was here ####
 POSTHOOK: query: explain select explode(*) as x from allcolref limit 10
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@allcolref
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/alterColumnStatsPart.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/alterColumnStatsPart.q.out b/ql/src/test/results/clientpositive/alterColumnStatsPart.q.out
index b474019..170318b 100644
--- a/ql/src/test/results/clientpositive/alterColumnStatsPart.q.out
+++ b/ql/src/test/results/clientpositive/alterColumnStatsPart.q.out
@@ -107,8 +107,14 @@ Storage Desc Params:
 	serialization.format	1                   
 PREHOOK: query: explain select max(a) from p where c=1
 PREHOOK: type: QUERY
+PREHOOK: Input: default@p
+PREHOOK: Input: default@p@c=1
+#### A masked pattern was here ####
 POSTHOOK: query: explain select max(a) from p where c=1
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@p
+POSTHOOK: Input: default@p@c=1
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -171,8 +177,12 @@ POSTHOOK: Output: default@p@c=1
 #### A masked pattern was here ####
 PREHOOK: query: explain select max(a) from p where c=1
 PREHOOK: type: QUERY
+PREHOOK: Input: default@p
+#### A masked pattern was here ####
 POSTHOOK: query: explain select max(a) from p where c=1
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@p
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -242,8 +252,14 @@ Storage Desc Params:
 	serialization.format	1                   
 PREHOOK: query: explain select max(a) from p where c=4
 PREHOOK: type: QUERY
+PREHOOK: Input: default@p
+PREHOOK: Input: default@p@c=4
+#### A masked pattern was here ####
 POSTHOOK: query: explain select max(a) from p where c=4
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@p
+POSTHOOK: Input: default@p@c=4
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -336,8 +352,14 @@ Storage Desc Params:
 	serialization.format	1                   
 PREHOOK: query: explain select max(a) from p where c=100
 PREHOOK: type: QUERY
+PREHOOK: Input: default@p
+PREHOOK: Input: default@p@c=100
+#### A masked pattern was here ####
 POSTHOOK: query: explain select max(a) from p where c=100
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@p
+POSTHOOK: Input: default@p@c=100
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -400,8 +422,14 @@ POSTHOOK: Output: default@p@c=100
 #### A masked pattern was here ####
 PREHOOK: query: explain select max(a) from p where c=100
 PREHOOK: type: QUERY
+PREHOOK: Input: default@p
+PREHOOK: Input: default@p@c=100
+#### A masked pattern was here ####
 POSTHOOK: query: explain select max(a) from p where c=100
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@p
+POSTHOOK: Input: default@p@c=100
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -511,8 +539,12 @@ POSTHOOK: Output: default@p@c=100
 #### A masked pattern was here ####
 PREHOOK: query: explain select max(a) from p where c=100
 PREHOOK: type: QUERY
+PREHOOK: Input: default@p
+#### A masked pattern was here ####
 POSTHOOK: query: explain select max(a) from p where c=100
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@p
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/alter_partition_coltype.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/alter_partition_coltype.q.out b/ql/src/test/results/clientpositive/alter_partition_coltype.q.out
index 5727f0a..f6c3c56 100644
--- a/ql/src/test/results/clientpositive/alter_partition_coltype.q.out
+++ b/ql/src/test/results/clientpositive/alter_partition_coltype.q.out
@@ -68,8 +68,12 @@ POSTHOOK: Input: default@alter_coltype
 50
 PREHOOK: query: explain extended select count(*) from alter_coltype where dt = '100'
 PREHOOK: type: QUERY
+PREHOOK: Input: default@alter_coltype
+#### A masked pattern was here ####
 POSTHOOK: query: explain extended select count(*) from alter_coltype where dt = '100'
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@alter_coltype
+#### A masked pattern was here ####
 OPTIMIZED SQL: SELECT COUNT(*) AS `$f0`
 FROM `default`.`alter_coltype`
 WHERE `dt` = 100
@@ -118,8 +122,12 @@ POSTHOOK: Input: default@alter_coltype
 25
 PREHOOK: query: explain extended select count(*) from alter_coltype where ts = '6.30'
 PREHOOK: type: QUERY
+PREHOOK: Input: default@alter_coltype
+#### A masked pattern was here ####
 POSTHOOK: query: explain extended select count(*) from alter_coltype where ts = '6.30'
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@alter_coltype
+#### A masked pattern was here ####
 OPTIMIZED SQL: SELECT COUNT(*) AS `$f0`
 FROM `default`.`alter_coltype`
 WHERE `ts` = 6.3
@@ -144,8 +152,12 @@ POSTHOOK: Input: default@alter_coltype
 25
 PREHOOK: query: explain extended select count(*) from alter_coltype where ts = 3.0 and dt=100
 PREHOOK: type: QUERY
+PREHOOK: Input: default@alter_coltype
+#### A masked pattern was here ####
 POSTHOOK: query: explain extended select count(*) from alter_coltype where ts = 3.0 and dt=100
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@alter_coltype
+#### A masked pattern was here ####
 OPTIMIZED SQL: SELECT COUNT(*) AS `$f0`
 FROM `default`.`alter_coltype`
 WHERE `ts` = 3 AND `dt` = 100
@@ -223,8 +235,16 @@ POSTHOOK: Input: default@alter_coltype@dt=100/ts=6.30
 		100	6.3
 PREHOOK: query: explain extended select key, value, dt, ts from alter_coltype where dt is not null
 PREHOOK: type: QUERY
+PREHOOK: Input: default@alter_coltype
+PREHOOK: Input: default@alter_coltype@dt=100/ts=3.0
+PREHOOK: Input: default@alter_coltype@dt=100/ts=6.30
+#### A masked pattern was here ####
 POSTHOOK: query: explain extended select key, value, dt, ts from alter_coltype where dt is not null
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@alter_coltype
+POSTHOOK: Input: default@alter_coltype@dt=100/ts=3.0
+POSTHOOK: Input: default@alter_coltype@dt=100/ts=6.30
+#### A masked pattern was here ####
 OPTIMIZED SQL: SELECT `key`, `value`, `dt`, `ts`
 FROM `default`.`alter_coltype`
 WHERE `dt` IS NOT NULL
@@ -463,8 +483,14 @@ POSTHOOK: Input: pt@alterdynamic_part_table
 POSTHOOK: Output: pt@alterdynamic_part_table
 PREHOOK: query: explain extended select intcol from pt.alterdynamic_part_table where partcol1='1' and partcol2='1'
 PREHOOK: type: QUERY
+PREHOOK: Input: pt@alterdynamic_part_table
+PREHOOK: Input: pt@alterdynamic_part_table@partcol1=1/partcol2=1
+#### A masked pattern was here ####
 POSTHOOK: query: explain extended select intcol from pt.alterdynamic_part_table where partcol1='1' and partcol2='1'
 POSTHOOK: type: QUERY
+POSTHOOK: Input: pt@alterdynamic_part_table
+POSTHOOK: Input: pt@alterdynamic_part_table@partcol1=1/partcol2=1
+#### A masked pattern was here ####
 OPTIMIZED SQL: SELECT `intcol`
 FROM `pt`.`alterdynamic_part_table`
 WHERE `partcol1` = 1 AND `partcol2` = '1'
@@ -537,8 +563,14 @@ STAGE PLANS:
 
 PREHOOK: query: explain extended select intcol from pt.alterdynamic_part_table where (partcol1='2' and partcol2='1')or (partcol1='1' and partcol2='__HIVE_DEFAULT_PARTITION__')
 PREHOOK: type: QUERY
+PREHOOK: Input: pt@alterdynamic_part_table
+PREHOOK: Input: pt@alterdynamic_part_table@partcol1=2/partcol2=1
+#### A masked pattern was here ####
 POSTHOOK: query: explain extended select intcol from pt.alterdynamic_part_table where (partcol1='2' and partcol2='1')or (partcol1='1' and partcol2='__HIVE_DEFAULT_PARTITION__')
 POSTHOOK: type: QUERY
+POSTHOOK: Input: pt@alterdynamic_part_table
+POSTHOOK: Input: pt@alterdynamic_part_table@partcol1=2/partcol2=1
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/alter_rename_table.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/alter_rename_table.q.out b/ql/src/test/results/clientpositive/alter_rename_table.q.out
index f16b95b..32919ea 100644
--- a/ql/src/test/results/clientpositive/alter_rename_table.q.out
+++ b/ql/src/test/results/clientpositive/alter_rename_table.q.out
@@ -117,9 +117,13 @@ POSTHOOK: Input: source@srcpart@ds=2008-04-09/hr=12
 PREHOOK: query: explain
 ALTER TABLE source.src RENAME TO target.src
 PREHOOK: type: ALTERTABLE_RENAME
+PREHOOK: Input: source@src
+PREHOOK: Output: source@src
 POSTHOOK: query: explain
 ALTER TABLE source.src RENAME TO target.src
 POSTHOOK: type: ALTERTABLE_RENAME
+POSTHOOK: Input: source@src
+POSTHOOK: Output: source@src
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -161,9 +165,13 @@ POSTHOOK: Input: target@src
 PREHOOK: query: explain
 ALTER TABLE source.srcpart RENAME TO target.srcpart
 PREHOOK: type: ALTERTABLE_RENAME
+PREHOOK: Input: source@srcpart
+PREHOOK: Output: source@srcpart
 POSTHOOK: query: explain
 ALTER TABLE source.srcpart RENAME TO target.srcpart
 POSTHOOK: type: ALTERTABLE_RENAME
+POSTHOOK: Input: source@srcpart
+POSTHOOK: Output: source@srcpart
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/ambiguitycheck.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/ambiguitycheck.q.out b/ql/src/test/results/clientpositive/ambiguitycheck.q.out
index e19f4b6..aff5752 100644
--- a/ql/src/test/results/clientpositive/ambiguitycheck.q.out
+++ b/ql/src/test/results/clientpositive/ambiguitycheck.q.out
@@ -703,8 +703,12 @@ POSTHOOK: Input: default@src
 98	val_98	2
 PREHOOK: query: explain extended select int(1.2) from src limit 1
 PREHOOK: type: QUERY
+PREHOOK: Input: default@src
+#### A masked pattern was here ####
 POSTHOOK: query: explain extended select int(1.2) from src limit 1
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@src
+#### A masked pattern was here ####
 OPTIMIZED SQL: SELECT CAST(1.2 AS INTEGER) AS `$f0`
 FROM `default`.`src`
 LIMIT 1
@@ -814,8 +818,10 @@ NULL
 NULL
 PREHOOK: query: explain extended desc default.src key
 PREHOOK: type: DESCTABLE
+PREHOOK: Input: default@src
 POSTHOOK: query: explain extended desc default.src key
 POSTHOOK: type: DESCTABLE
+POSTHOOK: Input: default@src
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
   Stage-1 depends on stages: Stage-0

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/ambiguous_col.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/ambiguous_col.q.out b/ql/src/test/results/clientpositive/ambiguous_col.q.out
index 49a8e9f..39abdcb 100644
--- a/ql/src/test/results/clientpositive/ambiguous_col.q.out
+++ b/ql/src/test/results/clientpositive/ambiguous_col.q.out
@@ -1,7 +1,13 @@
 PREHOOK: query: explain select * from (select a.key, a.* from (select * from src) a join (select * from src1) b on (a.key = b.key)) t
 PREHOOK: type: QUERY
+PREHOOK: Input: default@src
+PREHOOK: Input: default@src1
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from (select a.key, a.* from (select * from src) a join (select * from src1) b on (a.key = b.key)) t
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@src
+POSTHOOK: Input: default@src1
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -119,8 +125,14 @@ POSTHOOK: Input: default@src1
 98	98	val_98
 PREHOOK: query: explain select * from (select a.key, a.`[k].*` from (select * from src) a join (select * from src1) b on (a.key = b.key)) t
 PREHOOK: type: QUERY
+PREHOOK: Input: default@src
+PREHOOK: Input: default@src1
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from (select a.key, a.`[k].*` from (select * from src) a join (select * from src1) b on (a.key = b.key)) t
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@src
+POSTHOOK: Input: default@src1
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -237,8 +249,14 @@ POSTHOOK: Input: default@src1
 98	98
 PREHOOK: query: explain select * from (select a.key, a.key from (select * from src) a join (select * from src1) b on (a.key = b.key)) t
 PREHOOK: type: QUERY
+PREHOOK: Input: default@src
+PREHOOK: Input: default@src1
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from (select a.key, a.key from (select * from src) a join (select * from src1) b on (a.key = b.key)) t
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@src
+POSTHOOK: Input: default@src1
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -355,8 +373,12 @@ POSTHOOK: Input: default@src1
 98	98
 PREHOOK: query: explain select count(*) from (select key, key from src) subq
 PREHOOK: type: QUERY
+PREHOOK: Input: default@src
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from (select key, key from src) subq
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@src
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/analyze_table_null_partition.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/analyze_table_null_partition.q.out b/ql/src/test/results/clientpositive/analyze_table_null_partition.q.out
index 353813e..f21fbe6 100644
--- a/ql/src/test/results/clientpositive/analyze_table_null_partition.q.out
+++ b/ql/src/test/results/clientpositive/analyze_table_null_partition.q.out
@@ -85,8 +85,20 @@ age                 	int
 #### A masked pattern was here ####
 PREHOOK: query: EXPLAIN EXTENDED select * from test2_n6
 PREHOOK: type: QUERY
+PREHOOK: Input: default@test2_n6
+PREHOOK: Input: default@test2_n6@age=15
+PREHOOK: Input: default@test2_n6@age=30
+PREHOOK: Input: default@test2_n6@age=40
+PREHOOK: Input: default@test2_n6@age=__HIVE_DEFAULT_PARTITION__
+#### A masked pattern was here ####
 POSTHOOK: query: EXPLAIN EXTENDED select * from test2_n6
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@test2_n6
+POSTHOOK: Input: default@test2_n6@age=15
+POSTHOOK: Input: default@test2_n6@age=30
+POSTHOOK: Input: default@test2_n6@age=40
+POSTHOOK: Input: default@test2_n6@age=__HIVE_DEFAULT_PARTITION__
+#### A masked pattern was here ####
 OPTIMIZED SQL: SELECT `name`, `age`
 FROM `default`.`test2_n6`
 STAGE DEPENDENCIES:

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/analyze_tbl_date.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/analyze_tbl_date.q.out b/ql/src/test/results/clientpositive/analyze_tbl_date.q.out
index e9400b2..6d03911 100644
--- a/ql/src/test/results/clientpositive/analyze_tbl_date.q.out
+++ b/ql/src/test/results/clientpositive/analyze_tbl_date.q.out
@@ -61,8 +61,12 @@ Storage Desc Params:
 	serialization.format	1                   
 PREHOOK: query: explain select * from test_table_n7 where d is not null
 PREHOOK: type: QUERY
+PREHOOK: Input: default@test_table_n7
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from test_table_n7 where d is not null
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@test_table_n7
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/annotate_stats_deep_filters.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/annotate_stats_deep_filters.q.out b/ql/src/test/results/clientpositive/annotate_stats_deep_filters.q.out
index 3ffb002..5852c51 100644
--- a/ql/src/test/results/clientpositive/annotate_stats_deep_filters.q.out
+++ b/ql/src/test/results/clientpositive/annotate_stats_deep_filters.q.out
@@ -88,6 +88,8 @@ or (t=37 and si=38)
 or (t=47 and si=48)
 or (t=52 and si=53))
 PREHOOK: type: QUERY
+PREHOOK: Input: default@over1k_n4
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from over1k_n4 where (
 (t=1 and si=2)
 or (t=2 and si=3)
@@ -110,6 +112,8 @@ or (t=37 and si=38)
 or (t=47 and si=48)
 or (t=52 and si=53))
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@over1k_n4
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -179,6 +183,8 @@ or (t=37 and si=38)
 or (t=47 and si=48)
 or (t=52 and si=53))
 PREHOOK: type: QUERY
+PREHOOK: Input: default@over1k_n4
+#### A masked pattern was here ####
 POSTHOOK: query: explain select count(*) from over1k_n4 where (
 (t=1 and si=2)
 or (t=2 and si=3)
@@ -201,6 +207,8 @@ or (t=37 and si=38)
 or (t=47 and si=48)
 or (t=52 and si=53))
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@over1k_n4
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/annotate_stats_filter.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/annotate_stats_filter.q.out b/ql/src/test/results/clientpositive/annotate_stats_filter.q.out
index dd42cf0..44f77b8 100644
--- a/ql/src/test/results/clientpositive/annotate_stats_filter.q.out
+++ b/ql/src/test/results/clientpositive/annotate_stats_filter.q.out
@@ -54,8 +54,12 @@ POSTHOOK: Lineage: loc_orc.year SIMPLE [(loc_staging)loc_staging.FieldSchema(nam
 POSTHOOK: Lineage: loc_orc.zip SIMPLE [(loc_staging)loc_staging.FieldSchema(name:zip, type:bigint, comment:null), ]
 PREHOOK: query: explain select * from loc_orc
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -75,8 +79,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where state='OH'
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where state='OH'
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -123,8 +131,12 @@ POSTHOOK: Output: default@loc_orc
 #### A masked pattern was here ####
 PREHOOK: query: explain select * from loc_orc where state='OH'
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where state='OH'
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -161,8 +173,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where state!='OH'
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where state!='OH'
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -199,8 +215,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where state<>'OH'
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where state<>'OH'
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -237,8 +257,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where zip is null
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where zip is null
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -275,8 +299,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where !(zip is not null)
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where !(zip is not null)
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -313,8 +341,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where zip is not null
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where zip is not null
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -351,8 +383,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where !(zip is null)
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where !(zip is null)
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -389,8 +425,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where !false
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where !false
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -410,8 +450,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where !true
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where !true
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -447,8 +491,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where true
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where true
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -468,8 +516,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where 'foo'
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where 'foo'
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -505,8 +557,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where true = true
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where true = true
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -526,8 +582,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where false = true
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where false = true
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -563,8 +623,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where 'foo' = 'bar'
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where 'foo' = 'bar'
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -600,8 +664,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where false
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where false
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -637,8 +705,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where state='OH' or state='CA'
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where state='OH' or state='CA'
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -675,8 +747,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where year=2001 and year is null
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where year=2001 and year is null
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -712,8 +788,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where year=2001 and state='OH' and state='FL'
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where year=2001 and state='OH' and state='FL'
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -749,8 +829,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where (year=2001 and year is null) or (state='CA')
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where (year=2001 and year is null) or (state='CA')
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -787,8 +871,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where (year=2001 or year is null) and (state='CA')
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where (year=2001 or year is null) and (state='CA')
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -825,8 +913,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where locid < 30
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where locid < 30
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -863,8 +955,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where locid > 30
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where locid > 30
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -901,8 +997,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where locid <= 30
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where locid <= 30
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -939,8 +1039,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where locid >= 30
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where locid >= 30
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -977,8 +1081,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where locid < 3
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where locid < 3
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -1015,8 +1123,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where locid > 3
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where locid > 3
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -1053,8 +1165,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where locid <= 3
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where locid <= 3
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -1091,8 +1207,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select * from loc_orc where locid >= 3
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc where locid >= 3
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1

http://git-wip-us.apache.org/repos/asf/hive/blob/163caed7/ql/src/test/results/clientpositive/annotate_stats_groupby.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/annotate_stats_groupby.q.out b/ql/src/test/results/clientpositive/annotate_stats_groupby.q.out
index 18c103b..932e208 100644
--- a/ql/src/test/results/clientpositive/annotate_stats_groupby.q.out
+++ b/ql/src/test/results/clientpositive/annotate_stats_groupby.q.out
@@ -54,8 +54,12 @@ POSTHOOK: Lineage: loc_orc_n2.year SIMPLE [(loc_staging_n2)loc_staging_n2.FieldS
 POSTHOOK: Lineage: loc_orc_n2.zip SIMPLE [(loc_staging_n2)loc_staging_n2.FieldSchema(name:zip, type:bigint, comment:null), ]
 PREHOOK: query: explain select * from loc_orc_n2
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select * from loc_orc_n2
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-0 is a root stage
 
@@ -90,6 +94,8 @@ from ( select state as a, locid as b, count(*) as c
      ) sq1
 group by a,c
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select a, c, min(b)
 from ( select state as a, locid as b, count(*) as c
        from loc_orc_n2
@@ -97,6 +103,8 @@ from ( select state as a, locid as b, count(*) as c
      ) sq1
 group by a,c
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-2 depends on stages: Stage-1
@@ -190,8 +198,12 @@ POSTHOOK: Output: default@loc_orc_n2
 #### A masked pattern was here ####
 PREHOOK: query: explain select year from loc_orc_n2 group by year
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select year from loc_orc_n2 group by year
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -240,8 +252,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -290,8 +306,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid with cube
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid with cube
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -341,8 +361,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid with rollup
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid with rollup
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -392,8 +416,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select state,locid from loc_orc_n2 group by rollup( state,locid )
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select state,locid from loc_orc_n2 group by rollup( state,locid )
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -443,8 +471,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid grouping sets((state))
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid grouping sets((state))
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -494,8 +526,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid grouping sets((state),(locid))
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid grouping sets((state),(locid))
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -545,8 +581,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid grouping sets((state),(locid),())
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid grouping sets((state),(locid),())
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -596,8 +636,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid grouping sets((state,locid),(state),(locid),())
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid grouping sets((state,locid),(state),(locid),())
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -647,8 +691,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select year from loc_orc_n2 group by year
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select year from loc_orc_n2 group by year
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -697,8 +745,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid with cube
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid with cube
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -748,8 +800,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select state,zip from loc_orc_n2 group by state,zip
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select state,zip from loc_orc_n2 group by state,zip
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -798,8 +854,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid with cube
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid with cube
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -849,8 +909,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid with rollup
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid with rollup
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -900,8 +964,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select state,locid from loc_orc_n2 group by rollup (state,locid)
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select state,locid from loc_orc_n2 group by rollup (state,locid)
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -951,8 +1019,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid grouping sets((state))
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid grouping sets((state))
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -1002,8 +1074,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid grouping sets((state),(locid))
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid grouping sets((state),(locid))
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -1053,8 +1129,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid grouping sets((state),(locid),())
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid grouping sets((state),(locid),())
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -1104,8 +1184,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid grouping sets((state,locid),(state),(locid),())
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid grouping sets((state,locid),(state),(locid),())
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -1155,8 +1239,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select year from loc_orc_n2 group by year
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select year from loc_orc_n2 group by year
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
@@ -1205,8 +1293,12 @@ STAGE PLANS:
 
 PREHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid with cube
 PREHOOK: type: QUERY
+PREHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 POSTHOOK: query: explain select state,locid from loc_orc_n2 group by state,locid with cube
 POSTHOOK: type: QUERY
+POSTHOOK: Input: default@loc_orc_n2
+#### A masked pattern was here ####
 STAGE DEPENDENCIES:
   Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1


Mime
View raw message