You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2015/07/28 07:26:04 UTC

[jira] [Commented] (SPARK-8658) AttributeReference equals method only compare name, exprId and dataType

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

Michael Armbrust commented on SPARK-8658:
-----------------------------------------

+1.  Would you like to submit a PR?

> AttributeReference equals method only compare name, exprId and dataType
> -----------------------------------------------------------------------
>
>                 Key: SPARK-8658
>                 URL: https://issues.apache.org/jira/browse/SPARK-8658
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.3.0, 1.3.1, 1.4.0
>            Reporter: Antonio Jesus Navarro
>
> The AttributeReference "equals" method only accept as different objects with different name, expression id or dataType. With this behavior when I tried to do a "transformExpressionsDown" and try to transform qualifiers inside "AttributeReferences", these objects are not replaced, because the transformer considers them equal.
> I propose to add to the "equals" method this variables:
> name, dataType, nullable, metadata, epxrId, qualifiers



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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