@Override
        public TableMetadata refresh() {
            synchronized (METADATA) {
                this.current = METADATA.get(tableName);
            }
            return current;
        }
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