On Tue, Aug 2, 2016 at 10:59 AM, Ayoub Benali <benali.ayoub.i...@gmail.com> wrote: > Why writeStream is needed to consume the data ?
You need to start your structured streaming (query) and there's no way to access it without DataStreamWriter => writeStream's a must. http://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.sql.streaming.DataStreamWriter Pozdrawiam, Jacek Laskowski ---- https://medium.com/@jaceklaskowski/ Mastering Apache Spark 2.0 http://bit.ly/mastering-apache-spark Follow me at https://twitter.com/jaceklaskowski --------------------------------------------------------------------- To unsubscribe e-mail: user-unsubscr...@spark.apache.org