Fokko commented on code in PR #12012:
URL: https://github.com/apache/iceberg/pull/12012#discussion_r1924964930
##########
api/src/main/java/org/apache/iceberg/transforms/Identity.java:
##########
@@ -93,6 +95,10 @@ public SerializableFunction<T, T> bind(Type type) {
@Override
public boolean canTransform(Type maybePrimitive) {
+ if (maybePrimitive.typeId() == Type.TypeID.UNKNOWN) {
+ return false;
Review Comment:
Let's follow the spec here. I don't think there is a real application for
it, but technically it should work.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]