PageRenderTime 20ms CodeModel.GetById 13ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/release-0.0.0-rc0/hive/external/ql/src/test/results/clientpositive/authorization_5.q.out

#
text | 80 lines | 76 code | 4 blank | 0 comment | 0 complexity | c3e46f8fe6aff223415827dc79f1a785 MD5 | raw file
 1PREHOOK: query: CREATE DATABASE IF NOT EXISTS test_db COMMENT 'Hive test database'
 2PREHOOK: type: CREATEDATABASE
 3POSTHOOK: query: CREATE DATABASE IF NOT EXISTS test_db COMMENT 'Hive test database'
 4POSTHOOK: type: CREATEDATABASE
 5PREHOOK: query: SHOW DATABASES
 6PREHOOK: type: SHOWDATABASES
 7POSTHOOK: query: SHOW DATABASES
 8POSTHOOK: type: SHOWDATABASES
 9default
10test_db
11PREHOOK: query: GRANT drop ON DATABASE test_db TO USER hive_test_user
12PREHOOK: type: GRANT_PRIVILEGE
13POSTHOOK: query: GRANT drop ON DATABASE test_db TO USER hive_test_user
14POSTHOOK: type: GRANT_PRIVILEGE
15PREHOOK: query: GRANT select ON DATABASE test_db TO USER hive_test_user
16PREHOOK: type: GRANT_PRIVILEGE
17POSTHOOK: query: GRANT select ON DATABASE test_db TO USER hive_test_user
18POSTHOOK: type: GRANT_PRIVILEGE
19PREHOOK: query: SHOW GRANT USER hive_test_user ON DATABASE test_db
20PREHOOK: type: SHOW_GRANT
21POSTHOOK: query: SHOW GRANT USER hive_test_user ON DATABASE test_db
22POSTHOOK: type: SHOW_GRANT
23
24database	test_db	
25principalName	hive_test_user	
26principalType	USER	
27privilege	Drop	
28grantTime	1295394398	
29grantor	hive_test_user	
30
31database	test_db	
32principalName	hive_test_user	
33principalType	USER	
34privilege	Select	
35grantTime	1295394398	
36grantor	hive_test_user	
37PREHOOK: query: CREATE ROLE db_test_role
38PREHOOK: type: CREATEROLE
39POSTHOOK: query: CREATE ROLE db_test_role
40POSTHOOK: type: CREATEROLE
41PREHOOK: query: GRANT ROLE db_test_role TO USER hive_test_user
42PREHOOK: type: GRANT_ROLE
43POSTHOOK: query: GRANT ROLE db_test_role TO USER hive_test_user
44POSTHOOK: type: GRANT_ROLE
45PREHOOK: query: SHOW ROLE GRANT USER hive_test_user
46PREHOOK: type: SHOW_ROLE_GRANT
47POSTHOOK: query: SHOW ROLE GRANT USER hive_test_user
48POSTHOOK: type: SHOW_ROLE_GRANT
49role name:db_test_role
50role name:db_test_role
51PREHOOK: query: GRANT drop ON DATABASE test_db TO ROLE db_test_role
52PREHOOK: type: GRANT_PRIVILEGE
53POSTHOOK: query: GRANT drop ON DATABASE test_db TO ROLE db_test_role
54POSTHOOK: type: GRANT_PRIVILEGE
55PREHOOK: query: GRANT select ON DATABASE test_db TO ROLE db_test_role
56PREHOOK: type: GRANT_PRIVILEGE
57POSTHOOK: query: GRANT select ON DATABASE test_db TO ROLE db_test_role
58POSTHOOK: type: GRANT_PRIVILEGE
59PREHOOK: query: SHOW GRANT ROLE db_test_role ON DATABASE test_db
60PREHOOK: type: SHOW_GRANT
61POSTHOOK: query: SHOW GRANT ROLE db_test_role ON DATABASE test_db
62POSTHOOK: type: SHOW_GRANT
63
64database	test_db	
65principalName	db_test_role	
66principalType	ROLE	
67privilege	Drop	
68grantTime	1295394399	
69grantor	hive_test_user	
70
71database	test_db	
72principalName	db_test_role	
73principalType	ROLE	
74privilege	Select	
75grantTime	1295394399	
76grantor	hive_test_user	
77PREHOOK: query: DROP DATABASE IF EXISTS test_db
78PREHOOK: type: DROPDATABASE
79POSTHOOK: query: DROP DATABASE IF EXISTS test_db
80POSTHOOK: type: DROPDATABASE