You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Laszlo Gaal (Jira)" <ji...@apache.org> on 2021/03/25 16:49:00 UTC

[jira] [Updated] (IMPALA-10326) PrincipalPrivilegeTree doesn't handle empty string and wildcards correctly

     [ https://issues.apache.org/jira/browse/IMPALA-10326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Laszlo Gaal updated IMPALA-10326:
---------------------------------
    Summary: PrincipalPrivilegeTree doesn't handle empty string and wildcards correctly  (was: PrincipalPrivilegeTree doesn't handle emtry string and wildcards correctly)

> PrincipalPrivilegeTree doesn't handle empty string and wildcards correctly
> --------------------------------------------------------------------------
>
>                 Key: IMPALA-10326
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10326
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Catalog
>    Affects Versions: Impala 3.4.0
>            Reporter: Csaba Ringhofer
>            Assignee: Quanlong Huang
>            Priority: Major
>              Labels: sentry
>
> Two bugs slipped through the tests in IMPALA-9242:
> 1. It assumes that unfilled elements in a privilege (e.g. table in a database privilege) are null, which is true in FE tests, but it is an empty string when the privilege comes from SentryPrivilege.
> 2. wildcards (e.g. * in server=server1->db=tpcds->table=*) are not handled well in the tree - it will be added as a table level privilege, while it should be added as a database-wide privilege



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org