You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2018/07/19 02:01:00 UTC

[jira] [Created] (IMPALA-7321) Write permissions checks for insert into multi-level partitioned table are incorrect

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)