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

2019-03-14 Thread Ryan Radtke (JIRA)


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

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

If you are abstracting elt then it is important.  Also, its just sloppy.  
Probably not a major issue though.  I changed it to minor.


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



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

2019-03-14 Thread Ryan Radtke (JIRA)


[ 
https://issues.apache.org/jira/browse/SPARK-27152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org