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

2019-03-14 Thread Hyukjin Kwon (JIRA)


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

Hyukjin Kwon commented on SPARK-27152:
--

So, in which case is it important?

> 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] [Commented] (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&focusedCommentId=16792793#comment-16792793
 ] 

Ryan Radtke commented on SPARK-27152:
-

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] [Commented] (SPARK-27152) Column equality does not work for aliased columns.

2019-03-13 Thread Hyukjin Kwon (JIRA)


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

Hyukjin Kwon commented on SPARK-27152:
--

What does this matter?

> 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: Major
>
> 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