Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ulysses-you committed May 11, 2021
1 parent 30b0572 commit 708bb0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ class CacheManager extends Logging with AdaptiveSparkPlanHelper {
* If CAN_CHANGE_CACHED_PLAN_OUTPUT_PARTITIONING is disabled, just return original session.
*/
private def getOrCloneSessionWithConfigsOff(session: SparkSession): SparkSession = {
if (!session.sessionState.conf.getConf(SQLConf.CAN_CHANGE_CACHED_PLAN_OUTPUT_PARTITIONING)) {
if (session.sessionState.conf.getConf(SQLConf.CAN_CHANGE_CACHED_PLAN_OUTPUT_PARTITIONING)) {
session
} else {
SparkSession.getOrCloneSessionWithConfigsOff(session, forceDisableConfigs)
Expand Down

0 comments on commit 708bb0c

Please sign in to comment.