hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From the...@apache.org
Subject svn commit: r1613310 [2/2] - in /hive/trunk: contrib/src/test/results/clientnegative/ contrib/src/test/results/clientpositive/ itests/hive-unit/src/test/java/org/apache/hive/jdbc/authorization/ ql/src/java/org/apache/hadoop/hive/ql/ ql/src/java/org/apa...
Date Thu, 24 Jul 2014 22:08:24 GMT
Modified: hive/trunk/ql/src/test/results/clientnegative/authorization_grant_table_fail_nogrant.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/authorization_grant_table_fail_nogrant.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/authorization_grant_table_fail_nogrant.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/authorization_grant_table_fail_nogrant.q.out Thu Jul 24 22:08:23 2014
@@ -21,4 +21,4 @@ PREHOOK: query: -- try grant insert to u
 GRANT INSERT ON table_priv_gfail1 TO USER user3
 PREHOOK: type: GRANT_PRIVILEGE
 PREHOOK: Output: default@table_priv_gfail1
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.table_priv_gfail1] for operation GRANT_PRIVILEGE : [INSERT with grant]
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation GRANT_PRIVILEGE [[INSERT with grant] on Object [type=TABLE_OR_VIEW, name=default.table_priv_gfail1]]

Modified: hive/trunk/ql/src/test/results/clientnegative/authorization_insert_noinspriv.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/authorization_insert_noinspriv.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/authorization_insert_noinspriv.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/authorization_insert_noinspriv.q.out Thu Jul 24 22:08:23 2014
@@ -14,4 +14,4 @@ POSTHOOK: query: create table user2tab(i
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default
 POSTHOOK: Output: default@user2tab
-FAILED: HiveAccessControlException Permission denied. Principal [name=user1, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] for operation QUERY : [INSERT]
+FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation QUERY [[INSERT] on Object [type=TABLE_OR_VIEW, name=default.t1, action=INSERT]]

Modified: hive/trunk/ql/src/test/results/clientnegative/authorization_insert_noselectpriv.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/authorization_insert_noselectpriv.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/authorization_insert_noselectpriv.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/authorization_insert_noselectpriv.q.out Thu Jul 24 22:08:23 2014
@@ -14,4 +14,4 @@ POSTHOOK: query: create table t2(i int)
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default
 POSTHOOK: Output: default@t2
-FAILED: HiveAccessControlException Permission denied. Principal [name=user1, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] for operation QUERY : [SELECT]
+FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation QUERY [[SELECT] on Object [type=TABLE_OR_VIEW, name=default.t1]]

Modified: hive/trunk/ql/src/test/results/clientnegative/authorization_insertoverwrite_nodel.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/authorization_insertoverwrite_nodel.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/authorization_insertoverwrite_nodel.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/authorization_insertoverwrite_nodel.q.out Thu Jul 24 22:08:23 2014
@@ -33,4 +33,4 @@ POSTHOOK: query: create table user1tab(i
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default
 POSTHOOK: Output: default@user1tab
-FAILED: HiveAccessControlException Permission denied. Principal [name=user1, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] for operation QUERY : [DELETE]
+FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation QUERY [[DELETE] on Object [type=TABLE_OR_VIEW, name=default.t1, action=INSERT_OVERWRITE]]

Modified: hive/trunk/ql/src/test/results/clientnegative/authorization_not_owner_alter_tab_rename.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/authorization_not_owner_alter_tab_rename.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/authorization_not_owner_alter_tab_rename.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/authorization_not_owner_alter_tab_rename.q.out Thu Jul 24 22:08:23 2014
@@ -7,4 +7,4 @@ create table t1(i int)
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default
 POSTHOOK: Output: default@t1
-FAILED: HiveAccessControlException Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] for operation ALTERTABLE_RENAME : [OBJECT OWNERSHIP]
+FAILED: HiveAccessControlException Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation ALTERTABLE_RENAME [[OBJECT OWNERSHIP] on Object [type=TABLE_OR_VIEW, name=default.t1], [OBJECT OWNERSHIP] on Object [type=TABLE_OR_VIEW, name=default.t1]]

Modified: hive/trunk/ql/src/test/results/clientnegative/authorization_not_owner_alter_tab_serdeprop.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/authorization_not_owner_alter_tab_serdeprop.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/authorization_not_owner_alter_tab_serdeprop.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/authorization_not_owner_alter_tab_serdeprop.q.out Thu Jul 24 22:08:23 2014
@@ -7,4 +7,4 @@ create table t1(i int)
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default
 POSTHOOK: Output: default@t1
-FAILED: HiveAccessControlException Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] for operation ALTERTABLE_SERDEPROPERTIES : [OBJECT OWNERSHIP]
+FAILED: HiveAccessControlException Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation ALTERTABLE_SERDEPROPERTIES [[OBJECT OWNERSHIP] on Object [type=TABLE_OR_VIEW, name=default.t1], [OBJECT OWNERSHIP] on Object [type=TABLE_OR_VIEW, name=default.t1]]

Modified: hive/trunk/ql/src/test/results/clientnegative/authorization_not_owner_drop_tab.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/authorization_not_owner_drop_tab.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/authorization_not_owner_drop_tab.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/authorization_not_owner_drop_tab.q.out Thu Jul 24 22:08:23 2014
@@ -7,4 +7,4 @@ create table t1(i int)
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default
 POSTHOOK: Output: default@t1
