FAQ
Modified: hive/trunk/ql/src/test/results/clientpositive/nonmr_fetch.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/nonmr_fetch.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/nonmr_fetch.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/nonmr_fetch.q.out Sun Jan 13 02:11:34 2013
@@ -202,6 +202,7 @@ STAGE PLANS:

  PREHOOK: query: select * from srcpart where key > 100 limit 10
  PREHOOK: type: QUERY
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11
@@ -209,6 +210,7 @@ PREHOOK: Input: default@srcpart@ds=2008-
  #### A masked pattern was here ####
  POSTHOOK: query: select * from srcpart where key > 100 limit 10
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11

Modified: hive/trunk/ql/src/test/results/clientpositive/nullgroup3.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/nullgroup3.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/nullgroup3.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/nullgroup3.q.out Sun Jan 13 02:11:34 2013
@@ -76,11 +76,13 @@ STAGE PLANS:

  PREHOOK: query: select count(1) from tstparttbl
  PREHOOK: type: QUERY
+PREHOOK: Input: default@tstparttbl
  PREHOOK: Input: default@tstparttbl@ds=2008-04-08
  PREHOOK: Input: default@tstparttbl@ds=2008-04-09
  #### A masked pattern was here ####
  POSTHOOK: query: select count(1) from tstparttbl
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@tstparttbl
  POSTHOOK: Input: default@tstparttbl@ds=2008-04-08
  POSTHOOK: Input: default@tstparttbl@ds=2008-04-09
  #### A masked pattern was here ####
@@ -163,11 +165,13 @@ STAGE PLANS:

  PREHOOK: query: select count(1) from tstparttbl2
  PREHOOK: type: QUERY
+PREHOOK: Input: default@tstparttbl2
  PREHOOK: Input: default@tstparttbl2@ds=2008-04-08
  PREHOOK: Input: default@tstparttbl2@ds=2008-04-09
  #### A masked pattern was here ####
  POSTHOOK: query: select count(1) from tstparttbl2
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@tstparttbl2
  POSTHOOK: Input: default@tstparttbl2@ds=2008-04-08
  POSTHOOK: Input: default@tstparttbl2@ds=2008-04-09
  #### A masked pattern was here ####
@@ -258,11 +262,13 @@ STAGE PLANS:

  PREHOOK: query: select count(1) from tstparttbl
  PREHOOK: type: QUERY
+PREHOOK: Input: default@tstparttbl
  PREHOOK: Input: default@tstparttbl@ds=2008-04-08
  PREHOOK: Input: default@tstparttbl@ds=2008-04-09
  #### A masked pattern was here ####
  POSTHOOK: query: select count(1) from tstparttbl
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@tstparttbl
  POSTHOOK: Input: default@tstparttbl@ds=2008-04-08
  POSTHOOK: Input: default@tstparttbl@ds=2008-04-09
  #### A masked pattern was here ####
@@ -353,11 +359,13 @@ STAGE PLANS:

  PREHOOK: query: select count(1) from tstparttbl2
  PREHOOK: type: QUERY
+PREHOOK: Input: default@tstparttbl2
  PREHOOK: Input: default@tstparttbl2@ds=2008-04-08
  PREHOOK: Input: default@tstparttbl2@ds=2008-04-09
  #### A masked pattern was here ####
  POSTHOOK: query: select count(1) from tstparttbl2
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@tstparttbl2
  POSTHOOK: Input: default@tstparttbl2@ds=2008-04-08
  POSTHOOK: Input: default@tstparttbl2@ds=2008-04-09
  #### A masked pattern was here ####

Modified: hive/trunk/ql/src/test/results/clientpositive/nullgroup5.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/nullgroup5.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/nullgroup5.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/nullgroup5.q.out Sun Jan 13 02:11:34 2013
@@ -114,6 +114,8 @@ PREHOOK: query: select u.* from
    select key, value from tstparttbl2 y where y.ds='2009-04-09'
  )u
  PREHOOK: type: QUERY
+PREHOOK: Input: default@tstparttbl
+PREHOOK: Input: default@tstparttbl2
  PREHOOK: Input: default@tstparttbl2@ds=2009-04-09
  #### A masked pattern was here ####
  POSTHOOK: query: select u.* from
@@ -123,6 +125,8 @@ POSTHOOK: query: select u.* from
    select key, value from tstparttbl2 y where y.ds='2009-04-09'
  )u
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@tstparttbl
+POSTHOOK: Input: default@tstparttbl2
  POSTHOOK: Input: default@tstparttbl2@ds=2009-04-09
  #### A masked pattern was here ####
  238 val_238

Modified: hive/trunk/ql/src/test/results/clientpositive/nullinput2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/nullinput2.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/nullinput2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/nullinput2.q.out Sun Jan 13 02:11:34 2013
@@ -5,14 +5,18 @@ POSTHOOK: type: CREATETABLE
  POSTHOOK: Output: default@nulltbl
  PREHOOK: query: select key from nulltbl where ds='101'
  PREHOOK: type: QUERY
+PREHOOK: Input: default@nulltbl
  #### A masked pattern was here ####
  POSTHOOK: query: select key from nulltbl where ds='101'
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@nulltbl
  #### A masked pattern was here ####
  PREHOOK: query: select count(1) from nulltbl where ds='101'
  PREHOOK: type: QUERY
+PREHOOK: Input: default@nulltbl
  #### A masked pattern was here ####
  POSTHOOK: query: select count(1) from nulltbl where ds='101'
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@nulltbl
  #### A masked pattern was here ####
  0

Modified: hive/trunk/ql/src/test/results/clientpositive/outer_join_ppr.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/outer_join_ppr.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/outer_join_ppr.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/outer_join_ppr.q.out Sun Jan 13 02:11:34 2013
@@ -367,6 +367,7 @@ PREHOOK: query: FROM
   WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25
  PREHOOK: type: QUERY
  PREHOOK: Input: default@src
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11
@@ -381,6 +382,7 @@ POSTHOOK: query: FROM
   WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25
  POSTHOOK: type: QUERY
  POSTHOOK: Input: default@src
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11
@@ -762,6 +764,7 @@ PREHOOK: query: FROM
   WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25 AND b.ds = '2008-04-08'
  PREHOOK: type: QUERY
  PREHOOK: Input: default@src
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11
@@ -776,6 +779,7 @@ POSTHOOK: query: FROM
   WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25 AND b.ds = '2008-04-08'
  POSTHOOK: type: QUERY
  POSTHOOK: Input: default@src
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11

Modified: hive/trunk/ql/src/test/results/clientpositive/partInit.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/partInit.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/partInit.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/partInit.q.out Sun Jan 13 02:11:34 2013
@@ -5,16 +5,20 @@ POSTHOOK: type: CREATETABLE
  POSTHOOK: Output: default@empty
  PREHOOK: query: SELECT MAX(c) FROM empty
  PREHOOK: type: QUERY
+PREHOOK: Input: default@empty
  #### A masked pattern was here ####
  POSTHOOK: query: SELECT MAX(c) FROM empty
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@empty
  #### A masked pattern was here ####
  NULL
  PREHOOK: query: SELECT MAX(p) FROM empty
  PREHOOK: type: QUERY
+PREHOOK: Input: default@empty
  #### A masked pattern was here ####
  POSTHOOK: query: SELECT MAX(p) FROM empty
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@empty
  #### A masked pattern was here ####
  NULL
  PREHOOK: query: ALTER TABLE empty ADD PARTITION (p=1)
@@ -26,10 +30,12 @@ POSTHOOK: Input: default@empty
  POSTHOOK: Output: default@empty@p=1
  PREHOOK: query: SELECT MAX(p) FROM empty
  PREHOOK: type: QUERY
+PREHOOK: Input: default@empty
  PREHOOK: Input: default@empty@p=1
  #### A masked pattern was here ####
  POSTHOOK: query: SELECT MAX(p) FROM empty
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@empty
  POSTHOOK: Input: default@empty@p=1
  #### A masked pattern was here ####
  1

