That is indeed not the nice way to do it because it will create an
executionplan just to get that value, but it does work, so thnx for that

A more concrete example for what i want,
In gelly you have the SingleSourceShortestPaths algorith which requires the
sourceVertexId, now i want to execute a metric called the betweenness, this
requires me to execute the algorithm on each of the nodes. If i need the id
of every node that means i need to Collect() all those nodes as well, which
means for a graph of 1000 nodes i have 1000+ execution plans



--
View this message in context: 
http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Retrieving-a-single-element-from-a-DataSet-tp9731p9734.html
Sent from the Apache Flink User Mailing List archive. mailing list archive at 
Nabble.com.

Reply via email to