@Override
    public LinkedHashMap<String, String> getPartitionDescMap() {
      LinkedHashMap<String, String> result = new LinkedHashMap<>();
      for (String partDesc : partitionDesc) {
        String[] partition = CacheTag.decodePartDesc(partDesc);
        result.put(partition[0], partition[1]);
      }
      return result;
    }
CacheTag for tables with more than one partition level.
storage-api/src/java/org/apache/hadoop/hive/common/io/CacheTag.java