public static Comparator<StructLike> forType(Types.StructType struct) {
    return new StructLikeComparator(struct);
  }
@Test
  public void testDecimal() {
    assertComparesCorrectly(
        Comparators.forType(Types.DecimalType.of(5, 7)),
        BigDecimal.valueOf(0.1),
        BigDecimal.valueOf(0.2));
  }