Todd Lipcon created IMPALA-7321:
-----------------------------------

             Summary: Write permissions checks for insert into multi-level 
partitioned table are incorrect
                 Key: IMPALA-7321
                 URL: https://issues.apache.org/jira/browse/IMPALA-7321
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend
            Reporter: Todd Lipcon


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.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to