Skip to content

Commit

Permalink
Fix TestETypeConverter by adding missing metadata in MyConverterParent
Browse files Browse the repository at this point in the history
  • Loading branch information
zabetak committed May 18, 2021
1 parent 427384a commit d4b1959
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import java.util.Map;

import org.apache.hadoop.hive.conf.HiveConf;
import org.apache.hadoop.hive.ql.io.parquet.write.DataWritableWriteSupport;
import org.apache.hadoop.io.Writable;

/**
Expand All @@ -44,6 +45,7 @@ public void set(int index, Writable value) {
public Map<String, String> getMetadata() {
Map<String, String> metadata = new HashMap<>();
metadata.put(HiveConf.ConfVars.HIVE_PARQUET_TIMESTAMP_SKIP_CONVERSION.varname, "false");
metadata.put(DataWritableWriteSupport.WRITER_ZONE_CONVERSION_LEGACY, "false");
return metadata;
}

Expand Down

0 comments on commit d4b1959

Please sign in to comment.