Add cast mode BY_TRANSFORM for implicit cast by transformer

This commit is contained in:
xianyu-w
2023-12-15 03:43:12 +00:00
committed by ant-ob-hengtang
parent 5e29bb246a
commit 1049d14a7d

View File

@ -1782,6 +1782,7 @@ int ObSQLUtils::get_cast_mode_for_replace(const ObRawExpr *expr,
} else if (expr->get_result_type().has_result_flag(ZEROFILL_FLAG)) {
cast_mode |= CM_ADD_ZEROFILL;
}
cast_mode = CM_SET_BY_TRANSFORMERN(cast_mode);
return ret;
}