HyukjinKwon commented on code in PR #53375:
URL: https://github.com/apache/spark/pull/53375#discussion_r2596660384


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/physical/partitioning.scala:
##########
@@ -676,6 +676,29 @@ case class ShufflePartitionIdPassThrough(
     copy(expr = newChildren.head.asInstanceOf[DirectShufflePartitionID])
 }
 
+/**
+ * Represents a partitioning where rows are distributed using a custom 
[[Partitioner]].
+ *
+ * The key extraction function is applied to deserialize each row and extract 
a key,
+ * which is then passed to the partitioner to determine the target partition.
+ */
+case class CustomFunctionPartitioning(

Review Comment:
   Isn't https://github.com/apache/spark/pull/52153 enough to cover the custom 
partition case?



-- 
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]

Reply via email to