-FAILED: HiveAccessControlException Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] for operation DROPTABLE : [OBJECT OWNERSHIP]
+FAILED: HiveAccessControlException Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation DROPTABLE [[OBJECT OWNERSHIP] on Object [type=TABLE_OR_VIEW, name=default.t1]]

Modified: hive/trunk/ql/src/test/results/clientnegative/authorization_not_owner_drop_view.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/authorization_not_owner_drop_view.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/authorization_not_owner_drop_view.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/authorization_not_owner_drop_view.q.out Thu Jul 24 22:08:23 2014
@@ -14,4 +14,4 @@ POSTHOOK: query: create view vt1 as sele
 POSTHOOK: type: CREATEVIEW
 POSTHOOK: Input: default@t1
 POSTHOOK: Output: default@vt1
-FAILED: HiveAccessControlException Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.vt1] for operation DROPVIEW : [OBJECT OWNERSHIP]
+FAILED: HiveAccessControlException Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation DROPVIEW [[OBJECT OWNERSHIP] on Object [type=TABLE_OR_VIEW, name=default.vt1], [OBJECT OWNERSHIP] on Object [type=TABLE_OR_VIEW, name=default.vt1]]

Modified: hive/trunk/ql/src/test/results/clientnegative/authorization_priv_current_role_neg.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/authorization_priv_current_role_neg.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/authorization_priv_current_role_neg.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/authorization_priv_current_role_neg.q.out Thu Jul 24 22:08:23 2014
@@ -76,4 +76,4 @@ PREHOOK: query: -- set role to public, s
 grant all on table tpriv_current_role to user user5
 PREHOOK: type: GRANT_PRIVILEGE
 PREHOOK: Output: default@tpriv_current_role
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.tpriv_current_role] for operation GRANT_PRIVILEGE : [SELECT with grant, INSERT with grant, UPDATE with grant, DELETE with grant]
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation GRANT_PRIVILEGE [[SELECT with grant, INSERT with grant, UPDATE with grant, DELETE with grant] on Object [type=TABLE_OR_VIEW, name=default.tpriv_current_role]]

Modified: hive/trunk/ql/src/test/results/clientnegative/authorization_rolehierarchy_privs.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/authorization_rolehierarchy_privs.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/authorization_rolehierarchy_privs.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/authorization_rolehierarchy_privs.q.out Thu Jul 24 22:08:23 2014
@@ -206,4 +206,4 @@ role1
 role2
 role4
 
-FAILED: HiveAccessControlException Permission denied. Principal [name=user1, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] for operation QUERY : [SELECT]
+FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation QUERY [[SELECT] on Object [type=TABLE_OR_VIEW, name=default.t1]]

Modified: hive/trunk/ql/src/test/results/clientnegative/authorization_select.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/authorization_select.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/authorization_select.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/authorization_select.q.out Thu Jul 24 22:08:23 2014
@@ -7,4 +7,4 @@ create table t1(i int)
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default
 POSTHOOK: Output: default@t1
-FAILED: HiveAccessControlException Permission denied. Principal [name=user1, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] for operation QUERY : [SELECT]
+FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation QUERY [[SELECT] on Object [type=TABLE_OR_VIEW, name=default.t1]]

Modified: hive/trunk/ql/src/test/results/clientnegative/authorization_select_view.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/authorization_select_view.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/authorization_select_view.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/authorization_select_view.q.out Thu Jul 24 22:08:23 2014
@@ -14,4 +14,4 @@ POSTHOOK: query: create view v1 as selec
 POSTHOOK: type: CREATEVIEW
 POSTHOOK: Input: default@t1
 POSTHOOK: Output: default@v1
-FAILED: HiveAccessControlException Permission denied. Principal [name=user1, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.v1] for operation QUERY : [SELECT]
+FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation QUERY [[SELECT] on Object [type=TABLE_OR_VIEW, name=default.v1]]

Modified: hive/trunk/ql/src/test/results/clientnegative/authorization_show_parts_nosel.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/authorization_show_parts_nosel.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/authorization_show_parts_nosel.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/authorization_show_parts_nosel.q.out Thu Jul 24 22:08:23 2014
@@ -7,4 +7,4 @@ create table t_show_parts(i int) partiti
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default
 POSTHOOK: Output: default@t_show_parts
-FAILED: HiveAccessControlException Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t_show_parts] for operation SHOWPARTITIONS : [SELECT]
+FAILED: HiveAccessControlException Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation SHOWPARTITIONS [[SELECT] on Object [type=TABLE_OR_VIEW, name=default.t_show_parts]]

Modified: hive/trunk/ql/src/test/results/clientnegative/authorization_truncate.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/authorization_truncate.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/authorization_truncate.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/authorization_truncate.q.out Thu Jul 24 22:08:23 2014
@@ -7,4 +7,4 @@ create table t1(i int, j int)
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: database:default
 POSTHOOK: Output: default@t1
-FAILED: HiveAccessControlException Permission denied. Principal [name=user1, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] for operation TRUNCATETABLE : [OBJECT OWNERSHIP]
+FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation TRUNCATETABLE [[OBJECT OWNERSHIP] on Object [type=TABLE_OR_VIEW, name=default.t1]]

Modified: hive/trunk/ql/src/test/results/clientnegative/authorize_create_tbl.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/authorize_create_tbl.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/authorize_create_tbl.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/authorize_create_tbl.q.out Thu Jul 24 22:08:23 2014
@@ -6,4 +6,4 @@ PREHOOK: query: use db23221
 PREHOOK: type: SWITCHDATABASE
 POSTHOOK: query: use db23221
 POSTHOOK: type: SWITCHDATABASE
