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-25574) Add an option `keepQuotes` for parsing csv file
Date Sat, 29 Sep 2018 07:57:00 GMT

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

Apache Spark commented on SPARK-25574:
--------------------------------------

User '10110346' has created a pull request for this issue:
https://github.com/apache/spark/pull/22590

> Add an option `keepQuotes` for parsing csv  file
> ------------------------------------------------
>
>                 Key: SPARK-25574
>                 URL: https://issues.apache.org/jira/browse/SPARK-25574
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: liuxian
>            Priority: Minor
>
> In our project, when we read the CSV file, we hope to keep quotes.
> For example:
> We have such a record in the CSV file.:
> *ab,cc,,"c,ddd"*
> We hope it displays like this:
> |_c0|_c1|_c2|    _c3|
> |  ab|cc  |null|*"c,ddd"*|
>  
> Not like this:
> |_c0|_c1|_c2|  _c3|
> |  ab|cc  |null|c,ddd|



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


Mime
View raw message