You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ryan Radtke (JIRA)" <ji...@apache.org> on 2019/03/14 15:35:00 UTC

[jira] [Comment Edited] (SPARK-27152) Column equality does not work for aliased columns.

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

Ryan Radtke edited comment on SPARK-27152 at 3/14/19 3:34 PM:
--------------------------------------------------------------

If you are abstracting elt then it important.  Also, its just sloppy.


was (Author: ryanwradtke-thmbprnt):
If you are abstracting elt then it important.  Also, its just sloppy.

> Column equality does not work for aliased columns.
> --------------------------------------------------
>
>                 Key: SPARK-27152
>                 URL: https://issues.apache.org/jira/browse/SPARK-27152
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Ryan Radtke
>            Priority: Minor
>
> assert($"zip".as("zip_code") equals $"zip".as("zip_code")) will return false
> assert($"zip" equals $"zip") will return true.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org