Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.4.0, 1.5.0
-
None
-
None
Description
Create view_from_test_complex_view from test_complex_view:
describe formatted view_from_test_complex_view; | View Expanded Text: | SELECT `userid` AS `userid`, `link` AS `link` FROM (SELECT userid,link from `test_complex_view_database`.`test_complex_view`) `test_complex_view_database.view_from_test_complex_view` | NULL
Grant select to a test group, use a user from that group to select will encounter privilege error:
0: jdbc:hive2://anneyu-sentry-ha-10-4.ent.clo> select * from view_from_test_complex_view; Error: Error while compiling statement: FAILED: SemanticException No valid privileges Required privileges for this query: Server=server1->Db=test_complex_view_database->Table=test_complex_view->action=select; (state=42000,code=40000)