Skip to content

Commit eea9767

Browse files
tomscutHyukjinKwon
authored andcommitted
[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]>
1 parent 13b23b2 commit eea9767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveHints.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ object ResolveHints {
171171
}
172172

173173
/**
174-
* COALESCE Hint accepts names "COALESCE", "REPARTITION", and "REPARTITION_BY_RANGE".
174+
* COALESCE Hint accepts names "COALESCE", "REPARTITION", "REPARTITION_BY_RANGE" and "REBALANCE".
175175
*/
176176
object ResolveCoalesceHints extends Rule[LogicalPlan] {
177177
private def getNumOfPartitions(hint: UnresolvedHint): (Option[Int], Seq[Expression]) = {

0 commit comments

Comments
 (0)