You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:37:31 UTC

[jira] [Resolved] (SPARK-17132) binaryFiles method can't handle paths with embedded commas

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

Hyukjin Kwon resolved SPARK-17132.
----------------------------------
    Resolution: Incomplete

> binaryFiles method can't handle paths with embedded commas
> ----------------------------------------------------------
>
>                 Key: SPARK-17132
>                 URL: https://issues.apache.org/jira/browse/SPARK-17132
>             Project: Spark
>          Issue Type: Bug
>          Components: Java API
>    Affects Versions: 1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1, 1.6.2, 2.0.0
>            Reporter: Maximilian Najork
>            Priority: Major
>              Labels: bulk-closed
>
> A path with an embedded comma is treated as two separate paths by binaryFiles. Since commas are legal characters in paths, this behavior is incorrect. I recommend overloading binaryFiles to accept an array of path strings in addition to a string of comma-separated paths. Since setInputPaths is already overloaded to accept either form, this should be relatively low-effort.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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