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

Thejas M Nair commented on HIVE-16372:
--------------------------------------

In AlterTableDesc.java
Using guava immutable list would be better. ie -
 public static final List<AlterTableTypes> nonNativeTableAllowedTypes = 
ImmutableList.of(ADDPROPS, DROPPROPS); 

In ErrorMsg.java
 Arrays.toString(AlterTableTypes.nonNativeTableAllowedTypes.toArray()) can be 
replaced with simply -
AlterTableTypes.nonNativeTableAllowedTypes
(its same format)


> Enable DDL statement for non-native tables (add/remove table properties)
> ------------------------------------------------------------------------
>
>                 Key: HIVE-16372
>                 URL: https://issues.apache.org/jira/browse/HIVE-16372
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Pengcheng Xiong
>            Assignee: Pengcheng Xiong
>         Attachments: HIVE-16372.01.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to