amogh-jahagirdar commented on code in PR #11831:
URL: https://github.com/apache/iceberg/pull/11831#discussion_r1936176654
##########
api/src/main/java/org/apache/iceberg/transforms/Identity.java:
##########
@@ -39,7 +42,7 @@ class Identity<T> implements Transform<T, T> {
@Deprecated
public static <I> Identity<I> get(Type type) {
Preconditions.checkArgument(
- type.typeId() != Type.TypeID.VARIANT, "Unsupported type for identity:
%s", type);
+ !UNSUPPORTED_TYPES.contains(type), "Unsupported type for identity:
%s", type);
Review Comment:
This comment was super old (I guess I forgot to publish), and it looks like
it ended up being addresed. Resolving
--
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]