Shixiong Zhu created SPARK-29953:
------------------------------------

             Summary: 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


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.

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

Reply via email to