Modified: hive/trunk/ql/src/test/results/clientpositive/partcols1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/partcols1.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/partcols1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/partcols1.q.out Sun Jan 13 02:11:34 2013
@@ -28,6 +28,7 @@ SELECT TRANSFORM(

   USING 'cat' as (a,b,c,d)
  PREHOOK: type: QUERY
+PREHOOK: Input: default@test1
  PREHOOK: Input: default@test1@partitionid=1
  #### A masked pattern was here ####
  POSTHOOK: query: FROM (
@@ -44,6 +45,7 @@ SELECT TRANSFORM(

   USING 'cat' as (a,b,c,d)
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@test1
  POSTHOOK: Input: default@test1@partitionid=1
  #### A masked pattern was here ####
  POSTHOOK: Lineage: test1 PARTITION(partitionid=1).col1 SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ]

Modified: hive/trunk/ql/src/test/results/clientpositive/partition_decode_name.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/partition_decode_name.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/partition_decode_name.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/partition_decode_name.q.out Sun Jan 13 02:11:34 2013
@@ -45,12 +45,14 @@ ts=2011-01-11+15%3A18%3A26
  ts=2011-01-11+16%3A18%3A26
  PREHOOK: query: select count(*) from sc_part where ts is not null
  PREHOOK: type: QUERY
+PREHOOK: Input: default@sc_part
  PREHOOK: Input: default@sc_part@ts=2011-01-11+14%3A18%3A26
  PREHOOK: Input: default@sc_part@ts=2011-01-11+15%3A18%3A26
  PREHOOK: Input: default@sc_part@ts=2011-01-11+16%3A18%3A26
  #### A masked pattern was here ####
  POSTHOOK: query: select count(*) from sc_part where ts is not null
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@sc_part
  POSTHOOK: Input: default@sc_part@ts=2011-01-11+14%3A18%3A26
  POSTHOOK: Input: default@sc_part@ts=2011-01-11+15%3A18%3A26
  POSTHOOK: Input: default@sc_part@ts=2011-01-11+16%3A18%3A26
@@ -90,12 +92,14 @@ ts=2011-01-11+15:18:26
  ts=2011-01-11+16:18:26
  PREHOOK: query: select count(*) from sc_part where ts is not null
  PREHOOK: type: QUERY
+PREHOOK: Input: default@sc_part
  PREHOOK: Input: default@sc_part@ts=2011-01-11+14%3A18%3A26
  PREHOOK: Input: default@sc_part@ts=2011-01-11+15%3A18%3A26
  PREHOOK: Input: default@sc_part@ts=2011-01-11+16%3A18%3A26
  #### A masked pattern was here ####
  POSTHOOK: query: select count(*) from sc_part where ts is not null
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@sc_part
  POSTHOOK: Input: default@sc_part@ts=2011-01-11+14%3A18%3A26
  POSTHOOK: Input: default@sc_part@ts=2011-01-11+15%3A18%3A26
  POSTHOOK: Input: default@sc_part@ts=2011-01-11+16%3A18%3A26

Modified: hive/trunk/ql/src/test/results/clientpositive/partition_serde_format.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/partition_serde_format.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/partition_serde_format.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/partition_serde_format.q.out Sun Jan 13 02:11:34 2013
@@ -25,10 +25,12 @@ POSTHOOK: Lineage: src_part_serde PARTIT
  POSTHOOK: Lineage: src_part_serde PARTITION(ds=2011).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
  PREHOOK: query: select key, value from src_part_serde where ds='2011' order by key, value limit 20
  PREHOOK: type: QUERY
+PREHOOK: Input: default@src_part_serde
  PREHOOK: Input: default@src_part_serde@ds=2011
  #### A masked pattern was here ####
  POSTHOOK: query: select key, value from src_part_serde where ds='2011' order by key, value limit 20
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@src_part_serde
  POSTHOOK: Input: default@src_part_serde@ds=2011
  #### A masked pattern was here ####
  POSTHOOK: Lineage: src_part_serde PARTITION(ds=2011).key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ]

Modified: hive/trunk/ql/src/test/results/clientpositive/partition_special_char.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/partition_special_char.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/partition_special_char.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/partition_special_char.q.out Sun Jan 13 02:11:34 2013
@@ -45,12 +45,14 @@ ts=2011-01-11+15%3A18%3A26
  ts=2011-01-11+16%3A18%3A26
  PREHOOK: query: select count(*) from sc_part where ts is not null
  PREHOOK: type: QUERY
+PREHOOK: Input: default@sc_part
  PREHOOK: Input: default@sc_part@ts=2011-01-11+14%3A18%3A26
  PREHOOK: Input: default@sc_part@ts=2011-01-11+15%3A18%3A26
  PREHOOK: Input: default@sc_part@ts=2011-01-11+16%3A18%3A26
  #### A masked pattern was here ####
  POSTHOOK: query: select count(*) from sc_part where ts is not null
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@sc_part
  POSTHOOK: Input: default@sc_part@ts=2011-01-11+14%3A18%3A26
  POSTHOOK: Input: default@sc_part@ts=2011-01-11+15%3A18%3A26
  POSTHOOK: Input: default@sc_part@ts=2011-01-11+16%3A18%3A26
@@ -90,12 +92,14 @@ ts=2011-01-11+15%3A18%3A26
  ts=2011-01-11+16%3A18%3A26
  PREHOOK: query: select count(*) from sc_part where ts is not null
  PREHOOK: type: QUERY
+PREHOOK: Input: default@sc_part
  PREHOOK: Input: default@sc_part@ts=2011-01-11+14%3A18%3A26
  PREHOOK: Input: default@sc_part@ts=2011-01-11+15%3A18%3A26
  PREHOOK: Input: default@sc_part@ts=2011-01-11+16%3A18%3A26
  #### A masked pattern was here ####
  POSTHOOK: query: select count(*) from sc_part where ts is not null
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@sc_part
  POSTHOOK: Input: default@sc_part@ts=2011-01-11+14%3A18%3A26
  POSTHOOK: Input: default@sc_part@ts=2011-01-11+15%3A18%3A26
  POSTHOOK: Input: default@sc_part@ts=2011-01-11+16%3A18%3A26

Modified: hive/trunk/ql/src/test/results/clientpositive/partition_vs_table_metadata.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/partition_vs_table_metadata.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/partition_vs_table_metadata.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/partition_vs_table_metadata.q.out Sun Jan 13 02:11:34 2013
@@ -39,12 +39,14 @@ POSTHOOK: Lineage: partition_vs_table PA
  PREHOOK: query: select key, value, newcol from partition_vs_table
  order by key, value, newcol
  PREHOOK: type: QUERY
+PREHOOK: Input: default@partition_vs_table
  PREHOOK: Input: default@partition_vs_table@ds=100
  PREHOOK: Input: default@partition_vs_table@ds=101
  #### A masked pattern was here ####
  POSTHOOK: query: select key, value, newcol from partition_vs_table
  order by key, value, newcol
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@partition_vs_table
  POSTHOOK: Input: default@partition_vs_table@ds=100
  POSTHOOK: Input: default@partition_vs_table@ds=101
  #### A masked pattern was here ####

Modified: hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat.q.out Sun Jan 13 02:11:34 2013
@@ -53,10 +53,12 @@ minFileSize:216

  PREHOOK: query: select key from partition_test_partitioned where dt=100
  PREHOOK: type: QUERY
+PREHOOK: Input: default@partition_test_partitioned
  PREHOOK: Input: default@partition_test_partitioned@dt=100
  #### A masked pattern was here ####
  POSTHOOK: query: select key from partition_test_partitioned where dt=100
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@partition_test_partitioned
  POSTHOOK: Input: default@partition_test_partitioned@dt=100
  #### A masked pattern was here ####
  POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=100).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ]
@@ -88,10 +90,12 @@ POSTHOOK: Lineage: partition_test_partit

  PREHOOK: query: select key from partition_test_partitioned
  PREHOOK: type: QUERY
+PREHOOK: Input: default@partition_test_partitioned
  PREHOOK: Input: default@partition_test_partitioned@dt=100
  #### A masked pattern was here ####
  POSTHOOK: query: select key from partition_test_partitioned
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@partition_test_partitioned
  POSTHOOK: Input: default@partition_test_partitioned@dt=100
  #### A masked pattern was here ####
  POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=100).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ]
@@ -208,10 +212,12 @@ minFileSize:275

  PREHOOK: query: select key from partition_test_partitioned where dt=100
  PREHOOK: type: QUERY
+PREHOOK: Input: default@partition_test_partitioned
  PREHOOK: Input: default@partition_test_partitioned@dt=100
  #### A masked pattern was here ####
  POSTHOOK: query: select key from partition_test_partitioned where dt=100
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@partition_test_partitioned
  POSTHOOK: Input: default@partition_test_partitioned@dt=100
  #### A masked pattern was here ####
  POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=100).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ]
@@ -245,10 +251,12 @@ POSTHOOK: Lineage: partition_test_partit

  PREHOOK: query: select key from partition_test_partitioned where dt=101
  PREHOOK: type: QUERY
+PREHOOK: Input: default@partition_test_partitioned
  PREHOOK: Input: default@partition_test_partitioned@dt=101
  #### A masked pattern was here ####
  POSTHOOK: query: select key from partition_test_partitioned where dt=101
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@partition_test_partitioned
  POSTHOOK: Input: default@partition_test_partitioned@dt=101
  #### A masked pattern was here ####
  POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=100).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ]
@@ -282,11 +290,13 @@ POSTHOOK: Lineage: partition_test_partit

  PREHOOK: query: select key from partition_test_partitioned
  PREHOOK: type: QUERY
+PREHOOK: Input: default@partition_test_partitioned
  PREHOOK: Input: default@partition_test_partitioned@dt=100
  PREHOOK: Input: default@partition_test_partitioned@dt=101
  #### A masked pattern was here ####
  POSTHOOK: query: select key from partition_test_partitioned
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@partition_test_partitioned
  POSTHOOK: Input: default@partition_test_partitioned@dt=100
  POSTHOOK: Input: default@partition_test_partitioned@dt=101
  #### A masked pattern was here ####
@@ -464,10 +474,12 @@ minFileSize:888

  PREHOOK: query: select key from partition_test_partitioned where dt=100
  PREHOOK: type: QUERY
+PREHOOK: Input: default@partition_test_partitioned
  PREHOOK: Input: default@partition_test_partitioned@dt=100
  #### A masked pattern was here ####
  POSTHOOK: query: select key from partition_test_partitioned where dt=100
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@partition_test_partitioned
  POSTHOOK: Input: default@partition_test_partitioned@dt=100
  #### A masked pattern was here ####
  POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=100).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ]
@@ -503,10 +515,12 @@ POSTHOOK: Lineage: partition_test_partit

  PREHOOK: query: select key from partition_test_partitioned where dt=101
  PREHOOK: type: QUERY
+PREHOOK: Input: default@partition_test_partitioned
  PREHOOK: Input: default@partition_test_partitioned@dt=101
  #### A masked pattern was here ####
  POSTHOOK: query: select key from partition_test_partitioned where dt=101
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@partition_test_partitioned
  POSTHOOK: Input: default@partition_test_partitioned@dt=101
  #### A masked pattern was here ####
  POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=100).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ]
@@ -542,10 +556,12 @@ POSTHOOK: Lineage: partition_test_partit

  PREHOOK: query: select key from partition_test_partitioned where dt=102
  PREHOOK: type: QUERY
+PREHOOK: Input: default@partition_test_partitioned
  PREHOOK: Input: default@partition_test_partitioned@dt=102
  #### A masked pattern was here ####
  POSTHOOK: query: select key from partition_test_partitioned where dt=102
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@partition_test_partitioned
  POSTHOOK: Input: default@partition_test_partitioned@dt=102
  #### A masked pattern was here ####
  POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=100).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ]
@@ -581,12 +597,14 @@ POSTHOOK: Lineage: partition_test_partit

  PREHOOK: query: select key from partition_test_partitioned
  PREHOOK: type: QUERY
+PREHOOK: Input: default@partition_test_partitioned
  PREHOOK: Input: default@partition_test_partitioned@dt=100
  PREHOOK: Input: default@partition_test_partitioned@dt=101
  PREHOOK: Input: default@partition_test_partitioned@dt=102
  #### A masked pattern was here ####
  POSTHOOK: query: select key from partition_test_partitioned
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@partition_test_partitioned
  POSTHOOK: Input: default@partition_test_partitioned@dt=100
  POSTHOOK: Input: default@partition_test_partitioned@dt=101
  POSTHOOK: Input: default@partition_test_partitioned@dt=102
@@ -674,12 +692,14 @@ POSTHOOK: Lineage: partition_test_partit

  PREHOOK: query: select key from partition_test_partitioned where dt >=100 and dt <= 102
  PREHOOK: type: QUERY
+PREHOOK: Input: default@partition_test_partitioned
  PREHOOK: Input: default@partition_test_partitioned@dt=100
  PREHOOK: Input: default@partition_test_partitioned@dt=101
  PREHOOK: Input: default@partition_test_partitioned@dt=102
  #### A masked pattern was here ####
  POSTHOOK: query: select key from partition_test_partitioned where dt >=100 and dt <= 102
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@partition_test_partitioned
  POSTHOOK: Input: default@partition_test_partitioned@dt=100
  POSTHOOK: Input: default@partition_test_partitioned@dt=101
  POSTHOOK: Input: default@partition_test_partitioned@dt=102

Modified: hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat3.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat3.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat3.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat3.q.out Sun Jan 13 02:11:34 2013
@@ -85,10 +85,12 @@ minFileSize:888

  PREHOOK: query: select key from partition_test_partitioned where dt=102
  PREHOOK: type: QUERY
