Re: Does Spark Structured Streaming have a JDBC sink or Do I need to use ForEachWriter?

2018-06-21 Thread kant kodali
gt; > > > > > *From: *kant kodali > *Date: *Wednesday, June 20, 2018 at 9:10 PM > *To: *"user @spark" > *Subject: *Does Spark Structured Streaming have a JDBC sink or Do I need > to use ForEachWriter? > > > > Hi All, > > > > Does Spa

Re: Does Spark Structured Streaming have a JDBC sink or Do I need to use ForEachWriter?

2018-06-21 Thread Lalwani, Jayesh
/GaalDornick/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/JDBCSinkLog.scala From: kant kodali Date: Wednesday, June 20, 2018 at 9:10 PM To: "user @spark" Subject: Does Spark Structured Streaming have a JDBC sink or Do I need to use ForEachWriter? Hi

Re: Does Spark Structured Streaming have a JDBC sink or Do I need to use ForEachWriter?

2018-06-21 Thread Tathagata Das
Actually, we do not support jdbc sink yet. The blog post was just an example :) I agree it is misleading in hindsight. On Wed, Jun 20, 2018 at 6:09 PM, kant kodali wrote: > Hi All, > > Does Spark Structured Streaming have a JDBC sink or Do I need to use > ForEachWriter? I see the fo

Does Spark Structured Streaming have a JDBC sink or Do I need to use ForEachWriter?

2018-06-20 Thread kant kodali
Hi All, Does Spark Structured Streaming have a JDBC sink or Do I need to use ForEachWriter? I see the following code in this link <https://databricks.com/blog/2016/07/28/structured-streaming-in-apache-spark.html> and I can see that database name can be passed in the connection string, howe