You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2017/06/02 20:47:04 UTC

[jira] [Updated] (SPARK-20734) Structured Streaming spark.sql.streaming.schemaInference not handling schema changes

     [ https://issues.apache.org/jira/browse/SPARK-20734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Armbrust updated SPARK-20734:
-------------------------------------
    Issue Type: New Feature  (was: Bug)

> Structured Streaming spark.sql.streaming.schemaInference not handling schema changes
> ------------------------------------------------------------------------------------
>
>                 Key: SPARK-20734
>                 URL: https://issues.apache.org/jira/browse/SPARK-20734
>             Project: Spark
>          Issue Type: New Feature
>          Components: Structured Streaming
>    Affects Versions: 2.1.1
>            Reporter: Ram
>
>     sparkSession.config("spark.sql.streaming.schemaInference", true).getOrCreate();
>     Dataset<Row> dataset = sparkSession.readStream().parquet("file:/files-to-process");
>     StreamingQuery streamingQuery =
>         dataset.writeStream().option("checkpointLocation", "file:/checkpoint-location")
>             .outputMode(Append()).start("file:/save-parquet-files");
>     streamingQuery.awaitTermination();
>     After streaming query started If there's a schema changes on new paruet files under files-to-process directory. Structured Streaming not writing new schema changes. Is it possible to handle these schema changes in Structured Streaming.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org