+PREHOOK: Input: default@partition_test_partitioned
  PREHOOK: Input: default@partition_test_partitioned@dt=102
  #### A masked pattern was here ####
  POSTHOOK: query: select key from partition_test_partitioned where dt=102
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@partition_test_partitioned
  POSTHOOK: Input: default@partition_test_partitioned@dt=102
  #### A masked pattern was here ####
  POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=101).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ]
@@ -159,10 +161,12 @@ minFileSize:888

  PREHOOK: query: select key from partition_test_partitioned where dt=101
  PREHOOK: type: QUERY
+PREHOOK: Input: default@partition_test_partitioned
  PREHOOK: Input: default@partition_test_partitioned@dt=101
  #### A masked pattern was here ####
  POSTHOOK: query: select key from partition_test_partitioned where dt=101
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@partition_test_partitioned
  POSTHOOK: Input: default@partition_test_partitioned@dt=101
  #### A masked pattern was here ####
  POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=101).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ]

Modified: hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat5.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat5.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat5.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat5.q.out Sun Jan 13 02:11:34 2013
@@ -45,11 +45,13 @@ POSTHOOK: Lineage: partition_test_partit
  POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=102).value SIMPLE [(src1)src1.FieldSchema(name:value, type:string, comment:default), ]
  PREHOOK: query: select dt, count(1) from partition_test_partitioned where dt is not null group by dt
  PREHOOK: type: QUERY
+PREHOOK: Input: default@partition_test_partitioned
  PREHOOK: Input: default@partition_test_partitioned@dt=101
  PREHOOK: Input: default@partition_test_partitioned@dt=102
  #### A masked pattern was here ####
  POSTHOOK: query: select dt, count(1) from partition_test_partitioned where dt is not null group by dt
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@partition_test_partitioned
  POSTHOOK: Input: default@partition_test_partitioned@dt=101
  POSTHOOK: Input: default@partition_test_partitioned@dt=102
  #### A masked pattern was here ####
@@ -75,12 +77,14 @@ POSTHOOK: Lineage: partition_test_partit
  POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=103).value SIMPLE [(src1)src1.FieldSchema(name:value, type:string, comment:default), ]
  PREHOOK: query: select dt, count(1) from partition_test_partitioned where dt is not null group by dt
  PREHOOK: type: QUERY
+PREHOOK: Input: default@partition_test_partitioned
  PREHOOK: Input: default@partition_test_partitioned@dt=101
  PREHOOK: Input: default@partition_test_partitioned@dt=102
  PREHOOK: Input: default@partition_test_partitioned@dt=103
  #### A masked pattern was here ####
  POSTHOOK: query: select dt, count(1) from partition_test_partitioned where dt is not null group by dt
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@partition_test_partitioned
  POSTHOOK: Input: default@partition_test_partitioned@dt=101
  POSTHOOK: Input: default@partition_test_partitioned@dt=102
  POSTHOOK: Input: default@partition_test_partitioned@dt=103

Modified: hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat6.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat6.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat6.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat6.q.out Sun Jan 13 02:11:34 2013
@@ -48,6 +48,7 @@ PREHOOK: query: select count(1) from
   union all
  select key, value from partition_test_partitioned where dt=101 and key < 20)s
  PREHOOK: type: QUERY
+PREHOOK: Input: default@partition_test_partitioned
  PREHOOK: Input: default@partition_test_partitioned@dt=101
  #### A masked pattern was here ####
  POSTHOOK: query: select count(1) from
@@ -55,6 +56,7 @@ POSTHOOK: query: select count(1) from
   union all
  select key, value from partition_test_partitioned where dt=101 and key < 20)s
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@partition_test_partitioned
  POSTHOOK: Input: default@partition_test_partitioned@dt=101
  #### A masked pattern was here ####
  POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=101).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ]
@@ -67,6 +69,7 @@ PREHOOK: query: select count(1) from
   union all
  select key, value from partition_test_partitioned where dt=102 and key < 20)s
  PREHOOK: type: QUERY
+PREHOOK: Input: default@partition_test_partitioned
  PREHOOK: Input: default@partition_test_partitioned@dt=101
  PREHOOK: Input: default@partition_test_partitioned@dt=102
  #### A masked pattern was here ####
@@ -75,6 +78,7 @@ POSTHOOK: query: select count(1) from
   union all
  select key, value from partition_test_partitioned where dt=102 and key < 20)s
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@partition_test_partitioned
  POSTHOOK: Input: default@partition_test_partitioned@dt=101
  POSTHOOK: Input: default@partition_test_partitioned@dt=102
  #### A masked pattern was here ####

Modified: hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat7.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat7.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat7.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat7.q.out Sun Jan 13 02:11:34 2013
@@ -24,11 +24,13 @@ POSTHOOK: Lineage: partition_test_partit
  PREHOOK: query: select count(1) from partition_test_partitioned a join partition_test_partitioned b on a.key = b.key
  where a.dt = '101' and b.dt = '101'
  PREHOOK: type: QUERY
+PREHOOK: Input: default@partition_test_partitioned
  PREHOOK: Input: default@partition_test_partitioned@dt=101
  #### A masked pattern was here ####
  POSTHOOK: query: select count(1) from partition_test_partitioned a join partition_test_partitioned b on a.key = b.key
  where a.dt = '101' and b.dt = '101'
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@partition_test_partitioned
  POSTHOOK: Input: default@partition_test_partitioned@dt=101
  #### A masked pattern was here ####
  POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=101).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ]
@@ -37,11 +39,13 @@ POSTHOOK: Lineage: partition_test_partit
  PREHOOK: query: select count(1) from partition_test_partitioned a join partition_test_partitioned b on a.key = b.key
  where a.dt = '101' and b.dt = '101' and a.key < 100
  PREHOOK: type: QUERY
+PREHOOK: Input: default@partition_test_partitioned
  PREHOOK: Input: default@partition_test_partitioned@dt=101
  #### A masked pattern was here ####
  POSTHOOK: query: select count(1) from partition_test_partitioned a join partition_test_partitioned b on a.key = b.key
  where a.dt = '101' and b.dt = '101' and a.key < 100
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@partition_test_partitioned
  POSTHOOK: Input: default@partition_test_partitioned@dt=101
  #### A masked pattern was here ####
  POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=101).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ]

Modified: hive/trunk/ql/src/test/results/clientpositive/pcr.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/pcr.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/pcr.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/pcr.q.out Sun Jan 13 02:11:34 2013
@@ -231,11 +231,13 @@ STAGE PLANS:

  PREHOOK: query: select key, value, ds from pcr_t1 where ds<='2000-04-09' and key<5 order by key, ds
  PREHOOK: type: QUERY
+PREHOOK: Input: default@pcr_t1
  PREHOOK: Input: default@pcr_t1@ds=2000-04-08
  PREHOOK: Input: default@pcr_t1@ds=2000-04-09
  #### A masked pattern was here ####
  POSTHOOK: query: select key, value, ds from pcr_t1 where ds<='2000-04-09' and key<5 order by key, ds
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@pcr_t1
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-08
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-09
  #### A masked pattern was here ####
@@ -476,12 +478,14 @@ STAGE PLANS:

  PREHOOK: query: select key, value from pcr_t1 where ds<='2000-04-09' or key<5 order by key
  PREHOOK: type: QUERY
+PREHOOK: Input: default@pcr_t1
  PREHOOK: Input: default@pcr_t1@ds=2000-04-08
  PREHOOK: Input: default@pcr_t1@ds=2000-04-09
  PREHOOK: Input: default@pcr_t1@ds=2000-04-10
  #### A masked pattern was here ####
  POSTHOOK: query: select key, value from pcr_t1 where ds<='2000-04-09' or key<5 order by key
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@pcr_t1
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-08
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-09
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-10
@@ -717,11 +721,13 @@ STAGE PLANS:

  PREHOOK: query: select key, value, ds from pcr_t1 where ds<='2000-04-09' and key<5 and value != 'val_2' order by key, ds
  PREHOOK: type: QUERY
+PREHOOK: Input: default@pcr_t1
  PREHOOK: Input: default@pcr_t1@ds=2000-04-08
  PREHOOK: Input: default@pcr_t1@ds=2000-04-09
  #### A masked pattern was here ####
  POSTHOOK: query: select key, value, ds from pcr_t1 where ds<='2000-04-09' and key<5 and value != 'val_2' order by key, ds
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@pcr_t1
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-08
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-09
  #### A masked pattern was here ####
@@ -924,12 +930,14 @@ STAGE PLANS:
  PREHOOK: query: select key, value, ds from pcr_t1
  where (ds < '2000-04-09' and key < 5) or (ds > '2000-04-09' and value == 'val_5') order by key, ds
  PREHOOK: type: QUERY
+PREHOOK: Input: default@pcr_t1
  PREHOOK: Input: default@pcr_t1@ds=2000-04-08
  PREHOOK: Input: default@pcr_t1@ds=2000-04-10
  #### A masked pattern was here ####
  POSTHOOK: query: select key, value, ds from pcr_t1
  where (ds < '2000-04-09' and key < 5) or (ds > '2000-04-09' and value == 'val_5') order by key, ds
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@pcr_t1
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-08
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-10
  #### A masked pattern was here ####
@@ -1179,6 +1187,7 @@ STAGE PLANS:
  PREHOOK: query: select key, value, ds from pcr_t1
  where (ds < '2000-04-10' and key < 5) or (ds > '2000-04-08' and value == 'val_5') order by key, ds
  PREHOOK: type: QUERY
+PREHOOK: Input: default@pcr_t1
  PREHOOK: Input: default@pcr_t1@ds=2000-04-08
  PREHOOK: Input: default@pcr_t1@ds=2000-04-09
  PREHOOK: Input: default@pcr_t1@ds=2000-04-10
@@ -1186,6 +1195,7 @@ PREHOOK: Input: default@pcr_t1@ds=2000-0
  POSTHOOK: query: select key, value, ds from pcr_t1
  where (ds < '2000-04-10' and key < 5) or (ds > '2000-04-08' and value == 'val_5') order by key, ds
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@pcr_t1
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-08
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-09
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-10
@@ -1444,6 +1454,7 @@ STAGE PLANS:
  PREHOOK: query: select key, value, ds from pcr_t1
  where (ds < '2000-04-10' or key < 5) and (ds > '2000-04-08' or value == 'val_5') order by key, ds
  PREHOOK: type: QUERY
+PREHOOK: Input: default@pcr_t1
  PREHOOK: Input: default@pcr_t1@ds=2000-04-08
  PREHOOK: Input: default@pcr_t1@ds=2000-04-09
  PREHOOK: Input: default@pcr_t1@ds=2000-04-10
