Burak Yavuz created SPARK-17569:

             Summary: Don't recheck existence of files when generating File 
Relation resolution in StructuredStreaming
                 Key: SPARK-17569
                 URL: https://issues.apache.org/jira/browse/SPARK-17569
             Project: Spark
          Issue Type: Improvement
            Reporter: Burak Yavuz

Structured Streaming's FileSource lists files to classify files as Offsets. 
Once this file list is committed to a metadata log for a batch, this file list 
is turned into a "Batch FileSource" Relation which acts as the source to the 
incremental execution.

While this "Batch FileSource" Relation is resolved, we re-check that every 
single file exists on the Driver. It takes a horrible amount of time, and is a 
total waste. We can simply skip file existence during execution.

This message was sent by Atlassian JIRA

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

Reply via email to