Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ulysses-you committed May 14, 2021
1 parent 8fa739f commit b5bf370
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ class CacheManager extends Logging with AdaptiveSparkPlanHelper {
}

/**
* If CAN_CHANGE_CACHED_PLAN_OUTPUT_PARTITIONING is disabled, just return original session.
* If CAN_CHANGE_CACHED_PLAN_OUTPUT_PARTITIONING is enabled, just return original session.
*/
private def getOrCloneSessionWithConfigsOff(session: SparkSession): SparkSession = {
if (session.sessionState.conf.getConf(SQLConf.CAN_CHANGE_CACHED_PLAN_OUTPUT_PARTITIONING)) {
Expand Down

0 comments on commit b5bf370

Please sign in to comment.