[ https://issues.apache.org/jira/browse/HIVE-6193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13870267#comment-13870267 ]
Sergey Shelukhin commented on HIVE-6193: ---------------------------------------- List is more flexible if we want to add stuff per partition and not as part of partition object (we cannot add fields specific to every request to partition object, it will become a dump). With set, it becomes impossible without some tricks. Set doesn't really do anything good for this API, it doesn't enforce logical uniqueness because it contains thrift objects with bunch of random fields that are not part of partition identity; all other partition APIs also use lists. > change partition pruning request to metastore to use list instead of set > ------------------------------------------------------------------------ > > Key: HIVE-6193 > URL: https://issues.apache.org/jira/browse/HIVE-6193 > Project: Hive > Issue Type: Improvement > Affects Versions: 0.13.0 > Reporter: Sergey Shelukhin > Assignee: Sergey Shelukhin > Priority: Trivial > Fix For: 0.13.0 > > Attachments: HIVE-6193.patch > > > Change partition pruning request to metastore to use list instead of set. > Set is unwieldy w.r.t. compat, better get rid of it before API in this form > was ever shipped. -- This message was sent by Atlassian JIRA (v6.1.5#6160)