[FEAT MERGE] Functional_index

This commit is contained in:
obdev
2023-04-27 11:11:23 +00:00
committed by ob-robot
parent a52d8673b2
commit c5756c1799
370 changed files with 1728 additions and 821 deletions

View File

@ -250,7 +250,7 @@ int UuidCommon::uuid2bin(char *result, bool &is_valid, const char *src, int64_t
}
ObExprUuid::ObExprUuid(ObIAllocator &alloc)
: ObFuncExprOperator(alloc, T_FUN_SYS_UUID, N_UUID, 0, NOT_ROW_DIMENSION)
: ObFuncExprOperator(alloc, T_FUN_SYS_UUID, N_UUID, 0, NOT_VALID_FOR_GENERATED_COL, NOT_ROW_DIMENSION)
{
}
@ -260,7 +260,7 @@ ObExprUuid::ObExprUuid(
const char *name,
int32_t param_num,
int32_t dimension)
: ObFuncExprOperator(alloc, type, name, param_num, dimension)
: ObFuncExprOperator(alloc, type, name, param_num, NOT_VALID_FOR_GENERATED_COL, dimension)
{
}
@ -409,7 +409,7 @@ int ObExprUuid::gen_server_uuid(char *server_uuid, const int64_t uuid_len)
}
ObExprUuid2bin::ObExprUuid2bin(ObIAllocator &alloc)
: ObFuncExprOperator(alloc, T_FUN_SYS_UUID2BIN, N_UUID_TO_BIN, ONE_OR_TWO, NOT_ROW_DIMENSION)
: ObFuncExprOperator(alloc, T_FUN_SYS_UUID2BIN, N_UUID_TO_BIN, ONE_OR_TWO, VALID_FOR_GENERATED_COL, NOT_ROW_DIMENSION)
{
}
@ -626,7 +626,7 @@ int ObExprUuid2bin::uuid2bin_batch(const ObExpr &expr,
}
ObExprIsUuid::ObExprIsUuid(ObIAllocator &alloc)
: ObFuncExprOperator(alloc, T_FUN_SYS_IS_UUID, N_IS_UUID, 1, NOT_ROW_DIMENSION)
: ObFuncExprOperator(alloc, T_FUN_SYS_IS_UUID, N_IS_UUID, 1, VALID_FOR_GENERATED_COL, NOT_ROW_DIMENSION)
{
}
@ -720,7 +720,7 @@ int ObExprIsUuid::is_uuid_batch(const ObExpr &expr,
}
ObExprBin2uuid::ObExprBin2uuid(ObIAllocator &alloc)
: ObFuncExprOperator(alloc, T_FUN_SYS_BIN2UUID, N_BIN_TO_UUID, ONE_OR_TWO, NOT_ROW_DIMENSION)
: ObFuncExprOperator(alloc, T_FUN_SYS_BIN2UUID, N_BIN_TO_UUID, ONE_OR_TWO, VALID_FOR_GENERATED_COL, NOT_ROW_DIMENSION)
{
}