How to write Spark Structured Streaming Data into Hive?
There is df.write().saveAsTable(tablename)
however I am not sure if this writes streaming data
I normally do df.writeStream().trigger(new ProcessingTime(1000)).foreach(new KafkaSink()).start()
to write streaming data into Kafka but I don't see anything similar to write streaming data into Hive data warehouse. any ideas?
or