[
https://issues.apache.org/jira/browse/SPARK-29953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shixiong Zhu resolved SPARK-29953.
----------------------------------
Fix Version/s: 3.0.0
Assignee: Jungtaek Lim
Resolution: Fixed
> File stream source cleanup options may break a file sink output
> ---------------------------------------------------------------
>
> Key: SPARK-29953
> URL: https://issues.apache.org/jira/browse/SPARK-29953
> Project: Spark
> Issue Type: Bug
> Components: Structured Streaming
> Affects Versions: 3.0.0
> Reporter: Shixiong Zhu
> Assignee: Jungtaek Lim
> Priority: Major
> Fix For: 3.0.0
>
>
> SPARK-20568 added options to file streaming source to clean up processed
> files. However, when applying these options to a directory that was written
> by a file streaming sink, it will make the directory not queryable any more
> because we delete files from the directory but they are still tracked by file
> sink logs.
> I think we should block the options if the input source is a file streaming
> sink path (has "_spark_metadata" folder).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]