Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When sentry is enabled.
create view V as select * from T;
When the user has read permission on view V, but does not have read permission on table T,
select * from V union all select * from V
failed with:
0: jdbc:hive2://********> select * from s07view union all select * from s07view limit 1; Error: Error while compiling statement: FAILED: SemanticException No valid privileges Required privileges for this query: Server=server1->Db=default->Table=sample_07->action=select; (state=42000,code=40000)
Attachments
Attachments
Issue Links
- duplicates
-
HIVE-14248 query with view in union adds underlying table as direct input
- Resolved