-FAILED: HiveAccessControlException Permission denied. Principal [name=user44, type=USER] does not have following privileges on Object [type=DATABASE, name=db23221] for operation CREATETABLE : [OBJECT OWNERSHIP]
+FAILED: HiveAccessControlException Permission denied: Principal [name=user44, type=USER] does not have following privileges for operation CREATETABLE [[OBJECT OWNERSHIP] on Object [type=DATABASE, name=db23221]]

Modified: hive/trunk/ql/src/test/results/clientnegative/create_function_nonexistent_class.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/create_function_nonexistent_class.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/create_function_nonexistent_class.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/create_function_nonexistent_class.q.out Thu Jul 24 22:08:23 2014
@@ -1,5 +1,6 @@
 PREHOOK: query: create function default.badfunc as 'my.nonexistent.class'
 PREHOOK: type: CREATEFUNCTION
 PREHOOK: Output: database:default
+PREHOOK: Output: default.badfunc
 FAILED: Class my.nonexistent.class not found
 FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask

Modified: hive/trunk/ql/src/test/results/clientnegative/create_function_nonudf_class.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/create_function_nonudf_class.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/create_function_nonudf_class.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/create_function_nonudf_class.q.out Thu Jul 24 22:08:23 2014
@@ -1,5 +1,6 @@
 PREHOOK: query: create function default.badfunc as 'java.lang.String'
 PREHOOK: type: CREATEFUNCTION
 PREHOOK: Output: database:default
+PREHOOK: Output: default.badfunc
 FAILED: Class java.lang.String does not implement UDF, GenericUDF, or UDAF
 FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask

Modified: hive/trunk/ql/src/test/results/clientnegative/create_udaf_failure.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/create_udaf_failure.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/create_udaf_failure.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/create_udaf_failure.q.out Thu Jul 24 22:08:23 2014
@@ -1,7 +1,7 @@
 PREHOOK: query: CREATE TEMPORARY FUNCTION test_udaf AS 'org.apache.hadoop.hive.ql.udf.UDAFWrongArgLengthForTestCase'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_udaf
 POSTHOOK: query: CREATE TEMPORARY FUNCTION test_udaf AS 'org.apache.hadoop.hive.ql.udf.UDAFWrongArgLengthForTestCase'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_udaf
 FAILED: SemanticException org.apache.hadoop.hive.ql.exec.UDFArgumentLengthException: public boolean org.apache.hadoop.hive.ql.udf.UDAFWrongArgLengthForTestCase$UDAFWrongArgLengthForTestCaseEvaluator.merge() requires 0 arguments but 1 are passed in.

Modified: hive/trunk/ql/src/test/results/clientnegative/create_unknown_genericudf.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/create_unknown_genericudf.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/create_unknown_genericudf.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/create_unknown_genericudf.q.out Thu Jul 24 22:08:23 2014
@@ -1,5 +1,5 @@
 PREHOOK: query: CREATE TEMPORARY FUNCTION dummy_genericudf AS 'org.apache.hadoop.hive.ql.udf.generic.DummyGenericUDF'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: dummy_genericudf
 FAILED: Class org.apache.hadoop.hive.ql.udf.generic.DummyGenericUDF not found
 FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask

Modified: hive/trunk/ql/src/test/results/clientnegative/create_unknown_udf_udaf.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/create_unknown_udf_udaf.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/create_unknown_udf_udaf.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/create_unknown_udf_udaf.q.out Thu Jul 24 22:08:23 2014
@@ -1,5 +1,5 @@
 PREHOOK: query: CREATE TEMPORARY FUNCTION dummy_function AS 'org.apache.hadoop.hive.ql.udf.DummyFunction'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: dummy_function
 FAILED: Class org.apache.hadoop.hive.ql.udf.DummyFunction not found
 FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask

Modified: hive/trunk/ql/src/test/results/clientnegative/drop_native_udf.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/drop_native_udf.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/drop_native_udf.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/drop_native_udf.q.out Thu Jul 24 22:08:23 2014
@@ -1,4 +1,4 @@
 PREHOOK: query: DROP TEMPORARY FUNCTION max
 PREHOOK: type: DROPFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: max
 FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask

Modified: hive/trunk/ql/src/test/results/clientnegative/temp_table_authorize_create_tbl.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/temp_table_authorize_create_tbl.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/temp_table_authorize_create_tbl.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/temp_table_authorize_create_tbl.q.out Thu Jul 24 22:08:23 2014
@@ -6,4 +6,4 @@ PREHOOK: query: use db23221
 PREHOOK: type: SWITCHDATABASE
 POSTHOOK: query: use db23221
 POSTHOOK: type: SWITCHDATABASE
-FAILED: HiveAccessControlException Permission denied. Principal [name=user44, type=USER] does not have following privileges on Object [type=DATABASE, name=db23221] for operation CREATETABLE : [OBJECT OWNERSHIP]
+FAILED: HiveAccessControlException Permission denied: Principal [name=user44, type=USER] does not have following privileges for operation CREATETABLE [[OBJECT OWNERSHIP] on Object [type=DATABASE, name=db23221]]

