support extract query range with user var and fix some bugs
This commit is contained in:
@ -880,8 +880,7 @@ int ObStaticEngineCG::generate_calc_exprs(
|
||||
&& T_CTE_SEARCH_COLUMN != raw_expr->get_expr_type()
|
||||
&& T_CTE_CYCLE_COLUMN != raw_expr->get_expr_type()
|
||||
&& T_PSEUDO_EXTERNAL_FILE_COL != raw_expr->get_expr_type()
|
||||
&& !(raw_expr->is_const_expr() || raw_expr->has_flag(IS_USER_VARIABLE))
|
||||
// TODO:@guoping.wgp, following T_FUN_SYS_PART restrictions should be removed later
|
||||
&& !(raw_expr->is_const_expr() || raw_expr->has_flag(IS_DYNAMIC_USER_VARIABLE))
|
||||
&& !(T_FUN_SYS_PART_HASH == raw_expr->get_expr_type() || T_FUN_SYS_PART_KEY == raw_expr->get_expr_type())) {
|
||||
if (raw_expr->is_calculated()) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
|
||||
Reference in New Issue
Block a user