Skip to content
Snippets Groups Projects
Commit 2d50a010 authored by Cheng Lian's avatar Cheng Lian
Browse files

[SPARK-5725] [SQL] Fixes ParquetRelation2.equals

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/apache/spark/4513)
<!-- Reviewable:end -->

Author: Cheng Lian <lian@databricks.com>

Closes #4513 from liancheng/spark-5725 and squashes the following commits:

bf6a087 [Cheng Lian] Fixes ParquetRelation2.equals
parent 91e35125
No related branches found
No related tags found
No related merge requests found
......@@ -152,6 +152,7 @@ case class ParquetRelation2
paths.toSet == relation.paths.toSet &&
maybeMetastoreSchema == relation.maybeMetastoreSchema &&
(shouldMergeSchemas == relation.shouldMergeSchemas || schema == relation.schema)
case _ => false
}
private[sql] def sparkContext = sqlContext.sparkContext
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment