[ https://issues.apache.org/jira/browse/HIVE-18379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16320765#comment-16320765 ]
Steve Yeom commented on HIVE-18379: ----------------------------------- Hey Sergey.. "ALTER TABLE authorization_part SET PROPERTIES ("PARTITIONL_LEVEL_PRIVILEGE"="TRUE");" is the statement and this statement simply fails since this isToInsertOnlyTable() returns non-null object. So for an alter statement case like the above has null value for 'transactional' and 'transactionalProp' in isToInsertOnlyTable(). You are right. The conditional statement "If (transactional == null)" may be sufficient. But I just used the existing logic of checking both and changed the location of the statement. > ALTER TABLE authorization_part SET PROPERTIES > ("PARTITIONL_LEVEL_PRIVILEGE"="TRUE"); fails when authorization_part is > MicroManaged table. > ----------------------------------------------------------------------------------------------------------------------------------------- > > Key: HIVE-18379 > URL: https://issues.apache.org/jira/browse/HIVE-18379 > Project: Hive > Issue Type: Bug > Components: Transactions > Affects Versions: 3.0.0 > Reporter: Steve Yeom > Assignee: Steve Yeom > Priority: Minor > Attachments: HIVE-18379.01.patch, HIVE-18379.02.patch, > HIVE-18379.03.patch, HIVE-18379.04.patch > > > ALTER TABLE authorization_part SET TBLPROPERTIES > ("PARTITION_LEVEL_PRIVILEGE"="TRUE") fails when authorization_part is a > Micromanaged table. > This is from authorization_2.q qtest. -- This message was sent by Atlassian JIRA (v6.4.14#64029)