Skip to content
Open
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
4 changes: 2 additions & 2 deletions orc/src/main/java/org/apache/iceberg/orc/ORCSchemaUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ private static TypeDescription buildOrcProjection(Integer fieldId, Type type, bo
orcType = promotedType.get();
} else {
Preconditions.checkArgument(isSameType(originalType, type),
"Can not promote %s type to %s",
originalType.getCategory(), type.typeId().name());
"Can not promote %s type to %s for field %s",
originalType.getCategory(), type.typeId().name(), orcType.name());
orcType = originalType.clone();
}
}
Expand Down