[ https://issues.apache.org/jira/browse/SPARK-8658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14949946#comment-14949946 ]
Xiao Li commented on SPARK-8658: -------------------------------- Hi, Michael and Antonio, Trying to understand the problem and fix it if I can. Expression ID is the same but their qualifiers are different??? Could you give a query sample? I am trying to reproduce the problem? Is this problem related to a self join? Thanks, Xiao Li > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org