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

[jira] [Commented] (SPARK-16041) Disallow Duplicate Columns in `partitionBy`, `bucketBy` and `sortBy`

    [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org