[fix](stats) Fix analyze table failed (#18386)

This commit is contained in:
AKIRA
2023-04-06 16:45:09 +09:00
committed by GitHub
parent 82248ab392
commit 27576ef8dc

View File

@ -123,6 +123,7 @@ public class StatisticsUtil {
sessionVariable.setMaxExecMemByte(StatisticConstants.STATISTICS_MAX_MEM_PER_QUERY_IN_BYTES);
sessionVariable.setEnableInsertStrict(true);
sessionVariable.parallelExecInstanceNum = StatisticConstants.STATISTIC_PARALLEL_EXEC_INSTANCE_NUM;
sessionVariable.setEnableNereidsPlanner(false);
sessionVariable.enableProfile = false;
connectContext.setEnv(Env.getCurrentEnv());
connectContext.setDatabase(FeConstants.INTERNAL_DB_NAME);