Skip to content

Commit 987eb1d

Browse files
committed
Recorder hive table properties to align the avro.schema.literal placement contract (linkedin#86)
1 parent 611b256 commit 987eb1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hive-metastore/src/main/java/org/apache/iceberg/hive/legacy/LegacyHiveTableUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ private static Type primitiveIcebergType(String hiveTypeString) {
126126

127127
static Map<String, String> getTableProperties(org.apache.hadoop.hive.metastore.api.Table table) {
128128
Map<String, String> props = new HashMap<>();
129-
props.putAll(table.getSd().getSerdeInfo().getParameters());
130129
props.putAll(table.getSd().getParameters());
131130
props.putAll(table.getParameters());
131+
props.putAll(table.getSd().getSerdeInfo().getParameters());
132132
return props;
133133
}
134134

0 commit comments

Comments
 (0)