diff --git a/src/objit/include/objit/common/ob_item_type.h b/src/objit/include/objit/common/ob_item_type.h index 327e0f67c1..8e9ad4e72a 100755 --- a/src/objit/include/objit/common/ob_item_type.h +++ b/src/objit/include/objit/common/ob_item_type.h @@ -855,6 +855,12 @@ typedef enum ObItemType T_FUN_SYS_PRIV_ST_GEOHASH = 1735, T_FUN_SYS_PRIV_ST_MAKEPOINT = 1736, T_FUN_SYS_ARRAY = 1737, + T_FUN_SYS_L1_DISTANCE = 1738, + T_FUN_SYS_L2_DISTANCE = 1739, + T_FUN_SYS_INNER_PRODUCT = 1740, + T_FUN_SYS_COSINE_DISTANCE = 1741, + T_FUN_SYS_VECTOR_DIMS = 1742, + T_FUN_SYS_VECTOR_NORM = 1743, ///< @note add new oracle only function type before this line T_FUN_SYS_TABLET_AUTOINC_NEXTVAL = 1801, // add only for heap table diff --git a/src/sql/engine/expr/ob_expr_eval_functions.cpp b/src/sql/engine/expr/ob_expr_eval_functions.cpp index 4f564a4f6a..3d5d5000d8 100644 --- a/src/sql/engine/expr/ob_expr_eval_functions.cpp +++ b/src/sql/engine/expr/ob_expr_eval_functions.cpp @@ -1200,6 +1200,12 @@ static ObExpr::EvalFunc g_expr_eval_functions[] = { NULL, // ObExprRbFromString::eval_rb_from_string, /* 718 */ NULL, // ObExprRbIterate::eval_rb_iterate, /* 719 */ NULL, // ObExprArray::eval_array, /* 720 */ + NULL, // ObExprVectorL1Distance::calc_l1_distance, /* 721 */ + NULL, // ObExprVectorL2Distance::calc_l2_distance, /* 722 */ + NULL, // ObExprVectorCosineDistance::calc_cosine_distance, /* 723 */ + NULL, // ObExprVectorIPDistance::calc_inner_product, /* 724 */ + NULL, // ObExprVectorDims::calc_dims, /* 725 */ + NULL, // ObExprVectorNorm::calc_norm, /* 726 */ }; static ObExpr::EvalBatchFunc g_expr_eval_batch_functions[] = {