This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new eea976727b33 [MINOR][DOCS] Update comments for ResolveCoalesceHints
eea976727b33 is described below
commit eea976727b338c5432d6749382ada4d33bf3dc6e
Author: tomscut <[email protected]>
AuthorDate: Thu Sep 4 11:35:55 2025 +0900
[MINOR][DOCS] Update comments for ResolveCoalesceHints
### What changes were proposed in this pull request?
Update comments for `ResolveCoalesceHints`.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
No need.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #52220 from tomscut/fix-comment.
Authored-by: tomscut <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
.../scala/org/apache/spark/sql/catalyst/analysis/ResolveHints.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveHints.scala
b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveHints.scala
index 0a47448fa049..f6d20dd71b1f 100644
---
a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveHints.scala
+++
b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveHints.scala
@@ -171,7 +171,7 @@ object ResolveHints {
}
/**
- * COALESCE Hint accepts names "COALESCE", "REPARTITION", and
"REPARTITION_BY_RANGE".
+ * COALESCE Hint accepts names "COALESCE", "REPARTITION",
"REPARTITION_BY_RANGE" and "REBALANCE".
*/
object ResolveCoalesceHints extends Rule[LogicalPlan] {
private def getNumOfPartitions(hint: UnresolvedHint): (Option[Int],
Seq[Expression]) = {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]