[ 
https://issues.apache.org/jira/browse/SENTRY-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14039725#comment-14039725
 ] 

Sravya Tirukkovalur commented on SENTRY-162:
--------------------------------------------

@Prasadm, patch mostly looks good. But I see some failures in TestSentryStore 
(above pre commit run)
org.apache.sentry.provider.db.service.persistent.TestSentryStore.testDropDbObject
org.apache.sentry.provider.db.service.persistent.TestSentryStore.testRenameTable
 

Can you double check please? Thanks!

> Cleanup DB store privilege metadata on Hive DDL statements
> ----------------------------------------------------------
>
>                 Key: SENTRY-162
>                 URL: https://issues.apache.org/jira/browse/SENTRY-162
>             Project: Sentry
>          Issue Type: Bug
>            Reporter: Prasad Mujumdar
>            Assignee: Prasad Mujumdar
>              Labels: grant/revoke
>         Attachments: SENTRY-162-noThrift.1.patch, 
> SENTRY-162-noThrift.2.patch, SENTRY-162.1.patch, SENTRY-162.2.patch, 
> SENTRY-162.4.patch
>
>
> The hive statements like drop table, alter table rename etc will rename or 
> destroy the DB objects. We need to update the privilege metadata for these 
> objects the accordingly.
> At minimum, we need to handle it for following -
> DROP TABLE
> DROP DATABASE
> ALTER TABLE RENAME



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to