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

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

Antonio Jesus Navarro created SPARK-8658:
--------------------------------------------

             Summary: 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.4.0, 1.3.1, 1.3.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