You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sushanth Sowmyan (JIRA)" <ji...@apache.org> on 2015/04/19 20:22:59 UTC
[jira] [Created] (HIVE-10393) Make AddPartitionMessage and
DropPartitionMessage leaner
Sushanth Sowmyan created HIVE-10393:
---------------------------------------
Summary: Make AddPartitionMessage and DropPartitionMessage leaner
Key: HIVE-10393
URL: https://issues.apache.org/jira/browse/HIVE-10393
Project: Hive
Issue Type: Bug
Reporter: Sushanth Sowmyan
AddPartitionMessage and DropPartitionMessage currently contain a List<Map<String,String>> ptnKeyValues to store a list of partitions, each by its set of key-values. This results in a lot of duplication, since the partition keys are the same across them.
So, we should split that into two getters:
a) List<String> getPtnKeys
b) List<List<String>> getPtnPartVals
That way we store the entire info, but for larger messages, cut the storage required nearly by half.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)