@@ -1451,6 +1462,7 @@ PREHOOK: Input: default@pcr_t1@ds=2000-0
  POSTHOOK: query: select key, value, ds from pcr_t1
  where (ds < '2000-04-10' or key < 5) and (ds > '2000-04-08' or value == 'val_5') order by key, ds
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@pcr_t1
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-08
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-09
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-10
@@ -1665,11 +1677,13 @@ STAGE PLANS:

  PREHOOK: query: select key, value from pcr_t1 where (ds='2000-04-08' or ds='2000-04-09') and key=14 order by key, value
  PREHOOK: type: QUERY
+PREHOOK: Input: default@pcr_t1
  PREHOOK: Input: default@pcr_t1@ds=2000-04-08
  PREHOOK: Input: default@pcr_t1@ds=2000-04-09
  #### A masked pattern was here ####
  POSTHOOK: query: select key, value from pcr_t1 where (ds='2000-04-08' or ds='2000-04-09') and key=14 order by key, value
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@pcr_t1
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-08
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-09
  #### A masked pattern was here ####
@@ -1850,11 +1864,13 @@ STAGE PLANS:

  PREHOOK: query: select key, value from pcr_t1 where ds='2000-04-08' or ds='2000-04-09' order by key, value
  PREHOOK: type: QUERY
+PREHOOK: Input: default@pcr_t1
  PREHOOK: Input: default@pcr_t1@ds=2000-04-08
  PREHOOK: Input: default@pcr_t1@ds=2000-04-09
  #### A masked pattern was here ####
  POSTHOOK: query: select key, value from pcr_t1 where ds='2000-04-08' or ds='2000-04-09' order by key, value
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@pcr_t1
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-08
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-09
  #### A masked pattern was here ####
@@ -2122,12 +2138,14 @@ STAGE PLANS:

  PREHOOK: query: select key, value from pcr_t1 where ds>='2000-04-08' or ds<'2000-04-10' order by key, value
  PREHOOK: type: QUERY
+PREHOOK: Input: default@pcr_t1
  PREHOOK: Input: default@pcr_t1@ds=2000-04-08
  PREHOOK: Input: default@pcr_t1@ds=2000-04-09
  PREHOOK: Input: default@pcr_t1@ds=2000-04-10
  #### A masked pattern was here ####
  POSTHOOK: query: select key, value from pcr_t1 where ds>='2000-04-08' or ds<'2000-04-10' order by key, value
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@pcr_t1
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-08
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-09
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-10
@@ -2380,11 +2398,13 @@ STAGE PLANS:

  PREHOOK: query: select key, value, ds from pcr_t1 where (ds='2000-04-08' and key=1) or (ds='2000-04-09' and key=2) order by key, value, ds
  PREHOOK: type: QUERY
+PREHOOK: Input: default@pcr_t1
  PREHOOK: Input: default@pcr_t1@ds=2000-04-08
  PREHOOK: Input: default@pcr_t1@ds=2000-04-09
  #### A masked pattern was here ####
  POSTHOOK: query: select key, value, ds from pcr_t1 where (ds='2000-04-08' and key=1) or (ds='2000-04-09' and key=2) order by key, value, ds
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@pcr_t1
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-08
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-09
  #### A masked pattern was here ####
@@ -2621,10 +2641,12 @@ STAGE PLANS:

  PREHOOK: query: select * from pcr_t1 t1 join pcr_t1 t2 on t1.key=t2.key and t1.ds='2000-04-08' and t2.ds='2000-04-08' order by t1.key
  PREHOOK: type: QUERY
+PREHOOK: Input: default@pcr_t1
  PREHOOK: Input: default@pcr_t1@ds=2000-04-08
  #### A masked pattern was here ####
  POSTHOOK: query: select * from pcr_t1 t1 join pcr_t1 t2 on t1.key=t2.key and t1.ds='2000-04-08' and t2.ds='2000-04-08' order by t1.key
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@pcr_t1
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-08
  #### A masked pattern was here ####
  POSTHOOK: Lineage: pcr_t1 PARTITION(ds=2000-04-08).key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ]
@@ -2944,11 +2966,13 @@ STAGE PLANS:

  PREHOOK: query: select * from pcr_t1 t1 join pcr_t1 t2 on t1.key=t2.key and t1.ds='2000-04-08' and t2.ds='2000-04-09' order by t1.key
  PREHOOK: type: QUERY
+PREHOOK: Input: default@pcr_t1
  PREHOOK: Input: default@pcr_t1@ds=2000-04-08
  PREHOOK: Input: default@pcr_t1@ds=2000-04-09
  #### A masked pattern was here ####
  POSTHOOK: query: select * from pcr_t1 t1 join pcr_t1 t2 on t1.key=t2.key and t1.ds='2000-04-08' and t2.ds='2000-04-09' order by t1.key
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@pcr_t1
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-08
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-09
  #### A masked pattern was here ####
@@ -3290,6 +3314,7 @@ STAGE PLANS:

  PREHOOK: query: select key, value, ds from pcr_t1 where (ds>'2000-04-08' and ds<'2000-04-11') or (ds>='2000-04-08' and ds<='2000-04-11' and key=2) order by key, value, ds
  PREHOOK: type: QUERY
+PREHOOK: Input: default@pcr_t1
  PREHOOK: Input: default@pcr_t1@ds=2000-04-08
  PREHOOK: Input: default@pcr_t1@ds=2000-04-09
  PREHOOK: Input: default@pcr_t1@ds=2000-04-10
@@ -3297,6 +3322,7 @@ PREHOOK: Input: default@pcr_t1@ds=2000-0
  #### A masked pattern was here ####
  POSTHOOK: query: select key, value, ds from pcr_t1 where (ds>'2000-04-08' and ds<'2000-04-11') or (ds>='2000-04-08' and ds<='2000-04-11' and key=2) order by key, value, ds
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@pcr_t1
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-08
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-09
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-10
@@ -3583,12 +3609,14 @@ STAGE PLANS:

  PREHOOK: query: select key, value, ds from pcr_t1 where (ds>'2000-04-08' and ds<'2000-04-11') or (ds<='2000-04-09' and key=2) order by key, value, ds
  PREHOOK: type: QUERY
+PREHOOK: Input: default@pcr_t1
  PREHOOK: Input: default@pcr_t1@ds=2000-04-08
  PREHOOK: Input: default@pcr_t1@ds=2000-04-09
  PREHOOK: Input: default@pcr_t1@ds=2000-04-10
  #### A masked pattern was here ####
  POSTHOOK: query: select key, value, ds from pcr_t1 where (ds>'2000-04-08' and ds<'2000-04-11') or (ds<='2000-04-09' and key=2) order by key, value, ds
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@pcr_t1
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-08
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-09
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-10
@@ -4180,6 +4208,7 @@ PREHOOK: query: from pcr_t1
  insert overwrite table pcr_t2 select key, value where ds='2000-04-08'
  insert overwrite table pcr_t3 select key, value where ds='2000-04-08'
  PREHOOK: type: QUERY
+PREHOOK: Input: default@pcr_t1
  PREHOOK: Input: default@pcr_t1@ds=2000-04-08
  PREHOOK: Output: default@pcr_t2
  PREHOOK: Output: default@pcr_t3
@@ -4187,6 +4216,7 @@ POSTHOOK: query: from pcr_t1
  insert overwrite table pcr_t2 select key, value where ds='2000-04-08'
  insert overwrite table pcr_t3 select key, value where ds='2000-04-08'
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@pcr_t1
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-08
  POSTHOOK: Output: default@pcr_t2
  POSTHOOK: Output: default@pcr_t3
@@ -4808,6 +4838,7 @@ PREHOOK: query: from pcr_t1
  insert overwrite table pcr_t2 select key, value where ds='2000-04-08' and key=2
  insert overwrite table pcr_t3 select key, value where ds='2000-04-08' and key=3
  PREHOOK: type: QUERY
+PREHOOK: Input: default@pcr_t1
  PREHOOK: Input: default@pcr_t1@ds=2000-04-08
  PREHOOK: Output: default@pcr_t2
  PREHOOK: Output: default@pcr_t3
@@ -4815,6 +4846,7 @@ POSTHOOK: query: from pcr_t1
  insert overwrite table pcr_t2 select key, value where ds='2000-04-08' and key=2
  insert overwrite table pcr_t3 select key, value where ds='2000-04-08' and key=3
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@pcr_t1
  POSTHOOK: Input: default@pcr_t1@ds=2000-04-08
  POSTHOOK: Output: default@pcr_t2
  POSTHOOK: Output: default@pcr_t3
@@ -4968,9 +5000,11 @@ STAGE PLANS:

  PREHOOK: query: select key, value from srcpart where ds='2008-04-04' and hr=11 order by key limit 10
  PREHOOK: type: QUERY
+PREHOOK: Input: default@srcpart
  #### A masked pattern was here ####
  POSTHOOK: query: select key, value from srcpart where ds='2008-04-04' and hr=11 order by key limit 10
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@srcpart
  #### A masked pattern was here ####
  POSTHOOK: Lineage: pcr_t1 PARTITION(ds=2000-04-08).key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ]
  POSTHOOK: Lineage: pcr_t1 PARTITION(ds=2000-04-08).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
@@ -5186,11 +5220,13 @@ STAGE PLANS:

  PREHOOK: query: select key, value, ds, hr from srcpart where ds='2008-04-08' and (hr='11' or hr='12') and key=11 order by key, ds, hr
  PREHOOK: type: QUERY
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  #### A masked pattern was here ####
  POSTHOOK: query: select key, value, ds, hr from srcpart where ds='2008-04-08' and (hr='11' or hr='12') and key=11 order by key, ds, hr
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  #### A masked pattern was here ####
@@ -5410,11 +5446,13 @@ STAGE PLANS:

  PREHOOK: query: select key, value, ds, hr from srcpart where hr='11' and key=11 order by key, ds, hr
  PREHOOK: type: QUERY
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11
  #### A masked pattern was here ####
  POSTHOOK: query: select key, value, ds, hr from srcpart where hr='11' and key=11 order by key, ds, hr
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11
  #### A masked pattern was here ####

Modified: hive/trunk/ql/src/test/results/clientpositive/ppd2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/ppd2.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/ppd2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/ppd2.q.out Sun Jan 13 02:11:34 2013
@@ -158,6 +158,7 @@ from (
    sort by a.key,a.cc desc) b
  where b.cc>1
  PREHOOK: type: QUERY
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  #### A masked pattern was here ####
  POSTHOOK: query: select b.key,b.cc
@@ -173,6 +174,7 @@ from (
    sort by a.key,a.cc desc) b
  where b.cc>1
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  #### A masked pattern was here ####
  0 3
@@ -658,6 +660,7 @@ from (
    sort by a.key,a.cc desc) b
  where b.cc>1
  PREHOOK: type: QUERY
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  #### A masked pattern was here ####
  POSTHOOK: query: select b.key,b.cc
@@ -673,6 +676,7 @@ from (
    sort by a.key,a.cc desc) b
  where b.cc>1
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  #### A masked pattern was here ####
  0 3

