Skip to content

Commit f43bc3d

Browse files
committed
[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 (cherry picked from commit 2d50a01) Signed-off-by: Cheng Lian <lian@databricks.com>
1 parent 5be8902 commit f43bc3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/core/src/main/scala/org/apache/spark/sql/parquet/newParquet.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ case class ParquetRelation2
152152
paths.toSet == relation.paths.toSet &&
153153
maybeMetastoreSchema == relation.maybeMetastoreSchema &&
154154
(shouldMergeSchemas == relation.shouldMergeSchemas || schema == relation.schema)
155+
case _ => false
155156
}
156157

157158
private[sql] def sparkContext = sqlContext.sparkContext

0 commit comments

Comments
 (0)