public void appendToTable(List<Record> records) throws IOException {
    appendToTable(null, records);
  }
Helper for appending {@link DataFile} to a table or appending {@link Record}s to a table.
iceberg/iceberg-handler/src/test/java/org/apache/iceberg/data/GenericAppenderHelper.java