Skip to content

Commit 704511e

Browse files
committed
Tue Aug 2 15:01:42 PDT 2016
1 parent a76b432 commit 704511e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/ExistingRDD.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,12 @@ private[sql] case class FileSourceScanExec(
329329
}
330330
}
331331

332+
// These metadata values make scan plans uniquely identifiable for equality checking.
332333
override val metadata: Map[String, String] = Map(
333334
"Format" -> relation.fileFormat.toString,
334335
"ReadSchema" -> outputSchema.catalogString,
335336
"Batched" -> supportsBatch.toString,
337+
"PartitionFilters" -> partitionFilters.mkString("[", ", ", "]"),
336338
DataSourceScanExec.PUSHED_FILTERS -> dataFilters.mkString("[", ", ", "]"),
337339
DataSourceScanExec.INPUT_PATHS -> relation.location.paths.mkString(", "))
338340

0 commit comments

Comments
 (0)