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

Quanlong Huang updated IMPALA-10326:
------------------------------------
    Target Version: Impala 3.4.3  (was: Impala 3.4.2)

> 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.20.10#820010)

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

Reply via email to