[
https://issues.apache.org/jira/browse/SPARK-18359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16200831#comment-16200831
]
Andrew Ash commented on SPARK-18359:
------------------------------------
I agree with Sean -- using the submitting JVM's locale is insufficient. Some
users will want to join CSVs with different locales, and that doesn't offer a
means of using different locales on different files. This really should be
specified on a per-csv basis, which is why I think the direction [~abicz]
suggested supports this nicely:
{noformat}
spark.read.option("locale", "value").csv("filefromeurope.csv")
{noformat}
where the value is something we can use to get a {{java.util.Locale}}
Has anyone worked around this functionality gap in a useful way, or do we still
need to work through these Locale issues in spark-csv?
> Let user specify locale in CSV parsing
> --------------------------------------
>
> Key: SPARK-18359
> URL: https://issues.apache.org/jira/browse/SPARK-18359
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.0.0, 2.0.1
> Reporter: yannick Radji
>
> On the DataFrameReader object there no CSV-specific option to set decimal
> delimiter on comma whereas dot like it use to be in France and Europe.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]