-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.2.0, 1.3.0, 2.0.0
-
Component/s: Authorization
-
Labels:None
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.
- duplicates
-
HIVE-10625 Handle Authorization for 'select <expr>' hive queries in SQL Standard Authorization
-
- Resolved
-