From bd24b318fae25eb5903f5bace1ca878c26edb255 Mon Sep 17 00:00:00 2001 From: Liang-Chi Hsieh Date: Sat, 18 May 2024 08:51:58 -0700 Subject: [PATCH] Update spark/src/main/spark-3.x/org/apache/comet/shims/ShimCometScanExec.scala --- .../spark-3.x/org/apache/comet/shims/ShimCometScanExec.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spark/src/main/spark-3.x/org/apache/comet/shims/ShimCometScanExec.scala b/spark/src/main/spark-3.x/org/apache/comet/shims/ShimCometScanExec.scala index d74ec64dc..544a67385 100644 --- a/spark/src/main/spark-3.x/org/apache/comet/shims/ShimCometScanExec.scala +++ b/spark/src/main/spark-3.x/org/apache/comet/shims/ShimCometScanExec.scala @@ -70,7 +70,7 @@ trait ShimCometScanExec { options: ParquetOptions): FileScanRDD = classOf[FileScanRDD].getDeclaredConstructors // Prevent to pick up incorrect constructors from any custom Spark forks. - .filter(c => List(3,5,6).contains(c.getParameterCount()) ) + .filter(c => List(3, 5, 6).contains(c.getParameterCount()) ) .map { c => c.getParameterCount match { case 3 => c.newInstance(sparkSession, readFunction, filePartitions)