[ 
https://issues.apache.org/jira/browse/SPARK-16041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15851468#comment-15851468
 ] 

Hyukjin Kwon commented on SPARK-16041:
--------------------------------------

[~smilegator], I just happened to see this JIRA just while looking through the 
history. Per https://github.com/apache/spark/pull/13756#issuecomment-237658676, 
would this JIRA be resolvable maybe?

> Disallow Duplicate Columns in `partitionBy`, `bucketBy` and `sortBy`
> --------------------------------------------------------------------
>
>                 Key: SPARK-16041
>                 URL: https://issues.apache.org/jira/browse/SPARK-16041
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Xiao Li
>
> Duplicate columns are not allowed in `partitionBy`, `bucketBy`, `sortBy` in 
> DataFrameWriter. The duplicate columns could cause unpredictable results. For 
> example, the resolution failure. 
> We should detect the duplicates and issue exceptions with appropriate 
> messages.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to