public static StructLikeWrapper forType(Types.StructType type) {
    return forType(type, Comparators.forType(type));
  }
Wrapper to adapt StructLike for use in maps and sets by implementing equals and hashCode.
iceberg/patched-iceberg-core/src/main/java/org/apache/iceberg/util/StructLikeWrapper.java