Hisoka-X commented on code in PR #42194: URL: https://github.com/apache/spark/pull/42194#discussion_r1291967573
########## core/src/main/scala/org/apache/spark/Partitioner.scala: ########## @@ -137,6 +137,18 @@ private[spark] class PartitionIdPassthrough(override val numPartitions: Int) ext override def getPartition(key: Any): Int = key.asInstanceOf[Int] } +/** + * A [[org.apache.spark.Partitioner]] that partitions all records use partition value map + */ +private[spark] class PartitionValueMapPartitioner( + valueMap: mutable.Map[Seq[Any], Int], Review Comment: Oh, I missed this, let me move it into `spark-catalyst` -- 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]
