fixed bug in src/sql/code_generator/ob_column_index_provider.cpp (#690)

Co-authored-by: wangyunlai <hnwyllmm@126.com>
This commit is contained in:
JiangNanMax
2022-11-23 10:46:32 +08:00
committed by GitHub
parent 067f438626
commit e5a2f1f5db

View File

@ -80,6 +80,7 @@ int RowDesc::add_column(ObRawExpr *raw_expr)
SQL_CG_LOG(WARN, "failed to get hashmap", K(ret));
}
}
if (OB_SUCC(ret) && !raw_expr->has_flag(IS_COLUMNLIZED)
&& OB_FAIL(raw_expr->add_flag(IS_COLUMNLIZED))) {
SQL_CG_LOG(WARN, "failed to add flag", K(ret));