diff options
author | Reynold Xin <rxin@databricks.com> | 2015-07-17 15:02:13 -0700 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-07-17 15:02:13 -0700 |
commit | b2aa490bb60176631c94ecadf87c14564960f12c (patch) | |
tree | 2af0af6bc45ae590475aababb9f489d849bff924 /sql/hive/src | |
parent | 42d8a012f6652df1fa3f560f87c53731ea070640 (diff) | |
download | spark-b2aa490bb60176631c94ecadf87c14564960f12c.tar.gz spark-b2aa490bb60176631c94ecadf87c14564960f12c.tar.bz2 spark-b2aa490bb60176631c94ecadf87c14564960f12c.zip |
[SPARK-9142] [SQL] Removing unnecessary self types in Catalyst.
Just a small change to add Product type to the base expression/plan abstract classes, based on suggestions on #7434 and offline discussions.
Author: Reynold Xin <rxin@databricks.com>
Closes #7479 from rxin/remove-self-types and squashes the following commits:
e407ffd [Reynold Xin] [SPARK-9142][SQL] Removing unnecessary self types in Catalyst.
Diffstat (limited to 'sql/hive/src')
-rw-r--r-- | sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala index 4b7a782c80..6589bc6ea2 100644 --- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala +++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala @@ -596,8 +596,6 @@ private[hive] case class MetastoreRelation (@transient sqlContext: SQLContext) extends LeafNode with MultiInstanceRelation { - self: Product => - override def equals(other: Any): Boolean = other match { case relation: MetastoreRelation => databaseName == relation.databaseName && |