In FlinkOrphanFilesClean#doOrphanClean, env.fromData is used for collecting information. While env.fromData was introduced in Flink 1.19, so it'll throw NoSuchMethodError when used in Flink 1.18- version. This pr changed env.fromData to env.fromElements to be compatible with lower flink versions.
Purpose
Linked issue: close #xxx
In
FlinkOrphanFilesClean#doOrphanClean
,env.fromData
is used for collecting information. Whileenv.fromData
was introduced in Flink 1.19, so it'll throwNoSuchMethodError
when used in Flink 1.18- version. This pr changedenv.fromData
toenv.fromElements
to be compatible with lower flink versions.Tests
API and Format
Documentation