Github user JasonMWhite commented on the pull request:

    https://github.com/apache/spark/pull/12470#issuecomment-211635125
  
    Hmm, I see what you mean.
    ```
    r1 = df.select('a', 'b', df['b'].alias('a')).collect()[0]
    r1 # Row(a=1, b=2, a=2)
    ```
    What does that even mean? And what should `r1['a']` return? Throw an 
exception for the ambiguity, perhaps? If so, how would the user disambiguate 
the columns again?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to