[
https://issues.apache.org/jira/browse/SPARK-8658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15008226#comment-15008226
]
Apache Spark commented on SPARK-8658:
-------------------------------------
User 'gatorsmile' has created a pull request for this issue:
https://github.com/apache/spark/pull/9761
> 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
> Assignee: Xiao Li
> Fix For: 1.6.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]