Skip to content

Commit e8639ea

Browse files
committed
Remove space change
1 parent e80483e commit e8639ea

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/fileSourceInterfaces.scala

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -368,12 +368,11 @@ abstract class PartitioningAwareFileCatalog(
368368
if (partitionPruningPredicates.nonEmpty) {
369369
val predicate = partitionPruningPredicates.reduce(expressions.And)
370370

371-
val boundPredicate = InterpretedPredicate.create(
372-
predicate.transform {
373-
case a: AttributeReference =>
374-
val index = partitionColumns.indexWhere(a.name == _.name)
375-
BoundReference(index, partitionColumns(index).dataType, nullable = true)
376-
})
371+
val boundPredicate = InterpretedPredicate.create(predicate.transform {
372+
case a: AttributeReference =>
373+
val index = partitionColumns.indexWhere(a.name == _.name)
374+
BoundReference(index, partitionColumns(index).dataType, nullable = true)
375+
})
377376

378377
val selected = partitions.filter {
379378
case PartitionDirectory(values, _) => boundPredicate(values)

0 commit comments

Comments
 (0)