[FLINK-1110] Add execution on collections for flatMap