Github user liancheng commented on a diff in the pull request:
https://github.com/apache/spark/pull/5289#discussion_r27495112
--- Diff:
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala ---
@@ -780,10 +789,7 @@ private[hive] case class MetastoreRelation
val columnOrdinals = AttributeMap(attributes.zipWithIndex)
override def newInstance() = {
- val newCopy = MetastoreRelation(databaseName, tableName, alias)(table,
partitions)(sqlContext)
- // The project here is an ugly hack to work around the fact that
MetastoreRelation's
- // equals method is broken. Please remove this when SPARK-6555 is
fixed.
- Project(newCopy.output, newCopy)
+ MetastoreRelation(databaseName, tableName, alias)(table,
partitions)(sqlContext)
--- End diff --
Reverts workaround introduced in #5251.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]