You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/09/29 07:57:00 UTC

[jira] [Commented] (SPARK-25574) Add an option `keepQuotes` for parsing csv file

    [ 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