From ac62ba8388c5da855f312ba21ecad777b1ed6b94 Mon Sep 17 00:00:00 2001 From: Larry955 <1412857955@qq.com> Date: Thu, 13 Jul 2023 11:24:03 +0000 Subject: [PATCH] fix not gather histogram bug when analyze table with SIZE AUTO --- src/sql/engine/cmd/ob_analyze_executor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sql/engine/cmd/ob_analyze_executor.cpp b/src/sql/engine/cmd/ob_analyze_executor.cpp index 793368d27..96fd2e4fd 100644 --- a/src/sql/engine/cmd/ob_analyze_executor.cpp +++ b/src/sql/engine/cmd/ob_analyze_executor.cpp @@ -60,6 +60,8 @@ int ObAnalyzeExecutor::execute(ObExecContext &ctx, ObAnalyzeStmt &stmt) LOG_USER_ERROR(OB_NOT_SUPPORTED, "analyze table during restore or standby cluster"); } else if (OB_FAIL(stmt.fill_table_stat_param(ctx, param))) { LOG_WARN("failed to fill table stat param", K(ret)); + } else if (OB_FAIL(pl::ObDbmsStats::process_not_size_manual_column(ctx, param))) { + LOG_WARN("failed to process not size_manual column", K(ret)); } else if (!stmt.is_delete_histogram()) { int64_t task_cnt = 1; int64_t seq_id = 1;