hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1618215 [15/25] - in /hive/branches/spark: ./ bin/ common/src/java/org/apache/hadoop/hive/conf/ contrib/src/test/results/clientnegative/ contrib/src/test/results/clientpositive/ hbase-handler/src/test/results/negative/ hbase-handler/src/te...
Date Fri, 15 Aug 2014 15:38:13 GMT
Modified: hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_7.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_7.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_7.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_7.q.out Fri Aug 15 15:37:46 2014
@@ -4,6 +4,7 @@ CREATE TABLE T1(key STRING, val STRING) 
 CLUSTERED BY (val) SORTED BY (key, val) INTO 2 BUCKETS STORED AS TEXTFILE
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@T1
 POSTHOOK: query: -- SORT_QUERY_RESULTS
 
 CREATE TABLE T1(key STRING, val STRING) PARTITIONED BY (ds string)
@@ -37,6 +38,7 @@ POSTHOOK: Lineage: t1 PARTITION(ds=1).va
 PREHOOK: query: CREATE TABLE outputTbl1(key STRING, val STRING, cnt INT)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@outputTbl1
 POSTHOOK: query: CREATE TABLE outputTbl1(key STRING, val STRING, cnt INT)
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default

Modified: hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_8.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_8.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_8.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_8.q.out Fri Aug 15 15:37:46 2014
@@ -2,6 +2,7 @@ PREHOOK: query: CREATE TABLE T1(key STRI
 CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@T1
 POSTHOOK: query: CREATE TABLE T1(key STRING, val STRING) PARTITIONED BY (ds string)
 CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE
 POSTHOOK: type: CREATETABLE

Modified: hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_9.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_9.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_9.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_9.q.out Fri Aug 15 15:37:46 2014
@@ -2,6 +2,7 @@ PREHOOK: query: CREATE TABLE T1(key STRI
 CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@T1
 POSTHOOK: query: CREATE TABLE T1(key STRING, val STRING) PARTITIONED BY (ds string)
 CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE
 POSTHOOK: type: CREATETABLE

Modified: hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_skew_1_23.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_skew_1_23.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
Files hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_skew_1_23.q.out (original) and hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_skew_1_23.q.out Fri Aug 15 15:37:46 2014 differ

Modified: hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_test_1.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_test_1.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_test_1.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/groupby_sort_test_1.q.out Fri Aug 15 15:37:46 2014
@@ -2,6 +2,7 @@ PREHOOK: query: CREATE TABLE T1(key STRI
 CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@T1
 POSTHOOK: query: CREATE TABLE T1(key STRING, val STRING)
 CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE
 POSTHOOK: type: CREATETABLE
@@ -30,6 +31,7 @@ POSTHOOK: Lineage: t1.val SIMPLE [(t1)t1
 PREHOOK: query: CREATE TABLE outputTbl1(key int, cnt int)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@outputTbl1
 POSTHOOK: query: CREATE TABLE outputTbl1(key int, cnt int)
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default

Modified: hive/branches/spark/ql/src/test/results/clientpositive/having2.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/having2.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/having2.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/having2.q.out Fri Aug 15 15:37:46 2014
@@ -52,6 +52,7 @@ PREHOOK: query: CREATE TABLE TestV1_Stap
       )
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@TestV1_Staples
 POSTHOOK: query: CREATE TABLE TestV1_Staples (
       Item_Count INT,
       Ship_Priority STRING,

Modified: hive/branches/spark/ql/src/test/results/clientpositive/hook_context_cs.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/hook_context_cs.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/hook_context_cs.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/hook_context_cs.q.out Fri Aug 15 15:37:46 2014
@@ -5,6 +5,7 @@ POSTHOOK: type: DROPTABLE
 PREHOOK: query: CREATE TABLE vcsc (c STRING) PARTITIONED BY (ds STRING)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@vcsc
 POSTHOOK: query: CREATE TABLE vcsc (c STRING) PARTITIONED BY (ds STRING)
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default

Modified: hive/branches/spark/ql/src/test/results/clientpositive/implicit_cast1.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/implicit_cast1.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/implicit_cast1.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/implicit_cast1.q.out Fri Aug 15 15:37:46 2014
@@ -1,6 +1,7 @@
 PREHOOK: query: CREATE TABLE implicit_test1(a BIGINT, b STRING) ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDe' WITH SERDEPROPERTIES('serialization.format'= 'org.apache.hadoop.hive.serde2.thrift.TCTLSeparatedProtocol') STORED AS TEXTFILE
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@implicit_test1
 POSTHOOK: query: CREATE TABLE implicit_test1(a BIGINT, b STRING) ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDe' WITH SERDEPROPERTIES('serialization.format'= 'org.apache.hadoop.hive.serde2.thrift.TCTLSeparatedProtocol') STORED AS TEXTFILE
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_auth.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_auth.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_auth.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_auth.q.out Fri Aug 15 15:37:46 2014
@@ -1,6 +1,7 @@
 PREHOOK: query: create table foobar(key int, value string) PARTITIONED BY (ds string, hr string)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@foobar
 POSTHOOK: query: create table foobar(key int, value string) PARTITIONED BY (ds string, hr string)
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default
@@ -14,8 +15,10 @@ POSTHOOK: Output: default@foobar
 POSTHOOK: Output: default@foobar@ds=2008-04-08/hr=12
 PREHOOK: query: CREATE INDEX srcpart_AUTH_index ON TABLE foobar(key) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@foobar
 POSTHOOK: query: CREATE INDEX srcpart_AUTH_index ON TABLE foobar(key) as 'BITMAP' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@foobar
 POSTHOOK: Output: default@default__foobar_srcpart_auth_index__
 PREHOOK: query: SHOW INDEXES ON foobar
 PREHOOK: type: SHOWINDEXES
@@ -62,8 +65,10 @@ POSTHOOK: Lineage: default__foobar_srcpa
 POSTHOOK: Lineage: default__foobar_srcpart_auth_index__ PARTITION(ds=2008-04-08,hr=12).key SIMPLE [(foobar)foobar.FieldSchema(name:key, type:int, comment:null), ]
 PREHOOK: query: DROP INDEX srcpart_auth_index on foobar
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@foobar
 POSTHOOK: query: DROP INDEX srcpart_auth_index on foobar
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@foobar
 PREHOOK: query: DROP TABLE foobar
 PREHOOK: type: DROPTABLE
 PREHOOK: Input: default@foobar

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_auto.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_auto.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_auto.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_auto.q.out Fri Aug 15 15:37:46 2014
@@ -35,8 +35,10 @@ POSTHOOK: Input: default@src
 98	val_98
 PREHOOK: query: CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_index__
 PREHOOK: query: ALTER INDEX src_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -260,5 +262,7 @@ POSTHOOK: Input: default@src
 98	val_98
 PREHOOK: query: DROP INDEX src_index on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX src_index on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_auto_empty.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_auto_empty.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_auto_empty.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_auto_empty.q.out Fri Aug 15 15:37:46 2014
@@ -4,6 +4,7 @@ PREHOOK: query: -- Test to ensure that a
 CREATE TABLE temp(key STRING, val STRING) STORED AS TEXTFILE
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@temp
 POSTHOOK: query: -- Test to ensure that an empty index result is propagated correctly
 
 -- Create temp, and populate it with some values in src.
@@ -14,9 +15,11 @@ POSTHOOK: Output: default@temp
 PREHOOK: query: -- Build an index on temp.
 CREATE INDEX temp_index ON TABLE temp(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@temp
 POSTHOOK: query: -- Build an index on temp.
 CREATE INDEX temp_index ON TABLE temp(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@temp
 POSTHOOK: Output: default@default__temp_temp_index__
 PREHOOK: query: ALTER INDEX temp_index ON temp REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_auto_file_format.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_auto_file_format.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_auto_file_format.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_auto_file_format.q.out Fri Aug 15 15:37:46 2014
@@ -2,10 +2,12 @@ PREHOOK: query: -- SORT_QUERY_RESULTS
 -- test automatic use of index on different file formats
 CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: -- SORT_QUERY_RESULTS
 -- test automatic use of index on different file formats
 CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_index__
 PREHOOK: query: ALTER INDEX src_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -252,5 +254,7 @@ POSTHOOK: Input: default@src
 86	val_86
 PREHOOK: query: DROP INDEX src_index on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX src_index on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_auto_mult_tables.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_auto_mult_tables.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_auto_mult_tables.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_auto_mult_tables.q.out Fri Aug 15 15:37:46 2014
@@ -136,8 +136,10 @@ POSTHOOK: Input: default@srcpart@ds=2008
 87	val_87
 PREHOOK: query: CREATE INDEX src_index ON TABLE src(key) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: CREATE INDEX src_index ON TABLE src(key) as 'BITMAP' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_index__
 PREHOOK: query: ALTER INDEX src_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -153,8 +155,10 @@ POSTHOOK: Lineage: default__src_src_inde
 POSTHOOK: Lineage: default__src_src_index__.key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ]
 PREHOOK: query: CREATE INDEX srcpart_index ON TABLE srcpart(key) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@srcpart
 POSTHOOK: query: CREATE INDEX srcpart_index ON TABLE srcpart(key) as 'BITMAP' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@srcpart
 POSTHOOK: Output: default@default__srcpart_srcpart_index__
 PREHOOK: query: ALTER INDEX srcpart_index ON srcpart REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -416,9 +420,13 @@ POSTHOOK: Input: default@srcpart@ds=2008
 87	val_87
 PREHOOK: query: DROP INDEX src_index on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX src_index on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: DROP INDEX srcpart_index on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX srcpart_index on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_auto_mult_tables_compact.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_auto_mult_tables_compact.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_auto_mult_tables_compact.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_auto_mult_tables_compact.q.out Fri Aug 15 15:37:46 2014
@@ -136,8 +136,10 @@ POSTHOOK: Input: default@srcpart@ds=2008
 87	val_87
 PREHOOK: query: CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_index__
 PREHOOK: query: ALTER INDEX src_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -152,8 +154,10 @@ POSTHOOK: Lineage: default__src_src_inde
 POSTHOOK: Lineage: default__src_src_index__.key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ]
 PREHOOK: query: CREATE INDEX srcpart_index ON TABLE srcpart(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@srcpart
 POSTHOOK: query: CREATE INDEX srcpart_index ON TABLE srcpart(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@srcpart
 POSTHOOK: Output: default@default__srcpart_srcpart_index__
 PREHOOK: query: ALTER INDEX srcpart_index ON srcpart REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -462,9 +466,13 @@ POSTHOOK: Input: default@srcpart@ds=2008
 87	val_87
 PREHOOK: query: DROP INDEX src_index on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX src_index on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: DROP INDEX srcpart_index on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX srcpart_index on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_auto_multiple.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_auto_multiple.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_auto_multiple.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_auto_multiple.q.out Fri Aug 15 15:37:46 2014
@@ -3,16 +3,20 @@ PREHOOK: query: -- SORT_QUERY_RESULTS
 
 CREATE INDEX src_key_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: -- SORT_QUERY_RESULTS
 -- With multiple indexes, make sure we choose which to use in a consistent order
 
 CREATE INDEX src_key_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_key_index__
 PREHOOK: query: CREATE INDEX src_val_index ON TABLE src(value) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: CREATE INDEX src_val_index ON TABLE src(value) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_val_index__
 PREHOOK: query: ALTER INDEX src_key_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -154,9 +158,13 @@ POSTHOOK: Input: default@src
 86	val_86
 PREHOOK: query: DROP INDEX src_key_index ON src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX src_key_index ON src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: DROP INDEX src_val_index ON src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX src_val_index ON src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_auto_partitioned.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_auto_partitioned.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_auto_partitioned.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_auto_partitioned.q.out Fri Aug 15 15:37:46 2014
@@ -2,10 +2,12 @@ PREHOOK: query: -- SORT_QUERY_RESULTS
 -- test automatic use of index on table with partitions
 CREATE INDEX src_part_index ON TABLE srcpart(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@srcpart
 POSTHOOK: query: -- SORT_QUERY_RESULTS
 -- test automatic use of index on table with partitions
 CREATE INDEX src_part_index ON TABLE srcpart(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@srcpart
 POSTHOOK: Output: default@default__srcpart_src_part_index__
 PREHOOK: query: ALTER INDEX src_part_index ON srcpart REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -159,5 +161,7 @@ POSTHOOK: Input: default@srcpart@ds=2008
 86	val_86
 PREHOOK: query: DROP INDEX src_part_index ON srcpart
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@srcpart
 POSTHOOK: query: DROP INDEX src_part_index ON srcpart
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@srcpart

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_auto_self_join.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_auto_self_join.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_auto_self_join.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_auto_self_join.q.out Fri Aug 15 15:37:46 2014
@@ -89,8 +89,10 @@ POSTHOOK: Input: default@src
 87	87
 PREHOOK: query: CREATE INDEX src_index ON TABLE src(key) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: CREATE INDEX src_index ON TABLE src(key) as 'BITMAP' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_index__
 PREHOOK: query: ALTER INDEX src_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -283,5 +285,7 @@ POSTHOOK: Input: default@src
 87	87
 PREHOOK: query: DROP INDEX src_index on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX src_index on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_auto_unused.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_auto_unused.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_auto_unused.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_auto_unused.q.out Fri Aug 15 15:37:46 2014
@@ -3,11 +3,13 @@ PREHOOK: query: -- SORT_QUERY_RESULTS
 
 CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: -- SORT_QUERY_RESULTS
 -- test cases where the index should not be used automatically
 
 CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_index__
 PREHOOK: query: ALTER INDEX src_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -234,13 +236,17 @@ POSTHOOK: Input: default@src
 PREHOOK: query: -- columns are not covered by indexes
 DROP INDEX src_index on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: -- columns are not covered by indexes
 DROP INDEX src_index on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: CREATE INDEX src_val_index ON TABLE src(value) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: CREATE INDEX src_val_index ON TABLE src(value) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_val_index__
 PREHOOK: query: ALTER INDEX src_val_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -319,14 +325,18 @@ POSTHOOK: Input: default@src
 98	val_98
 PREHOOK: query: DROP INDEX src_val_index on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX src_val_index on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: -- required partitions have not been built yet
 CREATE INDEX src_part_index ON TABLE srcpart(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@srcpart
 POSTHOOK: query: -- required partitions have not been built yet
 CREATE INDEX src_part_index ON TABLE srcpart(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@srcpart
 POSTHOOK: Output: default@default__srcpart_src_part_index__
 PREHOOK: query: ALTER INDEX src_part_index ON srcpart PARTITION (ds='2008-04-08', hr=11) REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -400,5 +410,7 @@ POSTHOOK: Input: default@srcpart@ds=2008
 9	val_9	2008-04-09	12
 PREHOOK: query: DROP INDEX src_part_index on srcpart
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@srcpart
 POSTHOOK: query: DROP INDEX src_part_index on srcpart
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@srcpart

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_auto_update.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_auto_update.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_auto_update.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_auto_update.q.out Fri Aug 15 15:37:46 2014
@@ -4,6 +4,7 @@ PREHOOK: query: -- Test if index is actu
 CREATE TABLE temp(key STRING, val STRING) STORED AS TEXTFILE
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@temp
 POSTHOOK: query: -- Test if index is actually being used.
 
 -- Create temp, and populate it with some values in src.
@@ -24,9 +25,11 @@ POSTHOOK: Lineage: temp.val SIMPLE [(src
 PREHOOK: query: -- Build an index on temp.
 CREATE INDEX temp_index ON TABLE temp(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@temp
 POSTHOOK: query: -- Build an index on temp.
 CREATE INDEX temp_index ON TABLE temp(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@temp
 POSTHOOK: Output: default@default__temp_temp_index__
 PREHOOK: query: ALTER INDEX temp_index ON temp REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap.q.out Fri Aug 15 15:37:46 2014
@@ -2,10 +2,12 @@ PREHOOK: query: -- SORT_QUERY_RESULTS
 
 DROP INDEX srcpart_index_proj on srcpart
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@srcpart
 POSTHOOK: query: -- SORT_QUERY_RESULTS
 
 DROP INDEX srcpart_index_proj on srcpart
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@srcpart
 PREHOOK: query: EXPLAIN
 CREATE INDEX srcpart_index_proj ON TABLE srcpart(key) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
@@ -20,8 +22,10 @@ STAGE PLANS:
 
 PREHOOK: query: CREATE INDEX srcpart_index_proj ON TABLE srcpart(key) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@srcpart
 POSTHOOK: query: CREATE INDEX srcpart_index_proj ON TABLE srcpart(key) as 'BITMAP' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@srcpart
 POSTHOOK: Output: default@default__srcpart_srcpart_index_proj__
 PREHOOK: query: ALTER INDEX srcpart_index_proj ON srcpart REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -128,8 +132,10 @@ POSTHOOK: Input: default@srcpart@ds=2008
 100	val_100
 PREHOOK: query: DROP INDEX srcpart_index_proj on srcpart
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@srcpart
 POSTHOOK: query: DROP INDEX srcpart_index_proj on srcpart
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@srcpart
 PREHOOK: query: EXPLAIN
 CREATE INDEX srcpart_index_proj ON TABLE srcpart(key) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
@@ -144,8 +150,10 @@ STAGE PLANS:
 
 PREHOOK: query: CREATE INDEX srcpart_index_proj ON TABLE srcpart(key) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@srcpart
 POSTHOOK: query: CREATE INDEX srcpart_index_proj ON TABLE srcpart(key) as 'BITMAP' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@srcpart
 POSTHOOK: Output: default@default__srcpart_srcpart_index_proj__
 PREHOOK: query: ALTER  INDEX srcpart_index_proj ON srcpart REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -257,5 +265,7 @@ POSTHOOK: Input: default@srcpart@ds=2008
 100	val_100
 PREHOOK: query: DROP INDEX srcpart_index_proj on srcpart
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@srcpart
 POSTHOOK: query: DROP INDEX srcpart_index_proj on srcpart
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@srcpart

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap1.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap1.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap1.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap1.q.out Fri Aug 15 15:37:46 2014
@@ -16,8 +16,10 @@ STAGE PLANS:
 
 PREHOOK: query: CREATE INDEX src_index ON TABLE src(key) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: CREATE INDEX src_index ON TABLE src(key) as 'BITMAP' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_index__
 PREHOOK: query: ALTER INDEX src_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -71,5 +73,7 @@ POSTHOOK: Input: default@src
 100	val_100
 PREHOOK: query: DROP INDEX src_index ON src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX src_index ON src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap2.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap2.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap2.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap2.q.out Fri Aug 15 15:37:46 2014
@@ -28,13 +28,17 @@ STAGE PLANS:
 
 PREHOOK: query: CREATE INDEX src1_index ON TABLE src(key) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: CREATE INDEX src1_index ON TABLE src(key) as 'BITMAP' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src1_index__
 PREHOOK: query: CREATE INDEX src2_index ON TABLE src(value) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: CREATE INDEX src2_index ON TABLE src(value) as 'BITMAP' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src2_index__
 PREHOOK: query: ALTER INDEX src1_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -126,9 +130,13 @@ POSTHOOK: Input: default@src
 2	val_2
 PREHOOK: query: DROP INDEX src1_index ON src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX src1_index ON src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: DROP INDEX src2_index ON src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX src2_index ON src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap3.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap3.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap3.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap3.q.out Fri Aug 15 15:37:46 2014
@@ -28,13 +28,17 @@ STAGE PLANS:
 
 PREHOOK: query: CREATE INDEX src1_index ON TABLE src(key) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: CREATE INDEX src1_index ON TABLE src(key) as 'BITMAP' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src1_index__
 PREHOOK: query: CREATE INDEX src2_index ON TABLE src(value) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: CREATE INDEX src2_index ON TABLE src(value) as 'BITMAP' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src2_index__
 PREHOOK: query: ALTER INDEX src1_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -254,9 +258,13 @@ POSTHOOK: Input: default@src
 0	val_0
 PREHOOK: query: DROP INDEX src1_index ON src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX src1_index ON src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: DROP INDEX src2_index ON src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX src2_index ON src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap_auto.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap_auto.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap_auto.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap_auto.q.out Fri Aug 15 15:37:46 2014
@@ -45,13 +45,17 @@ STAGE PLANS:
 
 PREHOOK: query: CREATE INDEX src1_index ON TABLE src(key) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: CREATE INDEX src1_index ON TABLE src(key) as 'BITMAP' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src1_index__
 PREHOOK: query: CREATE INDEX src2_index ON TABLE src(value) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: CREATE INDEX src2_index ON TABLE src(value) as 'BITMAP' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src2_index__
 PREHOOK: query: ALTER INDEX src1_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -277,9 +281,13 @@ POSTHOOK: Input: default@src
 0	val_0
 PREHOOK: query: DROP INDEX src1_index ON src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX src1_index ON src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: DROP INDEX src2_index ON src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX src2_index ON src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap_auto_partitioned.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap_auto_partitioned.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap_auto_partitioned.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap_auto_partitioned.q.out Fri Aug 15 15:37:46 2014
@@ -3,11 +3,13 @@ PREHOOK: query: -- SORT_QUERY_RESULTS
 -- test automatic use of index on table with partitions
 CREATE INDEX src_part_index ON TABLE srcpart(key) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@srcpart
 POSTHOOK: query: -- SORT_QUERY_RESULTS
 
 -- test automatic use of index on table with partitions
 CREATE INDEX src_part_index ON TABLE srcpart(key) as 'BITMAP' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@srcpart
 POSTHOOK: Output: default@default__srcpart_src_part_index__
 PREHOOK: query: ALTER INDEX src_part_index ON srcpart REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -139,5 +141,7 @@ POSTHOOK: Input: default@srcpart@ds=2008
 86	val_86
 PREHOOK: query: DROP INDEX src_part_index ON srcpart
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@srcpart
 POSTHOOK: query: DROP INDEX src_part_index ON srcpart
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@srcpart

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap_compression.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap_compression.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap_compression.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap_compression.q.out Fri Aug 15 15:37:46 2014
@@ -2,10 +2,12 @@ PREHOOK: query: -- SORT_QUERY_RESULTS
 
 CREATE INDEX src_index ON TABLE src(key) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: -- SORT_QUERY_RESULTS
 
 CREATE INDEX src_index ON TABLE src(key) as 'BITMAP' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_index__
 PREHOOK: query: ALTER INDEX src_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -134,5 +136,7 @@ POSTHOOK: Input: default@src
 98	val_98
 PREHOOK: query: DROP INDEX src_index on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX src_index on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap_rc.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap_rc.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap_rc.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_bitmap_rc.q.out Fri Aug 15 15:37:46 2014
@@ -3,6 +3,7 @@ PREHOOK: query: -- SORT_QUERY_RESULTS
 CREATE TABLE srcpart_rc (key int, value string) PARTITIONED BY (ds string, hr int) STORED AS RCFILE
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@srcpart_rc
 POSTHOOK: query: -- SORT_QUERY_RESULTS
 
 CREATE TABLE srcpart_rc (key int, value string) PARTITIONED BY (ds string, hr int) STORED AS RCFILE
@@ -71,8 +72,10 @@ STAGE PLANS:
 
 PREHOOK: query: CREATE INDEX srcpart_rc_index ON TABLE srcpart_rc(key) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@srcpart_rc
 POSTHOOK: query: CREATE INDEX srcpart_rc_index ON TABLE srcpart_rc(key) as 'BITMAP' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@srcpart_rc
 POSTHOOK: Output: default@default__srcpart_rc_srcpart_rc_index__
 PREHOOK: query: ALTER INDEX srcpart_rc_index ON srcpart_rc REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -179,8 +182,10 @@ POSTHOOK: Input: default@srcpart_rc@ds=2
 100	val_100
 PREHOOK: query: DROP INDEX srcpart_rc_index on srcpart_rc
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@srcpart_rc
 POSTHOOK: query: DROP INDEX srcpart_rc_index on srcpart_rc
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@srcpart_rc
 PREHOOK: query: EXPLAIN
 CREATE INDEX srcpart_rc_index ON TABLE srcpart_rc(key) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
@@ -195,8 +200,10 @@ STAGE PLANS:
 
 PREHOOK: query: CREATE INDEX srcpart_rc_index ON TABLE srcpart_rc(key) as 'BITMAP' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@srcpart_rc
 POSTHOOK: query: CREATE INDEX srcpart_rc_index ON TABLE srcpart_rc(key) as 'BITMAP' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@srcpart_rc
 POSTHOOK: Output: default@default__srcpart_rc_srcpart_rc_index__
 PREHOOK: query: ALTER  INDEX srcpart_rc_index ON srcpart_rc REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -308,8 +315,10 @@ POSTHOOK: Input: default@srcpart_rc@ds=2
 100	val_100
 PREHOOK: query: DROP INDEX srcpart_rc_index on srcpart_rc
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@srcpart_rc
 POSTHOOK: query: DROP INDEX srcpart_rc_index on srcpart_rc
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@srcpart_rc
 PREHOOK: query: DROP TABLE srcpart_rc
 PREHOOK: type: DROPTABLE
 PREHOOK: Input: default@srcpart_rc

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_compact.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_compact.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_compact.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_compact.q.out Fri Aug 15 15:37:46 2014
@@ -2,10 +2,12 @@ PREHOOK: query: -- SORT_QUERY_RESULTS
 
 DROP INDEX srcpart_index_proj on srcpart
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@srcpart
 POSTHOOK: query: -- SORT_QUERY_RESULTS
 
 DROP INDEX srcpart_index_proj on srcpart
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@srcpart
 PREHOOK: query: EXPLAIN
 CREATE INDEX srcpart_index_proj ON TABLE srcpart(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
@@ -20,8 +22,10 @@ STAGE PLANS:
 
 PREHOOK: query: CREATE INDEX srcpart_index_proj ON TABLE srcpart(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@srcpart
 POSTHOOK: query: CREATE INDEX srcpart_index_proj ON TABLE srcpart(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@srcpart
 POSTHOOK: Output: default@default__srcpart_srcpart_index_proj__
 PREHOOK: query: ALTER INDEX srcpart_index_proj ON srcpart REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -119,8 +123,10 @@ POSTHOOK: Input: default@srcpart@ds=2008
 100	val_100
 PREHOOK: query: DROP INDEX srcpart_index_proj on srcpart
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@srcpart
 POSTHOOK: query: DROP INDEX srcpart_index_proj on srcpart
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@srcpart
 PREHOOK: query: EXPLAIN
 CREATE INDEX srcpart_index_proj ON TABLE srcpart(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
@@ -135,8 +141,10 @@ STAGE PLANS:
 
 PREHOOK: query: CREATE INDEX srcpart_index_proj ON TABLE srcpart(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@srcpart
 POSTHOOK: query: CREATE INDEX srcpart_index_proj ON TABLE srcpart(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@srcpart
 POSTHOOK: Output: default@default__srcpart_srcpart_index_proj__
 PREHOOK: query: ALTER  INDEX srcpart_index_proj ON srcpart REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -243,5 +251,7 @@ POSTHOOK: Input: default@srcpart@ds=2008
 100	val_100
 PREHOOK: query: DROP INDEX srcpart_index_proj on srcpart
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@srcpart
 POSTHOOK: query: DROP INDEX srcpart_index_proj on srcpart
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@srcpart

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_compact_1.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_compact_1.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_compact_1.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_compact_1.q.out Fri Aug 15 15:37:46 2014
@@ -16,8 +16,10 @@ STAGE PLANS:
 
 PREHOOK: query: CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_index__
 PREHOOK: query: ALTER INDEX src_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -66,5 +68,7 @@ POSTHOOK: Input: default@src
 100	val_100
 PREHOOK: query: DROP INDEX src_index on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX src_index on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_compact_2.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_compact_2.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_compact_2.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_compact_2.q.out Fri Aug 15 15:37:46 2014
@@ -3,6 +3,7 @@ PREHOOK: query: -- SORT_QUERY_RESULTS
 CREATE TABLE srcpart_rc (key int, value string) PARTITIONED BY (ds string, hr int) STORED AS RCFILE
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@srcpart_rc
 POSTHOOK: query: -- SORT_QUERY_RESULTS
 
 CREATE TABLE srcpart_rc (key int, value string) PARTITIONED BY (ds string, hr int) STORED AS RCFILE
@@ -59,8 +60,10 @@ POSTHOOK: Lineage: srcpart_rc PARTITION(
 POSTHOOK: Lineage: srcpart_rc PARTITION(ds=2008-04-09,hr=12).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ]
 PREHOOK: query: CREATE INDEX srcpart_rc_index ON TABLE srcpart_rc(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@srcpart_rc
 POSTHOOK: query: CREATE INDEX srcpart_rc_index ON TABLE srcpart_rc(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@srcpart_rc
 POSTHOOK: Output: default@default__srcpart_rc_srcpart_rc_index__
 PREHOOK: query: ALTER INDEX srcpart_rc_index ON srcpart_rc REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -158,8 +161,10 @@ POSTHOOK: Input: default@srcpart_rc@ds=2
 100	val_100
 PREHOOK: query: DROP INDEX srcpart_rc_index on srcpart_rc
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@srcpart_rc
 POSTHOOK: query: DROP INDEX srcpart_rc_index on srcpart_rc
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@srcpart_rc
 PREHOOK: query: EXPLAIN
 CREATE INDEX srcpart_rc_index ON TABLE srcpart_rc(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
@@ -174,8 +179,10 @@ STAGE PLANS:
 
 PREHOOK: query: CREATE INDEX srcpart_rc_index ON TABLE srcpart_rc(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@srcpart_rc
 POSTHOOK: query: CREATE INDEX srcpart_rc_index ON TABLE srcpart_rc(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@srcpart_rc
 POSTHOOK: Output: default@default__srcpart_rc_srcpart_rc_index__
 PREHOOK: query: ALTER  INDEX srcpart_rc_index ON srcpart_rc REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -282,8 +289,10 @@ POSTHOOK: Input: default@srcpart_rc@ds=2
 100	val_100
 PREHOOK: query: DROP INDEX srcpart_rc_index on srcpart_rc
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@srcpart_rc
 POSTHOOK: query: DROP INDEX srcpart_rc_index on srcpart_rc
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@srcpart_rc
 PREHOOK: query: DROP TABLE srcpart_rc
 PREHOOK: type: DROPTABLE
 PREHOOK: Input: default@srcpart_rc

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_compact_3.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_compact_3.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_compact_3.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_compact_3.q.out Fri Aug 15 15:37:46 2014
@@ -3,6 +3,7 @@ PREHOOK: query: -- SORT_QUERY_RESULTS
 CREATE TABLE src_index_test_rc (key int, value string) STORED AS RCFILE
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@src_index_test_rc
 POSTHOOK: query: -- SORT_QUERY_RESULTS
 
 CREATE TABLE src_index_test_rc (key int, value string) STORED AS RCFILE
@@ -21,8 +22,10 @@ POSTHOOK: Lineage: src_index_test_rc.key
 POSTHOOK: Lineage: src_index_test_rc.value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
 PREHOOK: query: CREATE INDEX src_index ON TABLE src_index_test_rc(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src_index_test_rc
 POSTHOOK: query: CREATE INDEX src_index ON TABLE src_index_test_rc(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src_index_test_rc
 POSTHOOK: Output: default@default__src_index_test_rc_src_index__
 PREHOOK: query: ALTER INDEX src_index ON src_index_test_rc REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -71,8 +74,10 @@ POSTHOOK: Input: default@src_index_test_
 100	val_100
 PREHOOK: query: DROP INDEX src_index on src_index_test_rc
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src_index_test_rc
 POSTHOOK: query: DROP INDEX src_index on src_index_test_rc
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src_index_test_rc
 PREHOOK: query: DROP TABLE src_index_test_rc
 PREHOOK: type: DROPTABLE
 PREHOOK: Input: default@src_index_test_rc

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_compact_binary_search.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_compact_binary_search.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_compact_binary_search.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_compact_binary_search.q.out Fri Aug 15 15:37:46 2014
@@ -1,7 +1,9 @@
 PREHOOK: query: CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_index__
 PREHOOK: query: ALTER INDEX src_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -83,8 +85,10 @@ PREHOOK: Input: default@src
 97	val_97
 PREHOOK: query: DROP INDEX src_index ON src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 PREHOOK: query: CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 PREHOOK: query: ALTER INDEX src_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
 PREHOOK: Input: default@src
@@ -158,8 +162,10 @@ PREHOOK: Input: default@src
 97	val_97
 PREHOOK: query: DROP INDEX src_index ON src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 PREHOOK: query: CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 PREHOOK: query: ALTER INDEX src_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
 PREHOOK: Input: default@src
@@ -233,8 +239,10 @@ PREHOOK: Input: default@src
 97	val_97
 PREHOOK: query: DROP INDEX src_index ON src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 PREHOOK: query: CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 PREHOOK: query: ALTER INDEX src_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
 PREHOOK: Input: default@src
@@ -308,8 +316,10 @@ PREHOOK: Input: default@src
 97	val_97
 PREHOOK: query: DROP INDEX src_index ON src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 PREHOOK: query: CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 PREHOOK: query: ALTER INDEX src_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
 PREHOOK: Input: default@src
@@ -383,8 +393,10 @@ PREHOOK: Input: default@src
 97	val_97
 PREHOOK: query: DROP INDEX src_index ON src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 PREHOOK: query: CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 PREHOOK: query: ALTER INDEX src_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
 PREHOOK: Input: default@src
@@ -458,3 +470,4 @@ PREHOOK: Input: default@src
 97	val_97
 PREHOOK: query: DROP INDEX src_index ON src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_compression.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_compression.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_compression.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_compression.q.out Fri Aug 15 15:37:46 2014
@@ -2,10 +2,12 @@ PREHOOK: query: -- SORT_QUERY_RESULTS
 
 CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: -- SORT_QUERY_RESULTS
 
 CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_index__
 PREHOOK: query: ALTER INDEX src_index ON src REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -156,5 +158,7 @@ POSTHOOK: Input: default@src
 98	val_98
 PREHOOK: query: DROP INDEX src_index on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: DROP INDEX src_index on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_creation.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_creation.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_creation.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_creation.q.out Fri Aug 15 15:37:46 2014
@@ -1,43 +1,61 @@
 PREHOOK: query: drop index src_index_2 on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: drop index src_index_2 on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: drop index src_index_3 on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: drop index src_index_3 on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: drop index src_index_4 on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: drop index src_index_4 on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: drop index src_index_5 on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: drop index src_index_5 on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: drop index src_index_6 on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: drop index src_index_6 on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: drop index src_index_7 on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: drop index src_index_7 on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: drop index src_index_8 on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: drop index src_index_8 on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: drop index src_index_9 on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: drop index src_index_9 on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: drop table `_t`
 PREHOOK: type: DROPTABLE
 POSTHOOK: query: drop table `_t`
 POSTHOOK: type: DROPTABLE
 PREHOOK: query: create index src_index_2 on table src(key) as 'compact' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: create index src_index_2 on table src(key) as 'compact' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_index_2__
 PREHOOK: query: desc extended default__src_src_index_2__
 PREHOOK: type: DESCTABLE
@@ -52,8 +70,10 @@ _offsets            	array<bigint>      
 #### A masked pattern was here ####
 PREHOOK: query: create index src_index_3 on table src(key) as 'compact' WITH DEFERRED REBUILD in table src_idx_src_index_3
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: create index src_index_3 on table src(key) as 'compact' WITH DEFERRED REBUILD in table src_idx_src_index_3
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@src_idx_src_index_3
 PREHOOK: query: desc extended src_idx_src_index_3
 PREHOOK: type: DESCTABLE
@@ -68,8 +88,10 @@ _offsets            	array<bigint>      
 #### A masked pattern was here ####
 PREHOOK: query: create index src_index_4 on table src(key) as 'compact' WITH DEFERRED REBUILD ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' STORED AS TEXTFILE
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: create index src_index_4 on table src(key) as 'compact' WITH DEFERRED REBUILD ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' STORED AS TEXTFILE
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_index_4__
 PREHOOK: query: desc extended default__src_src_index_4__
 PREHOOK: type: DESCTABLE
@@ -84,8 +106,10 @@ _offsets            	array<bigint>      
 #### A masked pattern was here ####
 PREHOOK: query: create index src_index_5 on table src(key) as 'compact' WITH DEFERRED REBUILD ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' ESCAPED BY '\\'
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: create index src_index_5 on table src(key) as 'compact' WITH DEFERRED REBUILD ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' ESCAPED BY '\\'
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_index_5__
 PREHOOK: query: desc extended default__src_src_index_5__
 PREHOOK: type: DESCTABLE
@@ -100,8 +124,10 @@ _offsets            	array<bigint>      
 #### A masked pattern was here ####
 PREHOOK: query: create index src_index_6 on table src(key) as 'compact' WITH DEFERRED REBUILD STORED AS RCFILE
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: create index src_index_6 on table src(key) as 'compact' WITH DEFERRED REBUILD STORED AS RCFILE
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_index_6__
 PREHOOK: query: desc extended default__src_src_index_6__
 PREHOOK: type: DESCTABLE
@@ -116,8 +142,10 @@ _offsets            	array<bigint>      
 #### A masked pattern was here ####
 PREHOOK: query: create index src_index_7 on table src(key) as 'compact' WITH DEFERRED REBUILD in table src_idx_src_index_7 STORED AS RCFILE
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: create index src_index_7 on table src(key) as 'compact' WITH DEFERRED REBUILD in table src_idx_src_index_7 STORED AS RCFILE
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@src_idx_src_index_7
 PREHOOK: query: desc extended src_idx_src_index_7
 PREHOOK: type: DESCTABLE
@@ -132,8 +160,10 @@ _offsets            	array<bigint>      
 #### A masked pattern was here ####
 PREHOOK: query: create index src_index_8 on table src(key) as 'compact' WITH DEFERRED REBUILD IDXPROPERTIES ("prop1"="val1", "prop2"="val2")
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: create index src_index_8 on table src(key) as 'compact' WITH DEFERRED REBUILD IDXPROPERTIES ("prop1"="val1", "prop2"="val2")
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_index_8__
 PREHOOK: query: desc extended default__src_src_index_8__
 PREHOOK: type: DESCTABLE
@@ -148,8 +178,10 @@ _offsets            	array<bigint>      
 #### A masked pattern was here ####
 PREHOOK: query: create index src_index_9 on table src(key) as 'compact' WITH DEFERRED REBUILD TBLPROPERTIES ("prop1"="val1", "prop2"="val2")
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: create index src_index_9 on table src(key) as 'compact' WITH DEFERRED REBUILD TBLPROPERTIES ("prop1"="val1", "prop2"="val2")
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@src
 POSTHOOK: Output: default@default__src_src_index_9__
 PREHOOK: query: desc extended default__src_src_index_9__
 PREHOOK: type: DESCTABLE
@@ -165,14 +197,17 @@ _offsets            	array<bigint>      
 PREHOOK: query: create table `_t`(`_i` int, `_j` int)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@_t
 POSTHOOK: query: create table `_t`(`_i` int, `_j` int)
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default
 POSTHOOK: Output: default@_t
 PREHOOK: query: create index x on table `_t`(`_j`) as 'compact' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@_t
 POSTHOOK: query: create index x on table `_t`(`_j`) as 'compact' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@_t
 POSTHOOK: Output: default@default___t_x__
 PREHOOK: query: alter index x on `_t` rebuild
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -188,9 +223,11 @@ POSTHOOK: Lineage: default___t_x__._offs
 PREHOOK: query: create index x2 on table `_t`(`_i`,`_j`) as 'compact' WITH DEFERRED
 REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@_t
 POSTHOOK: query: create index x2 on table `_t`(`_i`,`_j`) as 'compact' WITH DEFERRED
 REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@_t
 POSTHOOK: Output: default@default___t_x2__
 PREHOOK: query: alter index x2 on `_t` rebuild
 PREHOOK: type: ALTERINDEX_REBUILD
@@ -206,36 +243,52 @@ POSTHOOK: Lineage: default___t_x2__._j S
 POSTHOOK: Lineage: default___t_x2__._offsets EXPRESSION [(_t)_t.FieldSchema(name:BLOCK__OFFSET__INSIDE__FILE, type:bigint, comment:), ]
 PREHOOK: query: drop index src_index_2 on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: drop index src_index_2 on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: drop index src_index_3 on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: drop index src_index_3 on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: drop index src_index_4 on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: drop index src_index_4 on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: drop index src_index_5 on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: drop index src_index_5 on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: drop index src_index_6 on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: drop index src_index_6 on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: drop index src_index_7 on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: drop index src_index_7 on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: drop index src_index_8 on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: drop index src_index_8 on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: drop index src_index_9 on src
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@src
 POSTHOOK: query: drop index src_index_9 on src
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@src
 PREHOOK: query: drop table `_t`
 PREHOOK: type: DROPTABLE
 PREHOOK: Input: default@_t

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_serde.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_serde.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_serde.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_serde.q.out Fri Aug 15 15:37:46 2014
@@ -31,6 +31,7 @@ TBLPROPERTIES ('avro.schema.literal'='{
 }')
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@doctors
 POSTHOOK: query: -- SORT_QUERY_RESULTS
 -- Want to ensure we can build and use indices on tables stored with SerDes
 -- Build the (Avro backed) table
@@ -85,9 +86,11 @@ POSTHOOK: Output: default@doctors
 PREHOOK: query: -- Create and build an index
 CREATE INDEX doctors_index ON TABLE doctors(number) AS 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@doctors
 POSTHOOK: query: -- Create and build an index
 CREATE INDEX doctors_index ON TABLE doctors(number) AS 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@doctors
 POSTHOOK: Output: default@default__doctors_doctors_index__
 PREHOOK: query: DESCRIBE EXTENDED default__doctors_doctors_index__
 PREHOOK: type: DESCTABLE
@@ -233,8 +236,10 @@ POSTHOOK: Input: default@doctors
 9	Christopher	Eccleston
 PREHOOK: query: DROP INDEX doctors_index ON doctors
 PREHOOK: type: DROPINDEX
+PREHOOK: Input: default@doctors
 POSTHOOK: query: DROP INDEX doctors_index ON doctors
 POSTHOOK: type: DROPINDEX
+POSTHOOK: Input: default@doctors
 PREHOOK: query: DROP TABLE doctors
 PREHOOK: type: DROPTABLE
 PREHOOK: Input: default@doctors

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_stale.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_stale.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_stale.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_stale.q.out Fri Aug 15 15:37:46 2014
@@ -3,6 +3,7 @@ PREHOOK: query: -- test that stale index
 CREATE TABLE temp(key STRING, val STRING) STORED AS TEXTFILE
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@temp
 POSTHOOK: query: -- test that stale indexes are not used
 
 CREATE TABLE temp(key STRING, val STRING) STORED AS TEXTFILE
@@ -22,9 +23,11 @@ POSTHOOK: Lineage: temp.val SIMPLE [(src
 PREHOOK: query: -- Build an index on temp.
 CREATE INDEX temp_index ON TABLE temp(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@temp
 POSTHOOK: query: -- Build an index on temp.
 CREATE INDEX temp_index ON TABLE temp(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@temp
 POSTHOOK: Output: default@default__temp_temp_index__
 PREHOOK: query: ALTER INDEX temp_index ON temp REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD

Modified: hive/branches/spark/ql/src/test/results/clientpositive/index_stale_partitioned.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/index_stale_partitioned.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/index_stale_partitioned.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/index_stale_partitioned.q.out Fri Aug 15 15:37:46 2014
@@ -4,6 +4,7 @@ PREHOOK: query: -- Test if index is actu
 CREATE TABLE temp(key STRING, val STRING) PARTITIONED BY (foo string) STORED AS TEXTFILE
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@temp
 POSTHOOK: query: -- Test if index is actually being used.
 
 -- Create temp, and populate it with some values in src.
@@ -31,9 +32,11 @@ POSTHOOK: Lineage: temp PARTITION(foo=ba
 PREHOOK: query: -- Build an index on temp.
 CREATE INDEX temp_index ON TABLE temp(key) as 'COMPACT' WITH DEFERRED REBUILD
 PREHOOK: type: CREATEINDEX
+PREHOOK: Input: default@temp
 POSTHOOK: query: -- Build an index on temp.
 CREATE INDEX temp_index ON TABLE temp(key) as 'COMPACT' WITH DEFERRED REBUILD
 POSTHOOK: type: CREATEINDEX
+POSTHOOK: Input: default@temp
 POSTHOOK: Output: default@default__temp_temp_index__
 PREHOOK: query: ALTER INDEX temp_index ON temp PARTITION (foo = 'bar') REBUILD
 PREHOOK: type: ALTERINDEX_REBUILD

Modified: hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort.q.out Fri Aug 15 15:37:46 2014
@@ -4,6 +4,7 @@ PREHOOK: query: -- This tests inferring 
 CREATE TABLE test_table (key STRING, value STRING) PARTITIONED BY (part STRING)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@test_table
 POSTHOOK: query: -- This tests inferring how data is bucketed/sorted from the operators in the reducer
 -- and populating that information in partitions' metadata
 

Modified: hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_bucketed_table.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_bucketed_table.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_bucketed_table.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_bucketed_table.q.out Fri Aug 15 15:37:46 2014
@@ -4,6 +4,7 @@ CREATE TABLE test_table_bucketed (key ST
 CLUSTERED BY (value) SORTED BY (value) INTO 3 BUCKETS
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@test_table_bucketed
 POSTHOOK: query: -- Test writing to a bucketed table, the output should be bucketed by the bucketing key into the
 -- a number of files equal to the number of buckets
 CREATE TABLE test_table_bucketed (key STRING, value STRING) PARTITIONED BY (part STRING)

Modified: hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_convert_join.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_convert_join.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_convert_join.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_convert_join.q.out Fri Aug 15 15:37:46 2014
@@ -5,6 +5,7 @@ PREHOOK: query: -- This tests inferring 
 CREATE TABLE test_table (key STRING, value STRING) PARTITIONED BY (part STRING)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@test_table
 POSTHOOK: query: -- This tests inferring how data is bucketed/sorted from the operators in the reducer
 -- and populating that information in partitions' metadata.  In particular, those cases
 -- where joins may be auto converted to map joins.

Modified: hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_dyn_part.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_dyn_part.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_dyn_part.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_dyn_part.q.out Fri Aug 15 15:37:46 2014
@@ -5,6 +5,7 @@ PREHOOK: query: -- This tests inferring 
 CREATE TABLE test_table LIKE srcpart
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@test_table
 POSTHOOK: query: -- This tests inferring how data is bucketed/sorted from the operators in the reducer
 -- and populating that information in partitions' metadata.  In particular, those cases
 -- where dynamic partitioning is used.
@@ -359,6 +360,7 @@ Storage Desc Params:	 	 
 PREHOOK: query: CREATE TABLE srcpart_merge_dp LIKE srcpart
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@srcpart_merge_dp
 POSTHOOK: query: CREATE TABLE srcpart_merge_dp LIKE srcpart
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default
@@ -366,6 +368,7 @@ POSTHOOK: Output: default@srcpart_merge_
 PREHOOK: query: CREATE TABLE srcpart_merge_dp_rc LIKE srcpart
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@srcpart_merge_dp_rc
 POSTHOOK: query: CREATE TABLE srcpart_merge_dp_rc LIKE srcpart
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default

Modified: hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_grouping_operators.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_grouping_operators.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_grouping_operators.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_grouping_operators.q.out Fri Aug 15 15:37:46 2014
@@ -5,6 +5,7 @@ PREHOOK: query: -- This tests inferring 
 CREATE TABLE test_table_out (key STRING, value STRING, agg STRING) PARTITIONED BY (part STRING)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@test_table_out
 POSTHOOK: query: -- This tests inferring how data is bucketed/sorted from the operators in the reducer
 -- and populating that information in partitions' metadata, in particular, this tests
 -- the grouping operators rollup/cube/grouping sets
@@ -16,6 +17,7 @@ POSTHOOK: Output: default@test_table_out
 PREHOOK: query: CREATE TABLE test_table_out_2 (key STRING, value STRING, grouping_key STRING, agg STRING) PARTITIONED BY (part STRING)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@test_table_out_2
 POSTHOOK: query: CREATE TABLE test_table_out_2 (key STRING, value STRING, grouping_key STRING, agg STRING) PARTITIONED BY (part STRING)
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default

Modified: hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_list_bucket.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_list_bucket.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_list_bucket.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_list_bucket.q.out Fri Aug 15 15:37:46 2014
@@ -9,6 +9,7 @@ SKEWED BY (key) ON ("484")
 STORED AS DIRECTORIES
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@list_bucketing_table
 POSTHOOK: query: -- This tests that bucketing/sorting metadata is not inferred for tables with list bucketing
 
 -- INCLUDE_HADOOP_MAJOR_VERSIONS(0.23)
@@ -90,6 +91,7 @@ SKEWED BY (key) ON ("abc")
 STORED AS DIRECTORIES
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@list_bucketing_table2
 POSTHOOK: query: -- create a table skewed on a key which doesnt exist in the data
 CREATE TABLE list_bucketing_table2 (key STRING, value STRING) 
 PARTITIONED BY (part STRING) 

Modified: hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_map_operators.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_map_operators.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_map_operators.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_map_operators.q.out Fri Aug 15 15:37:46 2014
@@ -6,6 +6,7 @@ CREATE TABLE test_table1 (key STRING, va
 CLUSTERED BY (key) SORTED BY (key DESC) INTO 2 BUCKETS
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@test_table1
 POSTHOOK: query: -- This tests inferring how data is bucketed/sorted from the operators in the reducer
 -- and populating that information in partitions' metadata, in particular, this tests
 -- that operators in the mapper have no effect
@@ -19,6 +20,7 @@ PREHOOK: query: CREATE TABLE test_table2
 CLUSTERED BY (key) SORTED BY (key DESC) INTO 2 BUCKETS
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@test_table2
 POSTHOOK: query: CREATE TABLE test_table2 (key STRING, value STRING)
 CLUSTERED BY (key) SORTED BY (key DESC) INTO 2 BUCKETS
 POSTHOOK: type: CREATETABLE
@@ -47,6 +49,7 @@ POSTHOOK: Lineage: test_table2.value SIM
 PREHOOK: query: CREATE TABLE test_table_out (key STRING, value STRING) PARTITIONED BY (part STRING)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@test_table_out
 POSTHOOK: query: CREATE TABLE test_table_out (key STRING, value STRING) PARTITIONED BY (part STRING)
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default

Modified: hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_merge.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_merge.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_merge.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_merge.q.out Fri Aug 15 15:37:46 2014
@@ -5,6 +5,7 @@ PREHOOK: query: -- This tests inferring 
 CREATE TABLE test_table (key STRING, value STRING) PARTITIONED BY (part STRING)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@test_table
 POSTHOOK: query: -- This tests inferring how data is bucketed/sorted from the operators in the reducer
 -- and populating that information in partitions' metadata.  In particular, those cases
 -- where where merging may or may not be used.

Modified: hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_multi_insert.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_multi_insert.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_multi_insert.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_multi_insert.q.out Fri Aug 15 15:37:46 2014
@@ -5,6 +5,7 @@ PREHOOK: query: -- This tests inferring 
 CREATE TABLE test_table (key STRING, value STRING) PARTITIONED BY (part STRING)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@test_table
 POSTHOOK: query: -- This tests inferring how data is bucketed/sorted from the operators in the reducer
 -- and populating that information in partitions' metadata.  In particular, those cases
 -- where multi insert is used.

Modified: hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_num_buckets.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_num_buckets.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_num_buckets.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_num_buckets.q.out Fri Aug 15 15:37:46 2014
@@ -1,6 +1,7 @@
 PREHOOK: query: CREATE TABLE test_table (key INT, value STRING) PARTITIONED BY (ds STRING, hr STRING)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@test_table
 POSTHOOK: query: CREATE TABLE test_table (key INT, value STRING) PARTITIONED BY (ds STRING, hr STRING)
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default

Modified: hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_reducers_power_two.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_reducers_power_two.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_reducers_power_two.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/infer_bucket_sort_reducers_power_two.q.out Fri Aug 15 15:37:46 2014
@@ -5,6 +5,7 @@ PREHOOK: query: -- This tests inferring 
 CREATE TABLE test_table (key STRING, value STRING) PARTITIONED BY (part STRING)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@test_table
 POSTHOOK: query: -- This tests inferring how data is bucketed/sorted from the operators in the reducer
 -- and populating that information in partitions' metadata, it also verifies that the
 -- number of reducers chosen will be a power of two

Modified: hive/branches/spark/ql/src/test/results/clientpositive/infer_const_type.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/infer_const_type.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/infer_const_type.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/infer_const_type.q.out Fri Aug 15 15:37:46 2014
@@ -5,6 +5,7 @@ POSTHOOK: type: DROPTABLE
 PREHOOK: query: CREATE TABLE infertypes(ti TINYINT, si SMALLINT, i INT, bi BIGINT, fl FLOAT, db DOUBLE, str STRING)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@infertypes
 POSTHOOK: query: CREATE TABLE infertypes(ti TINYINT, si SMALLINT, i INT, bi BIGINT, fl FLOAT, db DOUBLE, str STRING)
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default

Modified: hive/branches/spark/ql/src/test/results/clientpositive/init_file.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/init_file.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/init_file.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/init_file.q.out Fri Aug 15 15:37:46 2014
@@ -1,6 +1,7 @@
 PREHOOK: query: create table tbl_created_by_init(i int)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@tbl_created_by_init
 POSTHOOK: query: create table tbl_created_by_init(i int)
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default

Modified: hive/branches/spark/ql/src/test/results/clientpositive/innerjoin.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/innerjoin.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/innerjoin.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/innerjoin.q.out Fri Aug 15 15:37:46 2014
@@ -3,6 +3,7 @@ PREHOOK: query: -- SORT_QUERY_RESULTS
 CREATE TABLE dest_j1(key INT, value STRING) STORED AS TEXTFILE
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@dest_j1
 POSTHOOK: query: -- SORT_QUERY_RESULTS
 
 CREATE TABLE dest_j1(key INT, value STRING) STORED AS TEXTFILE
@@ -1136,6 +1137,7 @@ PREHOOK: query: -- verify that INNER is 
 create table inner(i int)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@inner
 POSTHOOK: query: -- verify that INNER is a non-reserved word for backwards compatibility
 create table inner(i int)
 POSTHOOK: type: CREATETABLE
@@ -1152,6 +1154,7 @@ POSTHOOK: Input: default@inner
 PREHOOK: query: create table i(inner int)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@i
 POSTHOOK: query: create table i(inner int)
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default

Modified: hive/branches/spark/ql/src/test/results/clientpositive/inoutdriver.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/inoutdriver.q.out?rev=1618215&r1=1618214&r2=1618215&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/inoutdriver.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/inoutdriver.q.out Fri Aug 15 15:37:46 2014
@@ -1,6 +1,7 @@
 PREHOOK: query: create table test (a int) stored as inputformat 'org.apache.hadoop.hive.ql.io.RCFileInputFormat' outputformat 'org.apache.hadoop.hive.ql.io.RCFileOutputFormat' inputdriver 'RCFileInDriver' outputdriver 'RCFileOutDriver'
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
+PREHOOK: Output: default@test
 POSTHOOK: query: create table test (a int) stored as inputformat 'org.apache.hadoop.hive.ql.io.RCFileInputFormat' outputformat 'org.apache.hadoop.hive.ql.io.RCFileOutputFormat' inputdriver 'RCFileInDriver' outputdriver 'RCFileOutDriver'
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default



Mime
View raw message