Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 3.0, Impala 2.12.0
-
ghx-label-9
Description
[localhost:21000] default> create table foo.t(i int); [localhost:21000] default> create view foo.v1 as select count(*) from foo.t; [localhost:21000] default> create view foo.v2 as select * from foo.t; [localhost:21000] default> grant select on database foo to role foo_role; [localhost:21000] default> show create view foo.v1; Query: show create view foo.v1 ERROR: AuthorizationException: User 'impdev' does not have privileges to see the definition of view 'foo.v1'. [localhost:21000] default> show create view foo.v2; Query: show create view foo.v2 +-----------------------+ | result | +-----------------------+ | CREATE VIEW foo.v2 AS | | SELECT * FROM foo.t | +-----------------------+ Fetched 1 row(s) in 0.01s
Attachments
Issue Links
- is duplicated by
-
IMPALA-2595 Impala inconsistently checks authorization on query and explain query
- Resolved
-
IMPALA-5674 When using Sentry, it does not have privileges to run SHOW CREATE VIEW including Built-In functions.
- Resolved