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 "Csaba Ringhofer (Jira)" <ji...@apache.org> on 2020/11/14 18:48:00 UTC
[jira] [Created] (IMPALA-10326) PrincipalPrivilegeTree doesn't
handle emtry string and wildcards correctly
Csaba Ringhofer created IMPALA-10326:
----------------------------------------
Summary: PrincipalPrivilegeTree doesn't handle emtry string and wildcards correctly
Key: IMPALA-10326
URL: https://issues.apache.org/jira/browse/IMPALA-10326
Project: IMPALA
Issue Type: Bug
Components: Catalog
Reporter: Csaba Ringhofer
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