spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-19715) Option to Strip Paths in FileSource
Date Wed, 01 Mar 2017 13:49:45 GMT

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

Apache Spark commented on SPARK-19715:
--------------------------------------

User 'lw-lin' has created a pull request for this issue:
https://github.com/apache/spark/pull/17120

> Option to Strip Paths in FileSource
> -----------------------------------
>
>                 Key: SPARK-19715
>                 URL: https://issues.apache.org/jira/browse/SPARK-19715
>             Project: Spark
>          Issue Type: New Feature
>          Components: Structured Streaming
>    Affects Versions: 2.1.0
>            Reporter: Michael Armbrust
>
> Today, we compare the whole path when deciding if a file is new in the FileSource for
structured streaming.  However, this cause cause false negatives in the case where the path
has changed in a cosmetic way (i.e. changing s3n to s3a).  We should add an option {{fileNameOnly}}
that causes the new file check to be based only on the filename (but still store the whole
path in the log).



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


Mime
View raw message