You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "zhengruifeng (via GitHub)" <gi...@apache.org> on 2025/08/28 03:06:26 UTC
Re: [PR] [DRAFT][SPARK-53401] Enable Direct Passthrough Partitioning in the DataFrame API [spark]
zhengruifeng commented on code in PR #52153:
URL: https://github.com/apache/spark/pull/52153#discussion_r2306032782
##########
sql/api/src/main/scala/org/apache/spark/sql/functions.scala:
##########
@@ -2045,6 +2045,19 @@ object functions {
*/
def spark_partition_id(): Column = Column.fn("spark_partition_id")
+ /**
+ * Returns the partition ID specified by the given column expression for direct shuffle
+ * partitioning. The input expression must evaluate to an integral type and must not be null.
Review Comment:
will this partition id be changed by AQE?
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org