cloud-fan commented on code in PR #52153:
URL: https://github.com/apache/spark/pull/52153#discussion_r2315077430


##########
sql/core/src/main/scala/org/apache/spark/sql/classic/Dataset.scala:
##########
@@ -1543,6 +1543,20 @@ class Dataset[T] private[sql](
       RepartitionByExpression(partitionExprs.map(_.expr), logicalPlan, 
numPartitions)
     }
   }
+  /**
+   * Repartitions the Dataset into the given number of partitions using the 
specified
+   * partition ID expression.
+   *
+   * @param numPartitions the number of partitions to use.
+   * @param partitionIdExpr the expression to be used as the partition ID. 
Must be an integral type.

Review Comment:
   ```suggestion
      * @param partitionIdExpr the expression to be used as the partition ID. 
Must be an integer type.
   ```



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