You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuanjian Li (Jira)" <ji...@apache.org> on 2021/04/20 10:00:00 UTC

[jira] [Updated] (SPARK-34526) Skip checking glob path in FileStreamSink.hasMetadata

     [ https://issues.apache.org/jira/browse/SPARK-34526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yuanjian Li updated SPARK-34526:
--------------------------------
    Description: When checking the path in {{FileStreamSink.hasMetadata}}, we should ignore the error and assume the user wants to read a batch output. This is to keep the original behavior of ignoring the error.  (was: Some users may use a very long glob path to read and `isDirectory` may fail when the path is too long. We should ignore the error when the path is a glob path since the file streaming sink doesn’t support glob paths.)

> Skip checking glob path in FileStreamSink.hasMetadata
> -----------------------------------------------------
>
>                 Key: SPARK-34526
>                 URL: https://issues.apache.org/jira/browse/SPARK-34526
>             Project: Spark
>          Issue Type: Bug
>          Components: Structured Streaming
>    Affects Versions: 3.1.0
>            Reporter: Yuanjian Li
>            Priority: Major
>
> When checking the path in {{FileStreamSink.hasMetadata}}, we should ignore the error and assume the user wants to read a batch output. This is to keep the original behavior of ignoring the error.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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