hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sushanth Sowmyan (JIRA)" <>
Subject [jira] [Created] (HIVE-10393) Make AddPartitionMessage and DropPartitionMessage leaner
Date Sun, 19 Apr 2015 18:22:59 GMT
Sushanth Sowmyan created HIVE-10393:

             Summary: Make AddPartitionMessage and DropPartitionMessage leaner
                 Key: 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

View raw message