Skip to content

Commit

Permalink
Update spark/src/main/spark-3.x/org/apache/comet/shims/ShimCometScanE…
Browse files Browse the repository at this point in the history
…xec.scala
  • Loading branch information
viirya authored May 18, 2024
1 parent cc2cd52 commit 7def1ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ trait ShimCometScanExec {
readSchema: StructType,
options: ParquetOptions): FileScanRDD =
classOf[FileScanRDD].getDeclaredConstructors
// workaround for aws spark 3.4 implementation
// Prevent to pick up incorrect constructors from any custom Spark forks.
.filter(c => List(3,5,6).contains(c.getParameterCount()) )
.map { c =>
c.getParameterCount match {
Expand Down

0 comments on commit 7def1ea

Please sign in to comment.