Skip to content

Commit

Permalink
chore: Cleanup unused variable (apache#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Vaughan Jr authored and GitHub Enterprise committed Mar 28, 2024
1 parent afd5ad6 commit 79d82fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ object CometShuffleExchangeExec extends ShimCometShuffleExchangeExec {
// seed by hashing will help. Refer to SPARK-21782 for more details.
val partitionId = TaskContext.get().partitionId()
var position = new XORShiftRandom(partitionId).nextInt(numPartitions)
(row: InternalRow) => {
(_: InternalRow) => {
// The HashPartitioner will handle the `mod` by the number of partitions
position += 1
position
Expand Down

0 comments on commit 79d82fc

Please sign in to comment.