I am working with apache flink 1.6, and I am trying to implement a stateful processing function, which uses flink's operator state, es described here: https://ci.apache.org/projects/flink/flink-docs-release-1.6/dev/stream/state/state.html#stateful-source-functions
However, the example on this page will not compile for me:
So the reason for this is that checkpointedState.get() will return a java.lang.Iterable, and not a scala.collection.Iterable. What is the reason for this? Have I made a mistake somewhere on the way, or is the example code wrong?
