Skip to content

Commit

Permalink
fix: use inputRDD to get outputPartitions in CometScanExec (#1162)
Browse files Browse the repository at this point in the history
  • Loading branch information
parthchandra authored Dec 11, 2024
1 parent 3131a1d commit b63570b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ case class CometScanExec(
lazy val bucketedScan: Boolean = wrapped.bucketedScan

override lazy val (outputPartitioning, outputOrdering): (Partitioning, Seq[SortOrder]) =
(wrapped.outputPartitioning, wrapped.outputOrdering)
(UnknownPartitioning(wrapped.inputRDD.getNumPartitions), wrapped.outputOrdering)

@transient
private lazy val pushedDownFilters = getPushedDownFilters(relation, dataFilters)
Expand Down

0 comments on commit b63570b

Please sign in to comment.