You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ram (JIRA)" <ji...@apache.org> on 2017/05/14 05:50:04 UTC
[jira] [Created] (SPARK-20734) Structured Streaming
spark.sql.streaming.schemaInference not handling schema changes
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org