[
https://issues.apache.org/jira/browse/IMPALA-7616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fredy Wijaya resolved IMPALA-7616.
----------------------------------
Resolution: Fixed
Fix Version/s: Impala 3.1.0
> 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: Fredy Wijaya
> Priority: Minor
> Fix For: Impala 3.1.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]