PageRenderTime 16ms CodeModel.GetById 9ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/tags/release-0.0.0-rc0/hive/external/ql/src/test/results/clientnegative/authorization_fail_7.q.out

#
text | 40 lines | 39 code | 1 blank | 0 comment | 0 complexity | c6b9a28dd7e9f9c63bb16578c3d57308 MD5 | raw file
 1PREHOOK: query: create table authorization_fail (key int, value string)
 2PREHOOK: type: CREATETABLE
 3POSTHOOK: query: create table authorization_fail (key int, value string)
 4POSTHOOK: type: CREATETABLE
 5POSTHOOK: Output: default@authorization_fail
 6PREHOOK: query: create role hive_test_role_fail
 7PREHOOK: type: CREATEROLE
 8POSTHOOK: query: create role hive_test_role_fail
 9POSTHOOK: type: CREATEROLE
10PREHOOK: query: grant role hive_test_role_fail to user hive_test_user
11PREHOOK: type: GRANT_ROLE
12POSTHOOK: query: grant role hive_test_role_fail to user hive_test_user
13POSTHOOK: type: GRANT_ROLE
14PREHOOK: query: grant select on table authorization_fail to role hive_test_role_fail
15PREHOOK: type: GRANT_PRIVILEGE
16POSTHOOK: query: grant select on table authorization_fail to role hive_test_role_fail
17POSTHOOK: type: GRANT_PRIVILEGE
18PREHOOK: query: show role grant user hive_test_user
19PREHOOK: type: SHOW_ROLE_GRANT
20POSTHOOK: query: show role grant user hive_test_user
21POSTHOOK: type: SHOW_ROLE_GRANT
22role name:hive_test_role_fail
23role name:hive_test_role_fail
24PREHOOK: query: show grant role hive_test_role_fail on table authorization_fail
25PREHOOK: type: SHOW_GRANT
26POSTHOOK: query: show grant role hive_test_role_fail on table authorization_fail
27POSTHOOK: type: SHOW_GRANT
28
29database	default	
30table	authorization_fail	
31principalName	hive_test_role_fail	
32principalType	ROLE	
33privilege	Select	
34grantTime	1296259812	
35grantor	hive_test_user	
36PREHOOK: query: drop role hive_test_role_fail
37PREHOOK: type: DROPROLE
38POSTHOOK: query: drop role hive_test_role_fail
39POSTHOOK: type: DROPROLE
40Authorization failed:No privilege 'Select' found for inputs { database:default, table:authorization_fail, columnName:key}. Use show grant to get more details.