[FEAT MERGE] [to #48722125] pl/sql name resolve refactor

This commit is contained in:
obdev
2023-04-18 06:12:14 +00:00
committed by ob-robot
parent 52e0115965
commit 0a0ba897c9
27 changed files with 1796 additions and 2178 deletions

View File

@ -807,9 +807,11 @@ public:
static int rebuild_expr_params(ObUDFInfo &udf_info,
sql::ObRawExprFactory *expr_factory,
common::ObIArray<sql::ObRawExpr*> &expr_params);
static int init_udf_info(ObResolverParams &params, ObUDFInfo &udf_info);
static int init_udf_info(pl::ObPLResolveCtx &resolve_ctx, sql::ObRawExprFactory &expr_factory, ObUDFInfo &udf_info);
static int init_udfs_info(ObResolverParams &params, common::ObIArray<ObUDFInfo> &udfs_info);
static int resolve_udf_info(common::ObIAllocator &allocator,
sql::ObRawExprFactory &expr_factory,
sql::ObSQLSessionInfo &session_info,
share::schema::ObSchemaGetterGuard &schema_guard,
ObUDFInfo &udf_info);
//判断expr里是否包含字符串前缀的表达式
static bool has_prefix_str_expr(const ObRawExpr &expr,
const ObColumnRefRawExpr &orig_column_expr,