You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Punit Shah (Jira)" <ji...@apache.org> on 2020/09/21 16:14:00 UTC

[jira] [Created] (SPARK-32956) Duplicate Columns in a csv file

Punit Shah created SPARK-32956:
----------------------------------

             Summary: Duplicate Columns in a csv file
                 Key: SPARK-32956
                 URL: https://issues.apache.org/jira/browse/SPARK-32956
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 3.0.1, 3.0.0, 2.4.7, 2.4.6, 2.4.5, 2.4.4, 2.4.3
            Reporter: Punit Shah


Imagine a csv file shaped like:

========================================================

Id,Product,Sale_Amount,Sale_Units,Sale_Amount2,Sale_Amount,Sale_Price
1,P,"6,40,728","6,40,728","6,40,728","6,40,728","6,40,728"
2,P,"5,81,644","5,81,644","5,81,644","5,81,644","5,81,644"

=========================================================

Reading this with the header=True will result in a stacktrace.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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