public static void assertTableRows(String tablePath, List<RowData> expected, String branch)
            throws IOException {
        assertTableRecords(tablePath, convertToRecords(expected), branch);
    }
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