Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
-
ghx-label-14
Description
"REFRESH <table>" and "INVALIDATE METADATA <table>" are the table level metadata-cache operations that only used in Impala (not Hive, SparkSQL or else).
In Hive-Ranger plugin, when a table is masked (either by column-masking or row-filtering policy) for a user, the user can't perform any modification (insert/delete/update) on the table (RANGER-1087, RANGER-1100). However, Hive doesn't have those metadata-cache operations. It's a grey area whether we should block them or not.
Currently, Impala blocks metadata-cache operations as well (IMPALA-10554, IMPALA-11281). However, it's possible that, before upgrade, some data-consumer jobs already have REFRESH in them. It'd be better to have a flag to allow such operations for smooth upgrade process.
The flag can be something like "allow_refresh_by_masked_users".
CC fangyurao, csringhofer
Attachments
Issue Links
- is related to
-
IMPALA-12591 Consider using getTableIfCached() in Analyzer#dbContainsTable()
- Open
-
IMPALA-12670 CatalogdMetaProvider.getIfPresent() not throwing the underlying InconsistentMetadataFetchException
- Resolved
- relates to
-
IMPALA-10554 Block modifications when row-filter/column-mask is enabled for the user
- Resolved
-
IMPALA-11281 Consider loading the table metadata for a ResetMetadataStmt
- Resolved