[FEAT MERGE] [v4.2] add table generator and several random utility functions

This commit is contained in:
raywill
2023-04-13 08:22:22 +00:00
committed by ob-robot
parent 94159e6675
commit 27488211d2
34 changed files with 1659 additions and 79 deletions

View File

@ -6071,6 +6071,7 @@ int ObSelectResolver::check_ntile_validity(const ObRawExpr *expr,
} else if (expr->is_column_ref_expr() ||
expr->is_aggr_expr() ||
expr->is_win_func_expr() ||
expr->get_expr_type() == T_FUN_SYS_RANDOM ||
expr->get_expr_type() == T_FUN_SYS_RAND) {
is_valid = false;
} else if (expr->is_exec_param_expr()) {