public static Transaction beginReplace(
            File temp,
            String name,
            Schema schema,
            PartitionSpec spec,
            SortOrder sortOrder,
            Map<String, String> properties) {
        return beginReplace(
                temp, name, schema, spec, sortOrder, properties, 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