aboutsummaryrefslogtreecommitdiff
path: root/sql/core
diff options
context:
space:
mode:
authorgatorsmile <gatorsmile@gmail.com>2015-11-17 11:23:54 -0800
committerMichael Armbrust <michael@databricks.com>2015-11-17 11:23:54 -0800
commit0158ff7737d10e68be2e289533241da96b496e89 (patch)
treee774350402b69a741d2ebcbbedfb57ef772a54cd /sql/core
parent7b1407c7b95c43299a30e891748824c4bc47e43b (diff)
downloadspark-0158ff7737d10e68be2e289533241da96b496e89.tar.gz
spark-0158ff7737d10e68be2e289533241da96b496e89.tar.bz2
spark-0158ff7737d10e68be2e289533241da96b496e89.zip
[SPARK-8658][SQL][FOLLOW-UP] AttributeReference's equals method compares all the members
Based on the comment of cloud-fan in https://github.com/apache/spark/pull/9216, update the AttributeReference's hashCode function by including the hashCode of the other attributes including name, nullable and qualifiers. Here, I am not 100% sure if we should include name in the hashCode calculation, since the original hashCode calculation does not include it. marmbrus cloud-fan Please review if the changes are good. Author: gatorsmile <gatorsmile@gmail.com> Closes #9761 from gatorsmile/hashCodeNamedExpression.
Diffstat (limited to 'sql/core')
0 files changed, 0 insertions, 0 deletions