public static Comparator<StructLike> forType(Types.StructType struct) {
    return new StructLikeComparator(struct);
  }
@Test
  public void testTimestamp() {
    assertComparesCorrectly(Comparators.forType(Types.TimestampType.withoutZone()), 111, 222);
    assertComparesCorrectly(Comparators.forType(Types.TimestampType.withZone()), 111, 222);
  }