Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
ghx-label-4
Description
Currently, the logic to determine whether a table has write access is a bit incorrect: we check each existing partition, and we check the top-level location for the table. However, if a table uses partitioning on multiple levels, we could have the following situation:
table/ (read-write)
table/x=1/ (read-only)
table/x=1/y=1/ (read-write)
In this case, the table would pass the check and be determined to be "writable" but in fact an attempt to create a new partition such as x=1/y=2 would fail in the backend.
Attachments
Issue Links
- is related to
-
IMPALA-7539 Support HDFS permissions checks with LocalCatalog
- Open
- relates to
-
IMPALA-12472 Skip permission check when refreshing in event processor
- Open
-
IMPALA-7320 Loading HDFS tables calls getFileStatus on each partition serially
- Resolved