Skip to content

Commit

Permalink
Fix unfiltered partitions being used to create GpuBatchScanExec RDD (#…
Browse files Browse the repository at this point in the history
…5578)

Signed-off-by: Jason Lowe <jlowe@nvidia.com>
  • Loading branch information
jlowe authored May 20, 2022
1 parent dad504f commit 1fd1aef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ case class GpuBatchScanExec(
// return an empty RDD with 1 partition if dynamic filtering removed the only split
sparkContext.parallelize(Array.empty[InternalRow], 1)
} else {
new GpuDataSourceRDD(sparkContext, partitions, readerFactory)
new GpuDataSourceRDD(sparkContext, filteredPartitions, readerFactory)
}
}

Expand Down

0 comments on commit 1fd1aef

Please sign in to comment.