You could take at RDD *async operations, their source code. May be that can help if getting some early results.
TD On Fri, Jun 5, 2015 at 8:41 AM, Pietro Gentile < pietro.gentile89.develo...@gmail.com> wrote: > Hi all, > > > what is the best way to perform Spark SQL queries and obtain the result > tuplas in a stremaing way. In particullar, I want to aggregate data and > obtain the first and incomplete results in a fast way. But it should be > updated until the aggregation be completed. > > Best Regards. >