Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mr/src/main/java/org/apache/iceberg/mr/Catalogs.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ public static Table loadTable(Configuration conf) {

// For use in HiveIcebergSerDe and HiveIcebergStorageHandler
public static Table loadTable(Configuration conf, Properties props) {
Optional.ofNullable(props.getProperty(InputFormatConfig.CATALOG))
.ifPresent(x -> conf.set(InputFormatConfig.CATALOG, x));
return loadTable(conf, props.getProperty(NAME), props.getProperty(LOCATION));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ private static class IcebergRecordStructField implements StructField {

@Override
public String getFieldName() {
return field.name();
return field.name().toLowerCase();
}

@Override
Expand Down