This is an automated email from the ASF dual-hosted git repository. mbod pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push: new e98940f HIVE-25727: Iceberg hive catalog should create table object with initialised SerdeParams (Marton Bod, reviewed by Peter Vary) e98940f is described below commit e98940feb689e7c5c7ebd08a53ad7a5749a9e049 Author: Marton Bod <m...@cloudera.com> AuthorDate: Fri Nov 19 23:41:55 2021 +0100 HIVE-25727: Iceberg hive catalog should create table object with initialised SerdeParams (Marton Bod, reviewed by Peter Vary) --- .../src/main/java/org/apache/iceberg/hive/HiveTableOperations.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iceberg/iceberg-catalog/src/main/java/org/apache/iceberg/hive/HiveTableOperations.java b/iceberg/iceberg-catalog/src/main/java/org/apache/iceberg/hive/HiveTableOperations.java index 0ade33f..ccde59c 100644 --- a/iceberg/iceberg-catalog/src/main/java/org/apache/iceberg/hive/HiveTableOperations.java +++ b/iceberg/iceberg-catalog/src/main/java/org/apache/iceberg/hive/HiveTableOperations.java @@ -70,6 +70,7 @@ import org.apache.iceberg.relocated.com.google.common.collect.BiMap; import org.apache.iceberg.relocated.com.google.common.collect.ImmutableBiMap; import org.apache.iceberg.relocated.com.google.common.collect.ImmutableMap; import org.apache.iceberg.relocated.com.google.common.collect.Lists; +import org.apache.iceberg.relocated.com.google.common.collect.Maps; import org.apache.iceberg.util.Tasks; import org.apache.thrift.TException; import org.slf4j.Logger; @@ -403,6 +404,7 @@ public class HiveTableOperations extends BaseMetastoreTableOperations { storageDescriptor.setCols(HiveSchemaUtil.convert(metadata.schema())); storageDescriptor.setLocation(metadata.location()); SerDeInfo serDeInfo = new SerDeInfo(); + serDeInfo.setParameters(Maps.newHashMap()); if (hiveEngineEnabled) { storageDescriptor.setInputFormat("org.apache.iceberg.mr.hive.HiveIcebergInputFormat"); storageDescriptor.setOutputFormat("org.apache.iceberg.mr.hive.HiveIcebergOutputFormat");