Skip to content

Commit 230d65d

Browse files
committed
fix scalastyle fail.
1 parent 85f9b6f commit 230d65d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/FileSourceStrategySuite.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,9 @@ class FileSourceStrategySuite extends QueryTest with SharedSQLContext with Predi
509509
val bucketed = df.queryExecution.analyzed transform {
510510
case s @ Scanner(_, _, l @ LogicalRelation(r: HadoopFsRelation, _, _)) =>
511511
val newRelation = l.copy(relation =
512-
r.copy(bucketSpec = Some(BucketSpec(numBuckets = buckets, "c1" :: Nil, Nil)))(r.sparkSession))
512+
r.copy(
513+
bucketSpec = Some(BucketSpec(numBuckets = buckets, "c1" :: Nil, Nil)))(
514+
r.sparkSession))
513515
Scanner(newRelation.output, s.filters, newRelation)
514516
}
515517
Dataset.ofRows(spark, bucketed)

0 commit comments

Comments
 (0)