Modified: hive/trunk/ql/src/test/results/clientpositive/ppd_udf_case.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/ppd_udf_case.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/ppd_udf_case.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/ppd_udf_case.q.out Sun Jan 13 02:11:34 2013
@@ -192,6 +192,7 @@ WHERE a.ds = '2008-04-08' AND
         END
  ORDER BY a.key, a.value, a.ds, a.hr, b.key, b.value, b.ds, b.hr
  PREHOOK: type: QUERY
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  #### A masked pattern was here ####
@@ -207,6 +208,7 @@ WHERE a.ds = '2008-04-08' AND
         END
  ORDER BY a.key, a.value, a.ds, a.hr, b.key, b.value, b.ds, b.hr
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  #### A masked pattern was here ####
@@ -404,6 +406,7 @@ WHERE a.ds = '2008-04-08' AND
         END
  ORDER BY a.key, a.value, a.ds, a.hr, b.key, b.value, b.ds, b.hr
  PREHOOK: type: QUERY
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  #### A masked pattern was here ####
@@ -419,6 +422,7 @@ WHERE a.ds = '2008-04-08' AND
         END
  ORDER BY a.key, a.value, a.ds, a.hr, b.key, b.value, b.ds, b.hr
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  #### A masked pattern was here ####

Modified: hive/trunk/ql/src/test/results/clientpositive/ppd_union_view.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/ppd_union_view.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/ppd_union_view.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/ppd_union_view.q.out Sun Jan 13 02:11:34 2013
@@ -502,13 +502,19 @@ STAGE PLANS:
  PREHOOK: query: select * from t1 where ds = '2011-10-13'
  PREHOOK: type: QUERY
  PREHOOK: Input: default@t1
+PREHOOK: Input: default@t1_mapping
  PREHOOK: Input: default@t1_mapping@ds=2011-10-13
+PREHOOK: Input: default@t1_new
+PREHOOK: Input: default@t1_old
  PREHOOK: Input: default@t1_old@ds=2011-10-13
  #### A masked pattern was here ####
  POSTHOOK: query: select * from t1 where ds = '2011-10-13'
  POSTHOOK: type: QUERY
  POSTHOOK: Input: default@t1
+POSTHOOK: Input: default@t1_mapping
  POSTHOOK: Input: default@t1_mapping@ds=2011-10-13
+POSTHOOK: Input: default@t1_new
+POSTHOOK: Input: default@t1_old
  POSTHOOK: Input: default@t1_old@ds=2011-10-13
  #### A masked pattern was here ####
  POSTHOOK: Lineage: t1_mapping PARTITION(ds=2011-10-13).key SIMPLE []
@@ -527,13 +533,19 @@ key3 value3 2011-10-13
  PREHOOK: query: select * from t1 where ds = '2011-10-14'
  PREHOOK: type: QUERY
  PREHOOK: Input: default@t1
+PREHOOK: Input: default@t1_mapping
  PREHOOK: Input: default@t1_mapping@ds=2011-10-14
+PREHOOK: Input: default@t1_new
+PREHOOK: Input: default@t1_old
  PREHOOK: Input: default@t1_old@ds=2011-10-14
  #### A masked pattern was here ####
  POSTHOOK: query: select * from t1 where ds = '2011-10-14'
  POSTHOOK: type: QUERY
  POSTHOOK: Input: default@t1
+POSTHOOK: Input: default@t1_mapping
  POSTHOOK: Input: default@t1_mapping@ds=2011-10-14
+POSTHOOK: Input: default@t1_new
+POSTHOOK: Input: default@t1_old
  POSTHOOK: Input: default@t1_old@ds=2011-10-14
  #### A masked pattern was here ####
  POSTHOOK: Lineage: t1_mapping PARTITION(ds=2011-10-13).key SIMPLE []
@@ -835,12 +847,18 @@ STAGE PLANS:
  PREHOOK: query: select * from t1 where ds = '2011-10-15'
  PREHOOK: type: QUERY
  PREHOOK: Input: default@t1
+PREHOOK: Input: default@t1_mapping
+PREHOOK: Input: default@t1_new
  PREHOOK: Input: default@t1_new@ds=2011-10-15
+PREHOOK: Input: default@t1_old
  #### A masked pattern was here ####
  POSTHOOK: query: select * from t1 where ds = '2011-10-15'
  POSTHOOK: type: QUERY
  POSTHOOK: Input: default@t1
+POSTHOOK: Input: default@t1_mapping
+POSTHOOK: Input: default@t1_new
  POSTHOOK: Input: default@t1_new@ds=2011-10-15
+POSTHOOK: Input: default@t1_old
  #### A masked pattern was here ####
  POSTHOOK: Lineage: t1_mapping PARTITION(ds=2011-10-13).key SIMPLE []
  POSTHOOK: Lineage: t1_mapping PARTITION(ds=2011-10-13).keymap SIMPLE []
@@ -858,12 +876,18 @@ key1 value1 2011-10-15
  PREHOOK: query: select * from t1 where ds = '2011-10-16'
  PREHOOK: type: QUERY
  PREHOOK: Input: default@t1
+PREHOOK: Input: default@t1_mapping
+PREHOOK: Input: default@t1_new
  PREHOOK: Input: default@t1_new@ds=2011-10-16
+PREHOOK: Input: default@t1_old
  #### A masked pattern was here ####
  POSTHOOK: query: select * from t1 where ds = '2011-10-16'
  POSTHOOK: type: QUERY
  POSTHOOK: Input: default@t1
+POSTHOOK: Input: default@t1_mapping
+POSTHOOK: Input: default@t1_new
  POSTHOOK: Input: default@t1_new@ds=2011-10-16
+POSTHOOK: Input: default@t1_old
  #### A masked pattern was here ####
  POSTHOOK: Lineage: t1_mapping PARTITION(ds=2011-10-13).key SIMPLE []
  POSTHOOK: Lineage: t1_mapping PARTITION(ds=2011-10-13).keymap SIMPLE []

Modified: hive/trunk/ql/src/test/results/clientpositive/ppr_allchildsarenull.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/ppr_allchildsarenull.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/ppr_allchildsarenull.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/ppr_allchildsarenull.q.out Sun Jan 13 02:11:34 2013
@@ -175,6 +175,7 @@ PREHOOK: query: SELECT
     THEN 1
     ELSE 0 end ) > 0
  PREHOOK: type: QUERY
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  #### A masked pattern was here ####
@@ -186,6 +187,7 @@ POSTHOOK: query: SELECT
     THEN 1
     ELSE 0 end ) > 0
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  #### A masked pattern was here ####
@@ -462,6 +464,7 @@ PREHOOK: query: SELECT
     THEN 1
     ELSE 0 end ) > 0
  PREHOOK: type: QUERY
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11
@@ -475,6 +478,7 @@ POSTHOOK: query: SELECT
     THEN 1
     ELSE 0 end ) > 0
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11

Modified: hive/trunk/ql/src/test/results/clientpositive/ppr_pushdown.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/ppr_pushdown.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/ppr_pushdown.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/ppr_pushdown.q.out Sun Jan 13 02:11:34 2013
@@ -161,10 +161,12 @@ POSTHOOK: Lineage: ppr_test PARTITION(ds
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12:4).key EXPRESSION []
  PREHOOK: query: select * from ppr_test where ds = '1234' order by key
  PREHOOK: type: QUERY
+PREHOOK: Input: default@ppr_test
  PREHOOK: Input: default@ppr_test@ds=1234
  #### A masked pattern was here ####
  POSTHOOK: query: select * from ppr_test where ds = '1234' order by key
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@ppr_test
  POSTHOOK: Input: default@ppr_test@ds=1234
  #### A masked pattern was here ####
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12%4).key EXPRESSION []
@@ -179,10 +181,12 @@ POSTHOOK: Lineage: ppr_test PARTITION(ds
  abcd 1234
  PREHOOK: query: select * from ppr_test where ds = '1224' order by key
  PREHOOK: type: QUERY
+PREHOOK: Input: default@ppr_test
  PREHOOK: Input: default@ppr_test@ds=1224
  #### A masked pattern was here ####
  POSTHOOK: query: select * from ppr_test where ds = '1224' order by key
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@ppr_test
  POSTHOOK: Input: default@ppr_test@ds=1224
  #### A masked pattern was here ####
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12%4).key EXPRESSION []
@@ -197,10 +201,12 @@ POSTHOOK: Lineage: ppr_test PARTITION(ds
  abcd 1224
  PREHOOK: query: select * from ppr_test where ds = '1214' order by key
  PREHOOK: type: QUERY
+PREHOOK: Input: default@ppr_test
  PREHOOK: Input: default@ppr_test@ds=1214
  #### A masked pattern was here ####
  POSTHOOK: query: select * from ppr_test where ds = '1214' order by key
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@ppr_test
  POSTHOOK: Input: default@ppr_test@ds=1214
  #### A masked pattern was here ####
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12%4).key EXPRESSION []
@@ -215,10 +221,12 @@ POSTHOOK: Lineage: ppr_test PARTITION(ds
  abcd 1214
  PREHOOK: query: select * from ppr_test where ds = '12.4' order by key
  PREHOOK: type: QUERY
+PREHOOK: Input: default@ppr_test
  PREHOOK: Input: default@ppr_test@ds=12.4
  #### A masked pattern was here ####
  POSTHOOK: query: select * from ppr_test where ds = '12.4' order by key
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@ppr_test
  POSTHOOK: Input: default@ppr_test@ds=12.4
  #### A masked pattern was here ####
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12%4).key EXPRESSION []
@@ -233,10 +241,12 @@ POSTHOOK: Lineage: ppr_test PARTITION(ds
  abcd 12.4
  PREHOOK: query: select * from ppr_test where ds = '12+4' order by key
  PREHOOK: type: QUERY
+PREHOOK: Input: default@ppr_test
  PREHOOK: Input: default@ppr_test@ds=12+4
  #### A masked pattern was here ####
  POSTHOOK: query: select * from ppr_test where ds = '12+4' order by key
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@ppr_test
  POSTHOOK: Input: default@ppr_test@ds=12+4
  #### A masked pattern was here ####
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12%4).key EXPRESSION []
@@ -251,10 +261,12 @@ POSTHOOK: Lineage: ppr_test PARTITION(ds
  abcd 12+4
  PREHOOK: query: select * from ppr_test where ds = '12:4' order by key
  PREHOOK: type: QUERY
+PREHOOK: Input: default@ppr_test
  PREHOOK: Input: default@ppr_test@ds=12%3A4
  #### A masked pattern was here ####
  POSTHOOK: query: select * from ppr_test where ds = '12:4' order by key
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@ppr_test
  POSTHOOK: Input: default@ppr_test@ds=12%3A4
  #### A masked pattern was here ####
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12%4).key EXPRESSION []
@@ -269,10 +281,12 @@ POSTHOOK: Lineage: ppr_test PARTITION(ds
  abcd 12:4
  PREHOOK: query: select * from ppr_test where ds = '12%4' order by key
  PREHOOK: type: QUERY
+PREHOOK: Input: default@ppr_test
  PREHOOK: Input: default@ppr_test@ds=12%254
  #### A masked pattern was here ####
  POSTHOOK: query: select * from ppr_test where ds = '12%4' order by key
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@ppr_test
  POSTHOOK: Input: default@ppr_test@ds=12%254
  #### A masked pattern was here ####
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12%4).key EXPRESSION []
@@ -287,10 +301,12 @@ POSTHOOK: Lineage: ppr_test PARTITION(ds
  abcd 12%4
  PREHOOK: query: select * from ppr_test where ds = '12*4' order by key
  PREHOOK: type: QUERY
+PREHOOK: Input: default@ppr_test
  PREHOOK: Input: default@ppr_test@ds=12%2A4
  #### A masked pattern was here ####
  POSTHOOK: query: select * from ppr_test where ds = '12*4' order by key
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@ppr_test
  POSTHOOK: Input: default@ppr_test@ds=12%2A4
  #### A masked pattern was here ####
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12%4).key EXPRESSION []
@@ -305,9 +321,11 @@ POSTHOOK: Lineage: ppr_test PARTITION(ds
  abcd 12*4
  PREHOOK: query: select * from ppr_test where ds = '12.*4' order by key
  PREHOOK: type: QUERY
+PREHOOK: Input: default@ppr_test
  #### A masked pattern was here ####
  POSTHOOK: query: select * from ppr_test where ds = '12.*4' order by key
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@ppr_test
  #### A masked pattern was here ####
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12%4).key EXPRESSION []
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12*4).key EXPRESSION []
@@ -319,10 +337,12 @@ POSTHOOK: Lineage: ppr_test PARTITION(ds
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12:4).key EXPRESSION []
  PREHOOK: query: select * from ppr_test where ds = '1234' and key = '1234'
  PREHOOK: type: QUERY