Modified: hive/trunk/ql/src/test/results/clientnegative/udf_function_does_not_implement_udf.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/udf_function_does_not_implement_udf.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/udf_function_does_not_implement_udf.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/udf_function_does_not_implement_udf.q.out Thu Jul 24 22:08:23 2014
@@ -1,5 +1,5 @@
 PREHOOK: query: CREATE TEMPORARY FUNCTION moo AS 'org.apache.hadoop.hive.ql.Driver'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: moo
 FAILED: Class org.apache.hadoop.hive.ql.Driver does not implement UDF, GenericUDF, or UDAF
 FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask

Modified: hive/trunk/ql/src/test/results/clientnegative/udf_local_resource.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/udf_local_resource.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/udf_local_resource.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/udf_local_resource.q.out Thu Jul 24 22:08:23 2014
@@ -1,4 +1,5 @@
 PREHOOK: query: create function lookup as 'org.apache.hadoop.hive.ql.udf.UDFFileLookup' using file '../../data/files/sales.txt'
 PREHOOK: type: CREATEFUNCTION
 PREHOOK: Output: database:default
+PREHOOK: Output: lookup
 FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask. Hive warehouse is non-local, but ../../data/files/sales.txt specifies file on local filesystem. Resources on non-local warehouse should specify a non-local scheme/path

Modified: hive/trunk/ql/src/test/results/clientnegative/udf_nonexistent_resource.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/udf_nonexistent_resource.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/udf_nonexistent_resource.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/udf_nonexistent_resource.q.out Thu Jul 24 22:08:23 2014
@@ -1,5 +1,6 @@
 PREHOOK: query: create function lookup as 'org.apache.hadoop.hive.ql.udf.UDFFileLookup' using file 'nonexistent_file.txt'
 PREHOOK: type: CREATEFUNCTION
 PREHOOK: Output: database:default
+PREHOOK: Output: lookup
 nonexistent_file.txt does not exist
 FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask. nonexistent_file.txt does not exist

Modified: hive/trunk/ql/src/test/results/clientnegative/udf_test_error.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/udf_test_error.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/udf_test_error.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/udf_test_error.q.out Thu Jul 24 22:08:23 2014
@@ -1,9 +1,9 @@
 PREHOOK: query: CREATE TEMPORARY FUNCTION test_error AS 'org.apache.hadoop.hive.ql.udf.UDFTestErrorOnFalse'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_error
 POSTHOOK: query: CREATE TEMPORARY FUNCTION test_error AS 'org.apache.hadoop.hive.ql.udf.UDFTestErrorOnFalse'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_error
 PREHOOK: query: SELECT test_error(key < 125 OR key > 130) FROM src
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src

