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)