You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:11:07 UTC

[jira] [Resolved] (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 ]

Hyukjin Kwon resolved SPARK-20734.
----------------------------------
    Resolution: Incomplete

> 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
>            Priority: Major
>              Labels: bulk-closed
>
>     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
(v7.6.3#76005)

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