Modified: hive/trunk/ql/src/test/results/clientnegative/udf_test_error_reduce.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/udf_test_error_reduce.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/udf_test_error_reduce.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/udf_test_error_reduce.q.out Thu Jul 24 22:08:23 2014
@@ -1,9 +1,9 @@
 PREHOOK: query: CREATE TEMPORARY FUNCTION test_error AS 'org.apache.hadoop.hive.ql.udf.UDFTestErrorOnFalse'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_error
 POSTHOOK: query: CREATE TEMPORARY FUNCTION test_error AS 'org.apache.hadoop.hive.ql.udf.UDFTestErrorOnFalse'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_error
 PREHOOK: query: SELECT test_error(key < 125 OR key > 130)
 FROM (
   SELECT *

Modified: hive/trunk/ql/src/test/results/clientpositive/authorization_admin_almighty2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/authorization_admin_almighty2.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/authorization_admin_almighty2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/authorization_admin_almighty2.q.out Thu Jul 24 22:08:23 2014
@@ -29,10 +29,10 @@ POSTHOOK: query: drop table a_table
 POSTHOOK: type: DROPTABLE
 PREHOOK: query: CREATE TEMPORARY FUNCTION Pyth as 'Pyth'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: pyth
 POSTHOOK: query: CREATE TEMPORARY FUNCTION Pyth as 'Pyth'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: pyth
 PREHOOK: query: SELECT Pyth(3,4) FROM src tablesample (1 rows)
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src
@@ -44,7 +44,7 @@ POSTHOOK: Input: default@src
 5.0
 PREHOOK: query: DROP TEMPORARY FUNCTION Pyth
 PREHOOK: type: DROPFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: Pyth
 POSTHOOK: query: DROP TEMPORARY FUNCTION Pyth
 POSTHOOK: type: DROPFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: Pyth

Modified: hive/trunk/ql/src/test/results/clientpositive/authorization_create_func1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/authorization_create_func1.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/authorization_create_func1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/authorization_create_func1.q.out Thu Jul 24 22:08:23 2014
@@ -6,25 +6,29 @@ set role ADMIN
 POSTHOOK: type: SHOW_ROLES
 PREHOOK: query: create temporary function temp_fn as 'org.apache.hadoop.hive.ql.udf.UDFAscii'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: temp_fn
 POSTHOOK: query: create temporary function temp_fn as 'org.apache.hadoop.hive.ql.udf.UDFAscii'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: temp_fn
 PREHOOK: query: create function perm_fn as 'org.apache.hadoop.hive.ql.udf.UDFAscii'
 PREHOOK: type: CREATEFUNCTION
 PREHOOK: Output: database:default
+PREHOOK: Output: perm_fn
 POSTHOOK: query: create function perm_fn as 'org.apache.hadoop.hive.ql.udf.UDFAscii'
 POSTHOOK: type: CREATEFUNCTION
 POSTHOOK: Output: database:default
+POSTHOOK: Output: perm_fn
 PREHOOK: query: drop temporary function temp_fn
 PREHOOK: type: DROPFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: temp_fn
 POSTHOOK: query: drop temporary function temp_fn
 POSTHOOK: type: DROPFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: temp_fn
 PREHOOK: query: drop function perm_fn
 PREHOOK: type: DROPFUNCTION
 PREHOOK: Output: database:default
+PREHOOK: Output: perm_fn
 POSTHOOK: query: drop function perm_fn
 POSTHOOK: type: DROPFUNCTION
 POSTHOOK: Output: database:default
+POSTHOOK: Output: perm_fn

Modified: hive/trunk/ql/src/test/results/clientpositive/autogen_colalias.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/autogen_colalias.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/autogen_colalias.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/autogen_colalias.q.out Thu Jul 24 22:08:23 2014
@@ -1,9 +1,9 @@
 PREHOOK: query: CREATE TEMPORARY FUNCTION test_max AS 'org.apache.hadoop.hive.ql.udf.UDAFTestMax'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_max
 POSTHOOK: query: CREATE TEMPORARY FUNCTION test_max AS 'org.apache.hadoop.hive.ql.udf.UDAFTestMax'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_max
 PREHOOK: query: create table dest_grouped_old1 as select 1+1, 2+2 as zz, src.key, test_max(length(src.value)), count(src.value), sin(count(src.value)), count(sin(src.value)), unix_timestamp(), CAST(SUM(IF(value > 10, value, 1)) AS INT), if(src.key > 1,
 1,
 0)
@@ -93,8 +93,8 @@ key                 	string             
 PREHOOK: query: -- Drop the temporary function at the end till HIVE-3160 gets fixed
 DROP TEMPORARY FUNCTION test_max
 PREHOOK: type: DROPFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_max
 POSTHOOK: query: -- Drop the temporary function at the end till HIVE-3160 gets fixed
 DROP TEMPORARY FUNCTION test_max
 POSTHOOK: type: DROPFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_max

Modified: hive/trunk/ql/src/test/results/clientpositive/compile_processor.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/compile_processor.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/compile_processor.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/compile_processor.q.out Thu Jul 24 22:08:23 2014
@@ -1,9 +1,9 @@
 PREHOOK: query: CREATE TEMPORARY FUNCTION Pyth as 'Pyth'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: pyth
 POSTHOOK: query: CREATE TEMPORARY FUNCTION Pyth as 'Pyth'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: pyth
 PREHOOK: query: SELECT Pyth(3,4) FROM src tablesample (1 rows)
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src
@@ -15,7 +15,7 @@ POSTHOOK: Input: default@src
 5.0
 PREHOOK: query: DROP TEMPORARY FUNCTION Pyth
 PREHOOK: type: DROPFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: Pyth
 POSTHOOK: query: DROP TEMPORARY FUNCTION Pyth
 POSTHOOK: type: DROPFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: Pyth

Modified: hive/trunk/ql/src/test/results/clientpositive/create_func1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/create_func1.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/create_func1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/create_func1.q.out Thu Jul 24 22:08:23 2014
@@ -16,9 +16,11 @@ POSTHOOK: type: CREATEDATABASE
 PREHOOK: query: create function mydb.func1 as 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFUpper'
 PREHOOK: type: CREATEFUNCTION
 PREHOOK: Output: database:mydb
+PREHOOK: Output: mydb.func1
 POSTHOOK: query: create function mydb.func1 as 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFUpper'
 POSTHOOK: type: CREATEFUNCTION
 POSTHOOK: Output: database:mydb
+POSTHOOK: Output: mydb.func1
 PREHOOK: query: show functions mydb.func1
 PREHOOK: type: SHOWFUNCTIONS
 POSTHOOK: query: show functions mydb.func1
@@ -36,9 +38,11 @@ ABC
 PREHOOK: query: drop function mydb.func1
 PREHOOK: type: DROPFUNCTION
 PREHOOK: Output: database:mydb
+PREHOOK: Output: mydb.func1
 POSTHOOK: query: drop function mydb.func1
 POSTHOOK: type: DROPFUNCTION
 POSTHOOK: Output: database:mydb
+POSTHOOK: Output: mydb.func1
 PREHOOK: query: -- function should now be gone
 show functions mydb.func1
 PREHOOK: type: SHOWFUNCTIONS
@@ -49,10 +53,12 @@ PREHOOK: query: -- To test function name
 create function mydb.qtest_get_java_boolean as 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFUpper'
 PREHOOK: type: CREATEFUNCTION
 PREHOOK: Output: database:mydb
+PREHOOK: Output: mydb.qtest_get_java_boolean
 POSTHOOK: query: -- To test function name resolution
 create function mydb.qtest_get_java_boolean as 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFUpper'
 POSTHOOK: type: CREATEFUNCTION
 POSTHOOK: Output: database:mydb
+POSTHOOK: Output: mydb.qtest_get_java_boolean
 PREHOOK: query: use default
 PREHOOK: type: SWITCHDATABASE
 POSTHOOK: query: use default
@@ -86,9 +92,11 @@ ABC	NULL	ABC
 PREHOOK: query: drop function mydb.qtest_get_java_boolean
 PREHOOK: type: DROPFUNCTION
 PREHOOK: Output: database:mydb
+PREHOOK: Output: mydb.qtest_get_java_boolean
 POSTHOOK: query: drop function mydb.qtest_get_java_boolean
 POSTHOOK: type: DROPFUNCTION
 POSTHOOK: Output: database:mydb
+POSTHOOK: Output: mydb.qtest_get_java_boolean
 PREHOOK: query: drop database mydb cascade
 PREHOOK: type: DROPDATABASE
 PREHOOK: Input: database:mydb

Modified: hive/trunk/ql/src/test/results/clientpositive/create_genericudaf.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/create_genericudaf.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/create_genericudaf.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/create_genericudaf.q.out Thu Jul 24 22:08:23 2014
@@ -12,10 +12,10 @@ STAGE PLANS:
 
 PREHOOK: query: CREATE TEMPORARY FUNCTION test_avg AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_avg
 POSTHOOK: query: CREATE TEMPORARY FUNCTION test_avg AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_avg
 PREHOOK: query: EXPLAIN
 SELECT
     test_avg(1),
@@ -93,7 +93,7 @@ POSTHOOK: Input: default@src
 1.0	260.182
 PREHOOK: query: DROP TEMPORARY FUNCTIOn test_avg
 PREHOOK: type: DROPFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_avg
 POSTHOOK: query: DROP TEMPORARY FUNCTIOn test_avg
 POSTHOOK: type: DROPFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_avg

Modified: hive/trunk/ql/src/test/results/clientpositive/create_genericudf.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/create_genericudf.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/create_genericudf.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/create_genericudf.q.out Thu Jul 24 22:08:23 2014
@@ -12,10 +12,10 @@ STAGE PLANS:
 
 PREHOOK: query: CREATE TEMPORARY FUNCTION test_translate AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestTranslate'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_translate
 POSTHOOK: query: CREATE TEMPORARY FUNCTION test_translate AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestTranslate'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_translate
 PREHOOK: query: CREATE TABLE dest1(c1 STRING, c2 STRING, c3 STRING, c4 STRING, c5 STRING, c6 STRING, c7 STRING)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
@@ -67,7 +67,7 @@ POSTHOOK: Input: default@dest1
 bbc	bcc	NULL	NULL	NULL	bc	abc
 PREHOOK: query: DROP TEMPORARY FUNCTION test_translate
 PREHOOK: type: DROPFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_translate
 POSTHOOK: query: DROP TEMPORARY FUNCTION test_translate
 POSTHOOK: type: DROPFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_translate

Modified: hive/trunk/ql/src/test/results/clientpositive/create_udaf.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/create_udaf.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/create_udaf.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/create_udaf.q.out Thu Jul 24 22:08:23 2014
@@ -12,10 +12,10 @@ STAGE PLANS:
 
 PREHOOK: query: CREATE TEMPORARY FUNCTION test_max AS 'org.apache.hadoop.hive.ql.udf.UDAFTestMax'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_max
 POSTHOOK: query: CREATE TEMPORARY FUNCTION test_max AS 'org.apache.hadoop.hive.ql.udf.UDAFTestMax'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_max
 PREHOOK: query: CREATE TABLE dest1(col INT)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
@@ -90,7 +90,7 @@ POSTHOOK: Input: default@src
 98
 PREHOOK: query: DROP TEMPORARY FUNCTION test_max
 PREHOOK: type: DROPFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_max
 POSTHOOK: query: DROP TEMPORARY FUNCTION test_max
 POSTHOOK: type: DROPFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_max

Modified: hive/trunk/ql/src/test/results/clientpositive/create_view.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/create_view.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/create_view.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/create_view.q.out Thu Jul 24 22:08:23 2014
@@ -693,12 +693,12 @@ PREHOOK: query: -- test usage of a funct
 CREATE TEMPORARY FUNCTION test_translate AS
 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestTranslate'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_translate
 POSTHOOK: query: -- test usage of a function within a view
 CREATE TEMPORARY FUNCTION test_translate AS
 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestTranslate'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_translate
 PREHOOK: query: CREATE VIEW view8(c) AS
 SELECT test_translate('abc', 'a', 'b')
 FROM table1
@@ -769,12 +769,12 @@ PREHOOK: query: -- test usage of a UDAF 
 CREATE TEMPORARY FUNCTION test_max AS
 'org.apache.hadoop.hive.ql.udf.UDAFTestMax'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_max
 POSTHOOK: query: -- test usage of a UDAF within a view
 CREATE TEMPORARY FUNCTION test_max AS
 'org.apache.hadoop.hive.ql.udf.UDAFTestMax'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_max
 PREHOOK: query: -- disable map-side aggregation
 CREATE VIEW view9(m) AS
 SELECT test_max(length(value))
@@ -987,12 +987,12 @@ PREHOOK: query: -- test usage of a UDTF 
 CREATE TEMPORARY FUNCTION test_explode AS
 'org.apache.hadoop.hive.ql.udf.generic.GenericUDTFExplode'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_explode
 POSTHOOK: query: -- test usage of a UDTF within a view
 CREATE TEMPORARY FUNCTION test_explode AS
 'org.apache.hadoop.hive.ql.udf.generic.GenericUDTFExplode'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_explode
 PREHOOK: query: CREATE VIEW view11 AS
 SELECT test_explode(array(1,2,3)) AS (boom)
 FROM table1
@@ -1714,19 +1714,19 @@ POSTHOOK: Input: default@view16
 POSTHOOK: Output: default@view16
 PREHOOK: query: DROP TEMPORARY FUNCTION test_translate
 PREHOOK: type: DROPFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_translate
 POSTHOOK: query: DROP TEMPORARY FUNCTION test_translate
 POSTHOOK: type: DROPFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_translate
 PREHOOK: query: DROP TEMPORARY FUNCTION test_max
 PREHOOK: type: DROPFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_max
 POSTHOOK: query: DROP TEMPORARY FUNCTION test_max
 POSTHOOK: type: DROPFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_max
 PREHOOK: query: DROP TEMPORARY FUNCTION test_explode
 PREHOOK: type: DROPFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_explode
 POSTHOOK: query: DROP TEMPORARY FUNCTION test_explode
 POSTHOOK: type: DROPFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_explode

Modified: hive/trunk/ql/src/test/results/clientpositive/drop_udf.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/drop_udf.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/drop_udf.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/drop_udf.q.out Thu Jul 24 22:08:23 2014
@@ -1,9 +1,9 @@
 PREHOOK: query: CREATE TEMPORARY FUNCTION test_translate AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestTranslate'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_translate
 POSTHOOK: query: CREATE TEMPORARY FUNCTION test_translate AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestTranslate'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_translate
 PREHOOK: query: EXPLAIN
 DROP TEMPORARY FUNCTION test_translate
 PREHOOK: type: DROPFUNCTION
@@ -18,7 +18,7 @@ STAGE PLANS:
 
 PREHOOK: query: DROP TEMPORARY FUNCTION test_translate
 PREHOOK: type: DROPFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_translate
 POSTHOOK: query: DROP TEMPORARY FUNCTION test_translate
 POSTHOOK: type: DROPFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_translate

Modified: hive/trunk/ql/src/test/results/clientpositive/ptf_register_tblfn.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/ptf_register_tblfn.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/ptf_register_tblfn.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/ptf_register_tblfn.q.out Thu Jul 24 22:08:23 2014
@@ -35,10 +35,10 @@ POSTHOOK: type: LOAD
 POSTHOOK: Output: default@flights_tiny
 PREHOOK: query: create temporary function matchpathtest as 'org.apache.hadoop.hive.ql.udf.ptf.MatchPath$MatchPathResolver'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: matchpathtest
 POSTHOOK: query: create temporary function matchpathtest as 'org.apache.hadoop.hive.ql.udf.ptf.MatchPath$MatchPathResolver'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: matchpathtest
 PREHOOK: query: -- 1. basic Matchpath test
 select origin_city_name, fl_num, year, month, day_of_month, sz, tpath 
 from matchpathtest(on 
@@ -83,7 +83,7 @@ Chicago	897	2010	10	21	3	21
 Chicago	897	2010	10	22	2	22
 PREHOOK: query: drop temporary function matchpathtest
 PREHOOK: type: DROPFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: matchpathtest
 POSTHOOK: query: drop temporary function matchpathtest
 POSTHOOK: type: DROPFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: matchpathtest

Modified: hive/trunk/ql/src/test/results/clientpositive/ptf_streaming.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/ptf_streaming.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/ptf_streaming.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/ptf_streaming.q.out Thu Jul 24 22:08:23 2014
@@ -41,10 +41,10 @@ POSTHOOK: type: LOAD
 POSTHOOK: Output: default@part
 PREHOOK: query: create temporary function noopstreaming as 'org.apache.hadoop.hive.ql.udf.ptf.NoopStreaming$NoopStreamingResolver'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: noopstreaming
 POSTHOOK: query: create temporary function noopstreaming as 'org.apache.hadoop.hive.ql.udf.ptf.NoopStreaming$NoopStreamingResolver'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: noopstreaming
 PREHOOK: query: --1. test1
 select p_mfgr, p_name, p_size,
 rank() over (partition by p_mfgr order by p_name) as r,

Modified: hive/trunk/ql/src/test/results/clientpositive/udaf_sum_list.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/udaf_sum_list.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/udaf_sum_list.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/udaf_sum_list.q.out Thu Jul 24 22:08:23 2014
@@ -3,13 +3,13 @@ PREHOOK: query: -- HIVE-5279
 -- After
 create temporary function sum_list as 'org.apache.hadoop.hive.ql.udf.generic.GenericUDAFSumList'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: sum_list
 POSTHOOK: query: -- HIVE-5279
 -- GenericUDAFSumList has Converter which does not have default constructor
 -- After
 create temporary function sum_list as 'org.apache.hadoop.hive.ql.udf.generic.GenericUDAFSumList'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: sum_list
 PREHOOK: query: select sum_list(array(key, key)) from src
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src

Modified: hive/trunk/ql/src/test/results/clientpositive/udf_compare_java_string.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/udf_compare_java_string.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/udf_compare_java_string.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/udf_compare_java_string.q.out Thu Jul 24 22:08:23 2014
@@ -12,10 +12,10 @@ STAGE PLANS:
 
 PREHOOK: query: CREATE TEMPORARY FUNCTION test_udf_get_java_string AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestGetJavaString'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_udf_get_java_string
 POSTHOOK: query: CREATE TEMPORARY FUNCTION test_udf_get_java_string AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestGetJavaString'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_udf_get_java_string
 PREHOOK: query: select * from src where value = test_udf_get_java_string("val_66")
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src

Modified: hive/trunk/ql/src/test/results/clientpositive/udf_context_aware.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/udf_context_aware.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/udf_context_aware.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/udf_context_aware.q.out Thu Jul 24 22:08:23 2014
@@ -1,9 +1,9 @@
 PREHOOK: query: create temporary function counter as 'org.apache.hadoop.hive.ql.udf.generic.DummyContextUDF'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: counter
 POSTHOOK: query: create temporary function counter as 'org.apache.hadoop.hive.ql.udf.generic.DummyContextUDF'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: counter
 PREHOOK: query: select *, counter(key) from src limit 20
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src

Modified: hive/trunk/ql/src/test/results/clientpositive/udf_logic_java_boolean.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/udf_logic_java_boolean.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/udf_logic_java_boolean.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/udf_logic_java_boolean.q.out Thu Jul 24 22:08:23 2014
@@ -12,10 +12,10 @@ STAGE PLANS:
 
 PREHOOK: query: CREATE TEMPORARY FUNCTION test_udf_get_java_boolean AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestGetJavaBoolean'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_udf_get_java_boolean
 POSTHOOK: query: CREATE TEMPORARY FUNCTION test_udf_get_java_boolean AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestGetJavaBoolean'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_udf_get_java_boolean
 PREHOOK: query: select 1 from src where test_udf_get_java_boolean("false") and True limit 1
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src
@@ -171,7 +171,7 @@ POSTHOOK: Input: default@src
 #### A masked pattern was here ####
 PREHOOK: query: DROP TEMPORARY FUNCTION test_udf_get_java_boolean
 PREHOOK: type: DROPFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: test_udf_get_java_boolean
 POSTHOOK: query: DROP TEMPORARY FUNCTION test_udf_get_java_boolean
 POSTHOOK: type: DROPFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: test_udf_get_java_boolean

Modified: hive/trunk/ql/src/test/results/clientpositive/udf_testlength.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/udf_testlength.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/udf_testlength.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/udf_testlength.q.out Thu Jul 24 22:08:23 2014
@@ -12,10 +12,10 @@ STAGE PLANS:
 
 PREHOOK: query: CREATE TEMPORARY FUNCTION testlength AS 'org.apache.hadoop.hive.ql.udf.UDFTestLength'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: testlength
 POSTHOOK: query: CREATE TEMPORARY FUNCTION testlength AS 'org.apache.hadoop.hive.ql.udf.UDFTestLength'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: testlength
 PREHOOK: query: SELECT testlength(src.value) FROM src
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src
@@ -526,7 +526,7 @@ POSTHOOK: Input: default@src
 6
 PREHOOK: query: DROP TEMPORARY FUNCTION testlength
 PREHOOK: type: DROPFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: testlength
 POSTHOOK: query: DROP TEMPORARY FUNCTION testlength
 POSTHOOK: type: DROPFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: testlength

Modified: hive/trunk/ql/src/test/results/clientpositive/udf_testlength2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/udf_testlength2.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/udf_testlength2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/udf_testlength2.q.out Thu Jul 24 22:08:23 2014
@@ -12,10 +12,10 @@ STAGE PLANS:
 
 PREHOOK: query: CREATE TEMPORARY FUNCTION testlength2 AS 'org.apache.hadoop.hive.ql.udf.UDFTestLength2'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: testlength2
 POSTHOOK: query: CREATE TEMPORARY FUNCTION testlength2 AS 'org.apache.hadoop.hive.ql.udf.UDFTestLength2'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: testlength2
 PREHOOK: query: SELECT testlength2(src.value) FROM src
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src
@@ -526,7 +526,7 @@ POSTHOOK: Input: default@src
 6
 PREHOOK: query: DROP TEMPORARY FUNCTION testlength2
 PREHOOK: type: DROPFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: testlength2
 POSTHOOK: query: DROP TEMPORARY FUNCTION testlength2
 POSTHOOK: type: DROPFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: testlength2

Modified: hive/trunk/ql/src/test/results/clientpositive/udf_using.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/udf_using.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/udf_using.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/udf_using.q.out Thu Jul 24 22:08:23 2014
@@ -1,9 +1,11 @@
 #### A masked pattern was here ####
 PREHOOK: type: CREATEFUNCTION
 PREHOOK: Output: database:default
+PREHOOK: Output: lookup
 #### A masked pattern was here ####
 POSTHOOK: type: CREATEFUNCTION
 POSTHOOK: Output: database:default
+POSTHOOK: Output: lookup
 PREHOOK: query: create table udf_using (c1 string)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
@@ -41,7 +43,9 @@ POSTHOOK: Output: default@udf_using
 PREHOOK: query: drop function lookup
 PREHOOK: type: DROPFUNCTION
 PREHOOK: Output: database:default
+PREHOOK: Output: lookup
 POSTHOOK: query: drop function lookup
 POSTHOOK: type: DROPFUNCTION
 POSTHOOK: Output: database:default
+POSTHOOK: Output: lookup
 #### A masked pattern was here ####

Modified: hive/trunk/ql/src/test/results/clientpositive/windowing_udaf2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/windowing_udaf2.q.out?rev=1613310&r1=1613309&r2=1613310&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/windowing_udaf2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/windowing_udaf2.q.out Thu Jul 24 22:08:23 2014
@@ -1,11 +1,11 @@
 PREHOOK: query: -- user-added aggregates should be usable as windowing functions
 create temporary function mysum as 'org.apache.hadoop.hive.ql.udf.generic.GenericUDAFSum'
 PREHOOK: type: CREATEFUNCTION
-PREHOOK: Output: database:default
+PREHOOK: Output: mysum
 POSTHOOK: query: -- user-added aggregates should be usable as windowing functions
 create temporary function mysum as 'org.apache.hadoop.hive.ql.udf.generic.GenericUDAFSum'
 POSTHOOK: type: CREATEFUNCTION
-POSTHOOK: Output: database:default
+POSTHOOK: Output: mysum
 PREHOOK: query: select sum(key) over (), mysum(key) over () from src limit 1
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src



Mime
View raw message