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

David Mollitor commented on HIVE-22569:
---------------------------------------

[~vgarg] Mind taking a look again?  Thanks!

> PartitionPruner use Collections Class
> -------------------------------------
>
>                 Key: HIVE-22569
>                 URL: https://issues.apache.org/jira/browse/HIVE-22569
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>         Attachments: HIVE-22569.2.patch, HIVE.22569.1.patch
>
>
> Make class {{PrunedPartitionList.java}} more immutable.  It kinda is already. 
>  Immutable classes are easier to reason about.
> Use {{Collections.emptyXXX}} in {{PartitionPruner}} to save an object 
> instantiation at runtime.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to