Skip to content

Commit 6218bc5

Browse files
ulysses-youyaooqinn
authored andcommitted
[SPARK-35332][SQL][FOLLOWUP] Refine wrong comment
### What changes were proposed in this pull request? Refine comment in `CacheManager`. ### Why are the changes needed? Avoid misleading developer. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Not needed. Closes #32543 from ulysses-you/SPARK-35332-FOLLOWUP. Authored-by: ulysses-you <[email protected]> Signed-off-by: Kent Yao <[email protected]>
1 parent d424771 commit 6218bc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/CacheManager.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ class CacheManager extends Logging with AdaptiveSparkPlanHelper {
328328
}
329329

330330
/**
331-
* If CAN_CHANGE_CACHED_PLAN_OUTPUT_PARTITIONING is disabled, just return original session.
331+
* If CAN_CHANGE_CACHED_PLAN_OUTPUT_PARTITIONING is enabled, just return original session.
332332
*/
333333
private def getOrCloneSessionWithConfigsOff(session: SparkSession): SparkSession = {
334334
if (session.sessionState.conf.getConf(SQLConf.CAN_CHANGE_CACHED_PLAN_OUTPUT_PARTITIONING)) {

0 commit comments

Comments
 (0)