[ 
https://issues.apache.org/jira/browse/SPARK-17569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15514584#comment-15514584
 ] 

Apache Spark commented on SPARK-17569:
--------------------------------------

User 'brkyvz' has created a pull request for this issue:
https://github.com/apache/spark/pull/15203

> 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
>            Assignee: Burak Yavuz
>             Fix For: 2.1.0
>
>
> 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
(v6.3.4#6332)

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

Reply via email to