public static ResourceSchema convert(Schema icebergSchema) throws IOException {
    ResourceSchema result = new ResourceSchema();
    result.setFields(convertFields(icebergSchema.columns()));
    return result;
  }
@Test
  public void testLongInBag() throws IOException {
    Schema icebergSchema =
        new Schema(
            optional(
                1,
                "nested_list",
                MapType.ofOptional(
                    2, 3, StringType.get(), ListType.ofRequired(5, LongType.get()))));
    SchemaUtil.convert(icebergSchema);
  }