[ https://issues.apache.org/jira/browse/SPARK-34992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17318640#comment-17318640 ]
Hyukjin Kwon commented on SPARK-34992: -------------------------------------- We could make it configurable. That referred to R's read_csv and pandas' read_csv. if they have the options, I think we can have that too. > Index Appending when Duplicate Column names > ------------------------------------------- > > Key: SPARK-34992 > URL: https://issues.apache.org/jira/browse/SPARK-34992 > Project: Spark > Issue Type: Bug > Components: Spark Core > Affects Versions: 3.1.1 > Reporter: Hallah Butt > Priority: Major > > In reference to below mentioned link > [https://github.com/apache/spark/pull/14745] > I am reporting this issue that can it should be configurable to append values > when we have duplicate columns? For instance, instead of always appending > column index, there should be configurable leverage to append any sort of > string. Lets say, instead of Cola2 and Cola34, we can set as Cola[xyz] and > Cola1. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org