+PREHOOK: Input: default@ppr_test
  PREHOOK: Input: default@ppr_test@ds=1234
  #### A masked pattern was here ####
  POSTHOOK: query: select * from ppr_test where ds = '1234' and key = '1234'
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@ppr_test
  POSTHOOK: Input: default@ppr_test@ds=1234
  #### A masked pattern was here ####
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12%4).key EXPRESSION []
@@ -336,10 +356,12 @@ POSTHOOK: Lineage: ppr_test PARTITION(ds
  1234 1234
  PREHOOK: query: select * from ppr_test where ds = '1224' and key = '1224'
  PREHOOK: type: QUERY
+PREHOOK: Input: default@ppr_test
  PREHOOK: Input: default@ppr_test@ds=1224
  #### A masked pattern was here ####
  POSTHOOK: query: select * from ppr_test where ds = '1224' and key = '1224'
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@ppr_test
  POSTHOOK: Input: default@ppr_test@ds=1224
  #### A masked pattern was here ####
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12%4).key EXPRESSION []
@@ -353,10 +375,12 @@ POSTHOOK: Lineage: ppr_test PARTITION(ds
  1224 1224
  PREHOOK: query: select * from ppr_test where ds = '1214' and key = '1214'
  PREHOOK: type: QUERY
+PREHOOK: Input: default@ppr_test
  PREHOOK: Input: default@ppr_test@ds=1214
  #### A masked pattern was here ####
  POSTHOOK: query: select * from ppr_test where ds = '1214' and key = '1214'
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@ppr_test
  POSTHOOK: Input: default@ppr_test@ds=1214
  #### A masked pattern was here ####
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12%4).key EXPRESSION []
@@ -370,10 +394,12 @@ POSTHOOK: Lineage: ppr_test PARTITION(ds
  1214 1214
  PREHOOK: query: select * from ppr_test where ds = '12.4' and key = '12.4'
  PREHOOK: type: QUERY
+PREHOOK: Input: default@ppr_test
  PREHOOK: Input: default@ppr_test@ds=12.4
  #### A masked pattern was here ####
  POSTHOOK: query: select * from ppr_test where ds = '12.4' and key = '12.4'
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@ppr_test
  POSTHOOK: Input: default@ppr_test@ds=12.4
  #### A masked pattern was here ####
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12%4).key EXPRESSION []
@@ -387,10 +413,12 @@ POSTHOOK: Lineage: ppr_test PARTITION(ds
  12.4 12.4
  PREHOOK: query: select * from ppr_test where ds = '12+4' and key = '12+4'
  PREHOOK: type: QUERY
+PREHOOK: Input: default@ppr_test
  PREHOOK: Input: default@ppr_test@ds=12+4
  #### A masked pattern was here ####
  POSTHOOK: query: select * from ppr_test where ds = '12+4' and key = '12+4'
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@ppr_test
  POSTHOOK: Input: default@ppr_test@ds=12+4
  #### A masked pattern was here ####
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12%4).key EXPRESSION []
@@ -404,10 +432,12 @@ POSTHOOK: Lineage: ppr_test PARTITION(ds
  12+4 12+4
  PREHOOK: query: select * from ppr_test where ds = '12:4' and key = '12:4'
  PREHOOK: type: QUERY
+PREHOOK: Input: default@ppr_test
  PREHOOK: Input: default@ppr_test@ds=12%3A4
  #### A masked pattern was here ####
  POSTHOOK: query: select * from ppr_test where ds = '12:4' and key = '12:4'
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@ppr_test
  POSTHOOK: Input: default@ppr_test@ds=12%3A4
  #### A masked pattern was here ####
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12%4).key EXPRESSION []
@@ -421,10 +451,12 @@ POSTHOOK: Lineage: ppr_test PARTITION(ds
  12:4 12:4
  PREHOOK: query: select * from ppr_test where ds = '12%4' and key = '12%4'
  PREHOOK: type: QUERY
+PREHOOK: Input: default@ppr_test
  PREHOOK: Input: default@ppr_test@ds=12%254
  #### A masked pattern was here ####
  POSTHOOK: query: select * from ppr_test where ds = '12%4' and key = '12%4'
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@ppr_test
  POSTHOOK: Input: default@ppr_test@ds=12%254
  #### A masked pattern was here ####
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12%4).key EXPRESSION []
@@ -438,10 +470,12 @@ POSTHOOK: Lineage: ppr_test PARTITION(ds
  12%4 12%4
  PREHOOK: query: select * from ppr_test where ds = '12*4' and key = '12*4'
  PREHOOK: type: QUERY
+PREHOOK: Input: default@ppr_test
  PREHOOK: Input: default@ppr_test@ds=12%2A4
  #### A masked pattern was here ####
  POSTHOOK: query: select * from ppr_test where ds = '12*4' and key = '12*4'
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@ppr_test
  POSTHOOK: Input: default@ppr_test@ds=12%2A4
  #### A masked pattern was here ####
  POSTHOOK: Lineage: ppr_test PARTITION(ds=12%4).key EXPRESSION []

Modified: hive/trunk/ql/src/test/results/clientpositive/ppr_pushdown3.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/ppr_pushdown3.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/ppr_pushdown3.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/ppr_pushdown3.q.out Sun Jan 13 02:11:34 2013
@@ -45,6 +45,7 @@ STAGE PLANS:

  PREHOOK: query: select * from srcpart where key < 10
  PREHOOK: type: QUERY
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11
@@ -52,6 +53,7 @@ PREHOOK: Input: default@srcpart@ds=2008-
  #### A masked pattern was here ####
  POSTHOOK: query: select * from srcpart where key < 10
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11
@@ -2179,6 +2181,7 @@ STAGE PLANS:

  PREHOOK: query: select key from srcpart
  PREHOOK: type: QUERY
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11
@@ -2186,6 +2189,7 @@ PREHOOK: Input: default@srcpart@ds=2008-
  #### A masked pattern was here ####
  POSTHOOK: query: select key from srcpart
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11

Modified: hive/trunk/ql/src/test/results/clientpositive/protectmode.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/protectmode.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/protectmode.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/protectmode.q.out Sun Jan 13 02:11:34 2013
@@ -263,10 +263,12 @@ POSTHOOK: Input: default@tbl2@p=p2
  #### A masked pattern was here ####
  PREHOOK: query: select col from tbl2 where p='p2'
  PREHOOK: type: QUERY
+PREHOOK: Input: default@tbl2
  PREHOOK: Input: default@tbl2@p=p2
  #### A masked pattern was here ####
  POSTHOOK: query: select col from tbl2 where p='p2'
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@tbl2
  POSTHOOK: Input: default@tbl2@p=p2
  #### A masked pattern was here ####
  PREHOOK: query: alter table tbl2 partition (p='p1') disable offline
@@ -303,18 +305,22 @@ POSTHOOK: Input: default@tbl2@p=p1
  #### A masked pattern was here ####
  PREHOOK: query: select col from tbl2 where p='p1'
  PREHOOK: type: QUERY
+PREHOOK: Input: default@tbl2
  PREHOOK: Input: default@tbl2@p=p1
  #### A masked pattern was here ####
  POSTHOOK: query: select col from tbl2 where p='p1'
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@tbl2
  POSTHOOK: Input: default@tbl2@p=p1
  #### A masked pattern was here ####
  PREHOOK: query: insert overwrite table tbl1 select col from tbl2 where p='p1'
  PREHOOK: type: QUERY
+PREHOOK: Input: default@tbl2
  PREHOOK: Input: default@tbl2@p=p1
  PREHOOK: Output: default@tbl1
  POSTHOOK: query: insert overwrite table tbl1 select col from tbl2 where p='p1'
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@tbl2
  POSTHOOK: Input: default@tbl2@p=p1
  POSTHOOK: Output: default@tbl1
  POSTHOOK: Lineage: tbl1.col SIMPLE [(tbl2)tbl2.FieldSchema(name:col, type:string, comment:null), ]

Modified: hive/trunk/ql/src/test/results/clientpositive/ql_rewrite_gbtoidx.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/ql_rewrite_gbtoidx.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/ql_rewrite_gbtoidx.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/ql_rewrite_gbtoidx.q.out Sun Jan 13 02:11:34 2013
@@ -2988,10 +2988,12 @@ POSTHOOK: Lineage: default__tbl_tbl_key_
  POSTHOOK: Lineage: default__tbl_tbl_key_idx__.key SIMPLE [(tbl)tbl.FieldSchema(name:key, type:int, comment:null), ]
  PREHOOK: query: INSERT OVERWRITE TABLE tblpart PARTITION (ds='2008-04-08', hr=11) SELECT key, value FROM srcpart WHERE ds = '2008-04-08' AND hr = 11
  PREHOOK: type: QUERY
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  PREHOOK: Output: default@tblpart@ds=2008-04-08/hr=11
  POSTHOOK: query: INSERT OVERWRITE TABLE tblpart PARTITION (ds='2008-04-08', hr=11) SELECT key, value FROM srcpart WHERE ds = '2008-04-08' AND hr = 11
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  POSTHOOK: Output: default@tblpart@ds=2008-04-08/hr=11
  POSTHOOK: Lineage: default__lineitem_lineitem_lshipdate_idx__._bucketname SIMPLE [(lineitem)lineitem.FieldSchema(name:INPUT__FILE__NAME, type:string, comment:), ]
@@ -3006,10 +3008,12 @@ POSTHOOK: Lineage: tblpart PARTITION(ds=
  POSTHOOK: Lineage: tblpart PARTITION(ds=2008-04-08,hr=11).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ]
  PREHOOK: query: INSERT OVERWRITE TABLE tblpart PARTITION (ds='2008-04-08', hr=12) SELECT key, value FROM srcpart WHERE ds = '2008-04-08' AND hr = 12
  PREHOOK: type: QUERY
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  PREHOOK: Output: default@tblpart@ds=2008-04-08/hr=12
  POSTHOOK: query: INSERT OVERWRITE TABLE tblpart PARTITION (ds='2008-04-08', hr=12) SELECT key, value FROM srcpart WHERE ds = '2008-04-08' AND hr = 12
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  POSTHOOK: Output: default@tblpart@ds=2008-04-08/hr=12
  POSTHOOK: Lineage: default__lineitem_lineitem_lshipdate_idx__._bucketname SIMPLE [(lineitem)lineitem.FieldSchema(name:INPUT__FILE__NAME, type:string, comment:), ]
@@ -3026,10 +3030,12 @@ POSTHOOK: Lineage: tblpart PARTITION(ds=
  POSTHOOK: Lineage: tblpart PARTITION(ds=2008-04-08,hr=12).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ]
  PREHOOK: query: INSERT OVERWRITE TABLE tblpart PARTITION (ds='2008-04-09', hr=11) SELECT key, value FROM srcpart WHERE ds = '2008-04-09' AND hr = 11
  PREHOOK: type: QUERY
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11
  PREHOOK: Output: default@tblpart@ds=2008-04-09/hr=11
  POSTHOOK: query: INSERT OVERWRITE TABLE tblpart PARTITION (ds='2008-04-09', hr=11) SELECT key, value FROM srcpart WHERE ds = '2008-04-09' AND hr = 11
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11
  POSTHOOK: Output: default@tblpart@ds=2008-04-09/hr=11
  POSTHOOK: Lineage: default__lineitem_lineitem_lshipdate_idx__._bucketname SIMPLE [(lineitem)lineitem.FieldSchema(name:INPUT__FILE__NAME, type:string, comment:), ]
@@ -3048,10 +3054,12 @@ POSTHOOK: Lineage: tblpart PARTITION(ds=
  POSTHOOK: Lineage: tblpart PARTITION(ds=2008-04-09,hr=11).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ]
  PREHOOK: query: INSERT OVERWRITE TABLE tblpart PARTITION (ds='2008-04-09', hr=12) SELECT key, value FROM srcpart WHERE ds = '2008-04-09' AND hr = 12
  PREHOOK: type: QUERY
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12
  PREHOOK: Output: default@tblpart@ds=2008-04-09/hr=12
  POSTHOOK: query: INSERT OVERWRITE TABLE tblpart PARTITION (ds='2008-04-09', hr=12) SELECT key, value FROM srcpart WHERE ds = '2008-04-09' AND hr = 12
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12
  POSTHOOK: Output: default@tblpart@ds=2008-04-09/hr=12
  POSTHOOK: Lineage: default__lineitem_lineitem_lshipdate_idx__._bucketname SIMPLE [(lineitem)lineitem.FieldSchema(name:INPUT__FILE__NAME, type:string, comment:), ]
@@ -3093,10 +3101,12 @@ POSTHOOK: Lineage: tblpart PARTITION(ds=
  POSTHOOK: Lineage: tblpart PARTITION(ds=2008-04-09,hr=12).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ]
  PREHOOK: query: ALTER INDEX tbl_part_index ON tblpart PARTITION (ds='2008-04-08', hr=11) REBUILD
  PREHOOK: type: ALTERINDEX_REBUILD
+PREHOOK: Input: default@tblpart
  PREHOOK: Input: default@tblpart@ds=2008-04-08/hr=11
  PREHOOK: Output: default@default__tblpart_tbl_part_index__@ds=2008-04-08/hr=11
  POSTHOOK: query: ALTER INDEX tbl_part_index ON tblpart PARTITION (ds='2008-04-08', hr=11) REBUILD
  POSTHOOK: type: ALTERINDEX_REBUILD
+POSTHOOK: Input: default@tblpart
  POSTHOOK: Input: default@tblpart@ds=2008-04-08/hr=11
  POSTHOOK: Output: default@default__tblpart_tbl_part_index__@ds=2008-04-08/hr=11
  POSTHOOK: Lineage: default__lineitem_lineitem_lshipdate_idx__._bucketname SIMPLE [(lineitem)lineitem.FieldSchema(name:INPUT__FILE__NAME, type:string, comment:), ]
@@ -3218,10 +3228,12 @@ STAGE PLANS:

  PREHOOK: query: ALTER INDEX tbl_part_index ON tblpart PARTITION (ds='2008-04-08', hr=12) REBUILD
  PREHOOK: type: ALTERINDEX_REBUILD
+PREHOOK: Input: default@tblpart
  PREHOOK: Input: default@tblpart@ds=2008-04-08/hr=12
  PREHOOK: Output: default@default__tblpart_tbl_part_index__@ds=2008-04-08/hr=12
  POSTHOOK: query: ALTER INDEX tbl_part_index ON tblpart PARTITION (ds='2008-04-08', hr=12) REBUILD
  POSTHOOK: type: ALTERINDEX_REBUILD
+POSTHOOK: Input: default@tblpart
  POSTHOOK: Input: default@tblpart@ds=2008-04-08/hr=12
  POSTHOOK: Output: default@default__tblpart_tbl_part_index__@ds=2008-04-08/hr=12
  POSTHOOK: Lineage: default__lineitem_lineitem_lshipdate_idx__._bucketname SIMPLE [(lineitem)lineitem.FieldSchema(name:INPUT__FILE__NAME, type:string, comment:), ]
@@ -3250,10 +3262,12 @@ POSTHOOK: Lineage: tblpart PARTITION(ds=
  POSTHOOK: Lineage: tblpart PARTITION(ds=2008-04-09,hr=12).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ]
  PREHOOK: query: ALTER INDEX tbl_part_index ON tblpart PARTITION (ds='2008-04-09', hr=11) REBUILD
  PREHOOK: type: ALTERINDEX_REBUILD
+PREHOOK: Input: default@tblpart
  PREHOOK: Input: default@tblpart@ds=2008-04-09/hr=11
  PREHOOK: Output: default@default__tblpart_tbl_part_index__@ds=2008-04-09/hr=11
  POSTHOOK: query: ALTER INDEX tbl_part_index ON tblpart PARTITION (ds='2008-04-09', hr=11) REBUILD
  POSTHOOK: type: ALTERINDEX_REBUILD
+POSTHOOK: Input: default@tblpart
  POSTHOOK: Input: default@tblpart@ds=2008-04-09/hr=11
  POSTHOOK: Output: default@default__tblpart_tbl_part_index__@ds=2008-04-09/hr=11
  POSTHOOK: Lineage: default__lineitem_lineitem_lshipdate_idx__._bucketname SIMPLE [(lineitem)lineitem.FieldSchema(name:INPUT__FILE__NAME, type:string, comment:), ]
@@ -3286,10 +3300,12 @@ POSTHOOK: Lineage: tblpart PARTITION(ds=
  POSTHOOK: Lineage: tblpart PARTITION(ds=2008-04-09,hr=12).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ]
  PREHOOK: query: ALTER INDEX tbl_part_index ON tblpart PARTITION (ds='2008-04-09', hr=12) REBUILD
  PREHOOK: type: ALTERINDEX_REBUILD
+PREHOOK: Input: default@tblpart
  PREHOOK: Input: default@tblpart@ds=2008-04-09/hr=12
  PREHOOK: Output: default@default__tblpart_tbl_part_index__@ds=2008-04-09/hr=12
  POSTHOOK: query: ALTER INDEX tbl_part_index ON tblpart PARTITION (ds='2008-04-09', hr=12) REBUILD
  POSTHOOK: type: ALTERINDEX_REBUILD
+POSTHOOK: Input: default@tblpart
  POSTHOOK: Input: default@tblpart@ds=2008-04-09/hr=12
  POSTHOOK: Output: default@default__tblpart_tbl_part_index__@ds=2008-04-09/hr=12
  POSTHOOK: Lineage: default__lineitem_lineitem_lshipdate_idx__._bucketname SIMPLE [(lineitem)lineitem.FieldSchema(name:INPUT__FILE__NAME, type:string, comment:), ]

Modified: hive/trunk/ql/src/test/results/clientpositive/quote1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/quote1.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/quote1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/quote1.q.out Sun Jan 13 02:11:34 2013
@@ -174,10 +174,12 @@ POSTHOOK: Lineage: dest1 PARTITION(table
  POSTHOOK: Lineage: dest1 PARTITION(table=2008-04-08).type SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
  PREHOOK: query: SELECT `int`.`location`, `int`.`type`, `int`.`table` FROM dest1 `int` WHERE `int`.`table` = '2008-04-08'
  PREHOOK: type: QUERY
+PREHOOK: Input: default@dest1
  PREHOOK: Input: default@dest1@table=2008-04-08
  #### A masked pattern was here ####
  POSTHOOK: query: SELECT `int`.`location`, `int`.`type`, `int`.`table` FROM dest1 `int` WHERE `int`.`table` = '2008-04-08'
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@dest1
  POSTHOOK: Input: default@dest1@table=2008-04-08
  #### A masked pattern was here ####
  POSTHOOK: Lineage: dest1 PARTITION(table=2008-04-08).location EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ]

Modified: hive/trunk/ql/src/test/results/clientpositive/rand_partitionpruner2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/rand_partitionpruner2.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/rand_partitionpruner2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/rand_partitionpruner2.q.out Sun Jan 13 02:11:34 2013
@@ -355,12 +355,14 @@ STAGE PLANS:
  PREHOOK: query: insert overwrite table tmptable
  select a.* from srcpart a where rand(1) < 0.1 and a.ds = '2008-04-08'
  PREHOOK: type: QUERY
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  PREHOOK: Output: default@tmptable
  POSTHOOK: query: insert overwrite table tmptable
  select a.* from srcpart a where rand(1) < 0.1 and a.ds = '2008-04-08'
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  POSTHOOK: Output: default@tmptable

Modified: hive/trunk/ql/src/test/results/clientpositive/rand_partitionpruner3.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/rand_partitionpruner3.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/rand_partitionpruner3.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/rand_partitionpruner3.q.out Sun Jan 13 02:11:34 2013
@@ -115,10 +115,12 @@ STAGE PLANS:

  PREHOOK: query: select a.* from srcpart a where rand(1) < 0.1 and a.ds = '2008-04-08' and not(key > 50 or key < 10) and a.hr like '%2'
  PREHOOK: type: QUERY
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  #### A masked pattern was here ####
  POSTHOOK: query: select a.* from srcpart a where rand(1) < 0.1 and a.ds = '2008-04-08' and not(key > 50 or key < 10) and a.hr like '%2'
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  #### A masked pattern was here ####
  42 val_42 2008-04-08 12
@@ -241,10 +243,12 @@ STAGE PLANS:

  PREHOOK: query: select a.* from srcpart a where a.ds = '2008-04-08' and not(key > 50 or key < 10) and a.hr like '%2'
  PREHOOK: type: QUERY
+PREHOOK: Input: default@srcpart
  PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  #### A masked pattern was here ####
  POSTHOOK: query: select a.* from srcpart a where a.ds = '2008-04-08' and not(key > 50 or key < 10) and a.hr like '%2'
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@srcpart
  POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  #### A masked pattern was here ####
  27 val_27 2008-04-08 12

Modified: hive/trunk/ql/src/test/results/clientpositive/rcfile_createas1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/rcfile_createas1.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/rcfile_createas1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/rcfile_createas1.q.out Sun Jan 13 02:11:34 2013
@@ -141,6 +141,7 @@ PREHOOK: query: CREATE TABLE rcfile_crea
          SELECT key, value, PMOD(HASH(key), 50) as part
          FROM rcfile_createas1a
  PREHOOK: type: CREATETABLE_AS_SELECT
+PREHOOK: Input: default@rcfile_createas1a
  PREHOOK: Input: default@rcfile_createas1a@ds=1
  PREHOOK: Input: default@rcfile_createas1a@ds=2
  POSTHOOK: query: CREATE TABLE rcfile_createas1b
@@ -148,6 +149,7 @@ POSTHOOK: query: CREATE TABLE rcfile_cre
          SELECT key, value, PMOD(HASH(key), 50) as part
          FROM rcfile_createas1a
  POSTHOOK: type: CREATETABLE_AS_SELECT
+POSTHOOK: Input: default@rcfile_createas1a
  POSTHOOK: Input: default@rcfile_createas1a@ds=1
  POSTHOOK: Input: default@rcfile_createas1a@ds=2
  POSTHOOK: Output: default@rcfile_createas1b
@@ -160,6 +162,7 @@ PREHOOK: query: SELECT SUM(HASH(c)) FROM
      FROM rcfile_createas1a
  ) t
  PREHOOK: type: QUERY
