mbutrovich commented on code in PR #2258:
URL: https://github.com/apache/datafusion-comet/pull/2258#discussion_r2369354465
##########
spark/src/main/scala/org/apache/spark/sql/comet/execution/shuffle/CometNativeShuffleWriter.scala:
##########
@@ -140,6 +142,22 @@ class CometNativeShuffleWriter[K, V](
MapStatus.apply(SparkEnv.get.blockManager.shuffleServerId,
partitionLengths, mapId)
}
+ private def isSinglePartitioning(p: Partitioning): Boolean = p match {
Review Comment:
The number of partition bounds can be less than the number of target
partitions based on value cardinality, so we still need to check
`rangePartitionBounds`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]