private static List<Record> convertToRecords(List<RowData> rows) {
        List<Record> records = Lists.newArrayList();
        for (RowData row : rows) {
            Integer id = row.isNullAt(0) ? null : row.getInt(0);
            String data = row.isNullAt(1) ? null : row.getString(1).toString();
            records.add(createRecord(id, data));
        }
        return records;
    }
Write the list of {@link RowData} to the given path and with the given partition data
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/iceberg/src/test/java/org/apache/inlong/sort/iceberg/sink/util/SimpleDataUtil.java