+PREHOOK: Input: default@rcfile_createas1a
  PREHOOK: Input: default@rcfile_createas1a@ds=1
  PREHOOK: Input: default@rcfile_createas1a@ds=2
  #### A masked pattern was here ####
@@ -168,6 +171,7 @@ POSTHOOK: query: SELECT SUM(HASH(c)) FRO
      FROM rcfile_createas1a
  ) t
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@rcfile_createas1a
  POSTHOOK: Input: default@rcfile_createas1a@ds=1
  POSTHOOK: Input: default@rcfile_createas1a@ds=2
  #### A masked pattern was here ####

Modified: hive/trunk/ql/src/test/results/clientpositive/rcfile_merge1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/rcfile_merge1.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/rcfile_merge1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/rcfile_merge1.q.out Sun Jan 13 02:11:34 2013
@@ -1250,6 +1250,7 @@ SELECT SUM(HASH(c)) FROM (
      FROM rcfile_merge1 WHERE ds='1'
  ) t
  PREHOOK: type: QUERY
+PREHOOK: Input: default@rcfile_merge1
  PREHOOK: Input: default@rcfile_merge1@ds=1/part=0
  PREHOOK: Input: default@rcfile_merge1@ds=1/part=1
  PREHOOK: Input: default@rcfile_merge1@ds=1/part=10
