Hyukjin Kwon created SPARK-17583:

             Summary: Remove unused rowSeparator variable and set 
auto-expanding buffer as default for maxCharsPerColumn option in CSV
                 Key: SPARK-17583
                 URL: https://issues.apache.org/jira/browse/SPARK-17583
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.0.0
            Reporter: Hyukjin Kwon
            Priority: Minor

This JIRA includes several changes below:

1. Upgrade Univocity library from 2.1.1 to 2.2.1

This includes some performance improvement and also enabling auto-extending 
buffer in {{maxCharsPerColumn}} option in CSV. Please refer the [release 

2. Remove {{rowSeparator}} variable existing in {{CSVOptions}}

We have this variable in 
 but it seems possibly causing confusion that it actually does not care of 
{{\r\n}}. For example, we have an issue open about this SPARK-17227 describing 
this variable

This options is virtually not being used because we rely on 
{{LineRecordReader}} in Hadoop which deals with only both {{\n}} and {{\r\n}}.

3. Setting the default value of {{maxCharsPerColumn}} to auto-expending 

We are setting 1000000 for the length of each column. It'd be more sensible we 
allow auto-expending rather than fixed length by default.

This message was sent by Atlassian JIRA

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

Reply via email to