Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.0, 1.3.0, 2.0.0
-
None
Description
The queries like SELECT 1+1;, The target table and database will set to _dummy_database _dummy_table, authorization should skip these kinds of databases or tables.
For authz v1. it has skip them.
for (WriteEntity write : outputs) { if (write.isDummy() || write.isPathType()) { continue; }
for (ReadEntity read : inputs) { if (read.isDummy() || read.isPathType()) { continue; } ... }
...
This patch will fix authz v2.
Attachments
Attachments
Issue Links
- duplicates
-
HIVE-10625 Handle Authorization for 'select <expr>' hive queries in SQL Standard Authorization
- Resolved