HIVE-7334: use LinkedHashMap to maintain key orders