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

Dapeng Sun commented on SENTRY-844:
-----------------------------------

Hi [~sravya], it may also need to fix at Hive side. {{void 
org.apache.hadoop.hive.metastore.MetaStoreEventListener.onAlterTable(AlterTableEvent
 tableEvent) throws MetaException}}  currently, we can only get info about old 
table and new table, my concern is if we can't get the commands string how can 
we distinguish {{CHANGE}} {{REPLACE}} and {{ADD}}.

https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-AlterColumn



> Add tests for cases: Column-level privileges are updated when table columns 
> are dropped, changed or replaced (i.e., using an ALTER TABLE stmt)
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-844
>                 URL: https://issues.apache.org/jira/browse/SENTRY-844
>             Project: Sentry
>          Issue Type: Test
>    Affects Versions: 1.5.0
>            Reporter: Sravya Tirukkovalur
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to