spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From German Schiavon <gschiavonsp...@gmail.com>
Subject Re: Writing to mysql from pyspark spark structured streaming
Date Fri, 16 Oct 2020 06:01:46 GMT
Hi,

can you share the code?

You have to call *writeStream* on streaming Dataset/Dataframe

On Fri, 16 Oct 2020 at 02:14, Krishnanand Khambadkone
<kkhambadkone@yahoo.com.invalid> wrote:

> Hi,  I am trying to write to mysql from a spark structured streaming kafka
> source.  Using spark 2.4.0. I get this exception,
>
> AnalysisException: u"'write' can not be called on streaming
> Dataset/DataFrame
>
>

Mime
View raw message