You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dennis Hunziker (JIRA)" <ji...@apache.org> on 2017/02/05 17:12:41 UTC

[jira] [Created] (SPARK-19465) Support custom Boolean values in CSV

Dennis Hunziker created SPARK-19465:
---------------------------------------

             Summary: Support custom Boolean values in CSV
                 Key: SPARK-19465
                 URL: https://issues.apache.org/jira/browse/SPARK-19465
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.1.0
            Reporter: Dennis Hunziker
            Priority: Minor


Support for custom Boolean values when reading from and writing to a csv data source. This has been raised before against spark-csv which is now in maintenance mode: https://github.com/databricks/spark-csv/issues/104

Example: encode Boolean values true/false as "yes"/"no" based on user supplied options

"true"/"false" (case insensitive) will be the default encoding as per the current implementation.





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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