public void appendIcebergTable(Configuration configuration, Table table, FileFormat format, StructLike partition,
      List<Record> records) throws IOException {
    TestHelper helper = new TestHelper(
        configuration, null, null, null, null, format, temp);

    helper.setTable(table);
    if (!records.isEmpty()) {
      helper.appendToTable(helper.writeFile(partition, records));
    }
  }
Append more data to the table.
@param configuration The configuration used during the table creation
@param table The table to append
@param format The file format used for writing the data
@param partition The partition to write to
@param records The records with which should be added to the table
@throws IOException If there is an error writing data
iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/TestTables.java