Connecting Spark Streaming to Tableau

☆樱花仙子☆ 提交于 2019-12-24 21:16:52

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!