public static Transaction beginReplace(
            File temp, String name, Schema schema, PartitionSpec spec) {
        return beginReplace(
                temp,
                name,
                schema,
                spec,
                SortOrder.unsorted(),
                ImmutableMap.of(),
                new TestTableOperations(name, temp));
    }
Copy from iceberg-flink:iceberg-flink-1.15:1.1.x
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/iceberg/src/test/java/org/apache/inlong/sort/iceberg/sink/util/TestTables.java