Member since
01-11-2018
1
Post
0
Kudos Received
0
Solutions
01-11-2018
12:16 PM
This is the exception I am getting whenever I am trying to convert it. val df_col = df.select("ts.user.friends_count").collect.map(_.toSeq) org.apache.spark.sql.AnalysisException: Queries with streaming sources must be executed with writeStream.start();; All I am trying to do is replicate the following sql.dataframe operations in structured streaming. df.collect().foreach(row => droolsCaseClass(row.getLong(0), row.getString(1))) which is running fine in Dataframes but not in structured streaming.
... View more
Labels:
- Labels:
-
Apache Kafka
-
Apache Spark