Fix roll up with const expr bug

This commit is contained in:
obdev
2022-11-25 10:35:48 +00:00
committed by wangzelin.wzl
parent e737da9763
commit 8727754142
5 changed files with 250 additions and 3 deletions

View File

@ -219,7 +219,8 @@ bool ObRawExpr::is_vectorize_result() const
|| has_flag(CNT_RAND_FUNC)
|| has_flag(CNT_SO_UDF)
|| has_flag(CNT_PRIOR)
|| has_flag(CNT_OP_PSEUDO_COLUMN);
|| has_flag(CNT_OP_PSEUDO_COLUMN)
|| has_flag(CNT_VOLATILE_CONST);
// Cant be const expr, const expr's evaluate flag is not cleared in execution.
// E.g.: