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 "Adam Holley (JIRA)" <ji...@apache.org> on 2018/09/25 14:15:00 UTC

[jira] [Assigned] (IMPALA-7616) Refactor PrincipalPrivilege.buildPrivilegeName

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

Adam Holley reassigned IMPALA-7616:
-----------------------------------

    Assignee: Adam Holley

> Refactor PrincipalPrivilege.buildPrivilegeName
> ----------------------------------------------
>
>                 Key: IMPALA-7616
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7616
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 3.1.0
>            Reporter: Adam Holley
>            Assignee: Adam Holley
>            Priority: Minor
>
> The buildPrivilegeName pattern across the frontend code is odd in that setting the name is an explicit function and not built during the get from the constituent parts.  e.g. If you create a privilege that doesn't have the grant option set, and then set the grant option after, the getPrivilegeName() will return a name that does not have the grant option.  This should be refactored to build the name on the getPrivilegeName call based on the current values in the Privilege object.



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

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