[CP] rewrite ora_decode which has const result to const result.

This commit is contained in:
jingtaoye35
2023-06-06 07:48:24 +00:00
committed by ob-robot
parent 82b923c9db
commit b9dc170c63
6 changed files with 287 additions and 3 deletions

View File

@ -738,6 +738,10 @@ public:
ObItemType type,
ObRawExpr *param_expr,
ObRawExpr *&exists_expr);
static int build_ora_decode_expr(ObRawExprFactory *expr_factory,
const ObSQLSessionInfo &session_info,
ObRawExpr *&expr,
ObIArray<ObRawExpr *> &param_exprs);
template <typename T>
static bool find_expr(const common::ObIArray<T> &exprs, const ObRawExpr* expr);
template <typename T>