Github user maropu commented on the issue:

    https://github.com/apache/spark/pull/17758
  
    yea, I think that is an expected behaviour, actually, some operations of 
`DataFrame/Dataset` accepts the duplication. e.g., 
    ```
    scala> Seq((1, 2)).toDF("a", "a").show
    +---+---+
    |  a|  a|
    +---+---+
    |  1|  2|
    +---+---+
    ```
    Also, the original motivation of this pr does not intend to change existing 
behaviour.


---

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

Reply via email to