@Override
        public LocationProvider locationProvider() {
            Preconditions.checkNotNull(
                    current, "Current metadata should not be null when locationProvider is called");
            return LocationProviders.locationsFor(current.location(), current.properties());
        }
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