public static void assertTableRecords(String tablePath, List<Record> expected, String branch)
            throws IOException {
        Preconditions.checkArgument(expected != null, "expected records shouldn't be null");
        assertTableRecords(new HadoopTables().load(tablePath), expected, branch);
    }
Assert table contains the expected list of records after waiting up to {@code maxCheckCount}
with {@code checkInterval}
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/iceberg/src/test/java/org/apache/inlong/sort/iceberg/sink/util/SimpleDataUtil.java