[FEAT MERGE] materialized view

Co-authored-by: suz-yang <suz.yang@foxmail.com>
Co-authored-by: leftgeek <1094669802@qq.com>
Co-authored-by: chimyue <chimyue@gmail.com>
This commit is contained in:
coolfishchen
2023-12-14 07:42:51 +00:00
committed by ob-robot
parent 0f946e55fb
commit f7cd32be94
257 changed files with 35700 additions and 4337 deletions

View File

@ -738,7 +738,8 @@ int ObLogTableScan::generate_ddl_output_column_ids()
} else {
ObOptimizerContext &opt_ctx = get_plan()->get_optimizer_context();
if (opt_ctx.is_online_ddl() &&
stmt::T_INSERT == opt_ctx.get_session_info()->get_stmt_type()) {
stmt::T_INSERT == opt_ctx.get_session_info()->get_stmt_type() &&
!opt_ctx.get_session_info()->get_ddl_info().is_mview_complete_refresh()) {
for (int64_t i = 0; OB_SUCC(ret) && i < get_output_exprs().count(); ++i) {
const ObRawExpr *output_expr = get_output_exprs().at(i);
if (OB_ISNULL(output_expr)) {