vector expr placeholder

This commit is contained in:
a1iive
2024-05-29 13:01:37 +00:00
committed by ob-robot
parent b52a186253
commit 924cc2e2b3
2 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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[] = {