This isn't supported in Flink 1.18. Looks like it'll be available in the next release (as of 3/23/2025) https://issues.apache.org/jira/browse/FLINK-35702.