问题
I am streaming tweets from a Twitter app to Spark for analysis. I want to output the resulting Spark SQL table to Tableau for real-time analysis locally.
I have already tried connecting to Databricks to run the program but I haven't been able to connect the Twitter app to Databricks notebook.
My code for writing the steam looks like this:
activityQuery = output.writeStream.trigger(processingTime='1 seconds').queryName("Places")\
.format("memory")\
.start()
来源:https://stackoverflow.com/questions/56653708/connecting-spark-streaming-to-tableau