Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.1.0
-
None
-
None
Description
Hive internally rewrites this 'select <expression>' query into 'select <expression> from _dummy_database._dummy_table', where these dummy db and table are temp entities for the current query.
The SQL Standard Authorization need to handle these special objects.
Typing "select reverse("123");" in beeline,will get this error :
Error: Error while compiling statement: FAILED: HiveAuthzPluginException Error getting object from metastore for Object [type=TABLE_OR_VIEW, name=_dummy_database._dummy_table] (state=42000,code=40000)
Attachments
Issue Links
- is duplicated by
-
HIVE-11498 HIVE Authorization v2 should not check permission for dummy entity
- Closed