@@ -1356,6 +1357,7 @@ SELECT SUM(HASH(c)) FROM (
      FROM rcfile_merge1 WHERE ds='1'
  ) t
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@rcfile_merge1
  POSTHOOK: Input: default@rcfile_merge1@ds=1/part=0
  POSTHOOK: Input: default@rcfile_merge1@ds=1/part=1
  POSTHOOK: Input: default@rcfile_merge1@ds=1/part=10
@@ -1858,6 +1860,7 @@ PREHOOK: query: SELECT SUM(HASH(c)) FROM
      FROM rcfile_merge1b WHERE ds='1'
  ) t
  PREHOOK: type: QUERY
+PREHOOK: Input: default@rcfile_merge1b
  PREHOOK: Input: default@rcfile_merge1b@ds=1/part=0
  PREHOOK: Input: default@rcfile_merge1b@ds=1/part=1
  PREHOOK: Input: default@rcfile_merge1b@ds=1/part=10
@@ -1963,6 +1966,7 @@ POSTHOOK: query: SELECT SUM(HASH(c)) FRO
      FROM rcfile_merge1b WHERE ds='1'
  ) t
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@rcfile_merge1b
  POSTHOOK: Input: default@rcfile_merge1b@ds=1/part=0
  POSTHOOK: Input: default@rcfile_merge1b@ds=1/part=1
  POSTHOOK: Input: default@rcfile_merge1b@ds=1/part=10

Modified: hive/trunk/ql/src/test/results/clientpositive/rcfile_merge2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/rcfile_merge2.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/rcfile_merge2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/rcfile_merge2.q.out Sun Jan 13 02:11:34 2013
@@ -189,6 +189,7 @@ PREHOOK: query: SELECT SUM(HASH(c)) FROM
      FROM rcfile_merge2a
  ) t
  PREHOOK: type: QUERY
+PREHOOK: Input: default@rcfile_merge2a
  PREHOOK: Input: default@rcfile_merge2a@one=1/two=0/three=2
  PREHOOK: Input: default@rcfile_merge2a@one=1/two=0/three=8
  PREHOOK: Input: default@rcfile_merge2a@one=1/two=1/three=3
@@ -215,6 +216,7 @@ POSTHOOK: query: SELECT SUM(HASH(c)) FRO
      FROM rcfile_merge2a
  ) t
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@rcfile_merge2a
  POSTHOOK: Input: default@rcfile_merge2a@one=1/two=0/three=2
  POSTHOOK: Input: default@rcfile_merge2a@one=1/two=0/three=8
  POSTHOOK: Input: default@rcfile_merge2a@one=1/two=1/three=3

Modified: hive/trunk/ql/src/test/results/clientpositive/rcfile_merge3.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/rcfile_merge3.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/rcfile_merge3.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/rcfile_merge3.q.out Sun Jan 13 02:11:34 2013
@@ -128,12 +128,14 @@ STAGE PLANS:
  PREHOOK: query: INSERT OVERWRITE TABLE rcfile_merge3b
      SELECT key, value FROM rcfile_merge3a
  PREHOOK: type: QUERY
+PREHOOK: Input: default@rcfile_merge3a
  PREHOOK: Input: default@rcfile_merge3a@ds=1
  PREHOOK: Input: default@rcfile_merge3a@ds=2
  PREHOOK: Output: default@rcfile_merge3b
  POSTHOOK: query: INSERT OVERWRITE TABLE rcfile_merge3b
      SELECT key, value FROM rcfile_merge3a
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@rcfile_merge3a
  POSTHOOK: Input: default@rcfile_merge3a@ds=1
  POSTHOOK: Input: default@rcfile_merge3a@ds=2
  POSTHOOK: Output: default@rcfile_merge3b
@@ -148,6 +150,7 @@ PREHOOK: query: SELECT SUM(HASH(c)) FROM
      FROM rcfile_merge3a
  ) t
  PREHOOK: type: QUERY
+PREHOOK: Input: default@rcfile_merge3a
  PREHOOK: Input: default@rcfile_merge3a@ds=1
  PREHOOK: Input: default@rcfile_merge3a@ds=2
  #### A masked pattern was here ####
@@ -156,6 +159,7 @@ POSTHOOK: query: SELECT SUM(HASH(c)) FRO
      FROM rcfile_merge3a
  ) t
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@rcfile_merge3a
  POSTHOOK: Input: default@rcfile_merge3a@ds=1
  POSTHOOK: Input: default@rcfile_merge3a@ds=2
  #### A masked pattern was here ####

Modified: hive/trunk/ql/src/test/results/clientpositive/rcfile_merge4.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/rcfile_merge4.q.out?rev=1432543&r1=1432542&r2=1432543&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/rcfile_merge4.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/rcfile_merge4.q.out Sun Jan 13 02:11:34 2013
@@ -148,12 +148,14 @@ STAGE PLANS:
  PREHOOK: query: INSERT OVERWRITE TABLE rcfile_merge3b
      SELECT key, value FROM rcfile_merge3a
  PREHOOK: type: QUERY
+PREHOOK: Input: default@rcfile_merge3a
  PREHOOK: Input: default@rcfile_merge3a@ds=1
  PREHOOK: Input: default@rcfile_merge3a@ds=2
  PREHOOK: Output: default@rcfile_merge3b
  POSTHOOK: query: INSERT OVERWRITE TABLE rcfile_merge3b
      SELECT key, value FROM rcfile_merge3a
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@rcfile_merge3a
  POSTHOOK: Input: default@rcfile_merge3a@ds=1
  POSTHOOK: Input: default@rcfile_merge3a@ds=2
  POSTHOOK: Output: default@rcfile_merge3b
@@ -168,6 +170,7 @@ PREHOOK: query: SELECT SUM(HASH(c)) FROM
      FROM rcfile_merge3a
  ) t
  PREHOOK: type: QUERY
+PREHOOK: Input: default@rcfile_merge3a
  PREHOOK: Input: default@rcfile_merge3a@ds=1
  PREHOOK: Input: default@rcfile_merge3a@ds=2
  #### A masked pattern was here ####
@@ -176,6 +179,7 @@ POSTHOOK: query: SELECT SUM(HASH(c)) FRO
      FROM rcfile_merge3a
  ) t
  POSTHOOK: type: QUERY
+POSTHOOK: Input: default@rcfile_merge3a
  POSTHOOK: Input: default@rcfile_merge3a@ds=1
  POSTHOOK: Input: default@rcfile_merge3a@ds=2
  #### A masked pattern was here ####

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 7 of 7 | next ›
Discussion Overview
groupcommits @
categorieshive, hadoop
postedJan 13, '13 at 2:12a
activeJan 13, '13 at 2:13a
posts7
users1
websitehive.apache.org

1 user in discussion

Kevinwilfong: 7 posts

People

Translate

site design / logo © 2021 Grokbase