Ram created SPARK-20734:
---------------------------

             Summary: 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: Bug
          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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to