spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arkadiusz Bicz <arkadiusz.b...@gmail.com>
Subject Re: Support for decimal separator (comma or period) in spark 2.1
Date Thu, 23 Feb 2017 12:31:33 GMT
>
> Hi Team,
>
> I would like to know if it is possible to specify decimal localization for
> DataFrameReader for  csv?
>
> I have cvs files from localization where decimal separator is comma like
> 0,32 instead of US way like 0.32
>
> Is it a way to specify in current version of spark to provide
> localization:
>
> spark.read.option("sep",";").option("header",
> "true").option("inferSchema", "true").format("csv").load("
> nonuslocalized.csv")
>
> If not should I create ticket in jira for this ? I can work on solution if
> not available.
>
> Best Regards,
>
> Arkadiusz Bicz
>

Mime
View raw message