From 7839a0d6ec788718206ea7d045f0af29012a0797 Mon Sep 17 00:00:00 2001 From: Yiding Cui Date: Wed, 30 Nov 2022 19:18:34 +0800 Subject: [PATCH] sessionctx: set default val of EnableOuterJoinReorder to true --- sessionctx/variable/tidb_vars.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sessionctx/variable/tidb_vars.go b/sessionctx/variable/tidb_vars.go index faf116a2632ae..e361a6fd49e91 100644 --- a/sessionctx/variable/tidb_vars.go +++ b/sessionctx/variable/tidb_vars.go @@ -939,7 +939,7 @@ const ( DefBroadcastJoinThresholdCount = 10 * 1024 DefTiDBOptimizerSelectivityLevel = 0 DefTiDBOptimizerEnableNewOFGB = false - DefTiDBEnableOuterJoinReorder = false + DefTiDBEnableOuterJoinReorder = true DefTiDBEnableNAAJ = false DefTiDBAllowBatchCop = 1 DefTiDBAllowMPPExecution = true