[ https://issues.apache.org/jira/browse/SENTRY-2406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arjun Mishra updated SENTRY-2406: --------------------------------- Description: When building input or output hierarchy list, we iterate over all ReadEntity inputs received from Hive. The inputs particularly have accessed columns that can repeat for other ReadEntity objects. This happens definitively when a table has partitions. We should in general protect Sentry from not having to authorize over a list of DBModelAuthorizable objects when it has already been done. (was: It has been observed that sometimes the inputHierarchy and outputHierarchy have duplicate values. This will result in redundant comparisons) > Make sure inputHierarchy and outputHierarchy have unique values > --------------------------------------------------------------- > > Key: SENTRY-2406 > URL: https://issues.apache.org/jira/browse/SENTRY-2406 > Project: Sentry > Issue Type: Bug > Components: Sentry > Affects Versions: 2.1.0 > Reporter: Arjun Mishra > Assignee: Arjun Mishra > Priority: Major > Attachments: SENTRY-2406.01.patch > > > When building input or output hierarchy list, we iterate over all ReadEntity > inputs received from Hive. The inputs particularly have accessed columns that > can repeat for other ReadEntity objects. This happens definitively when a > table has partitions. We should in general protect Sentry from not having to > authorize over a list of DBModelAuthorizable objects when it has already been > done. -- This message was sent by Atlassian JIRA (v7.6.3#76005)