[Enhancement](function) add to_bitmap() function with int type (#13973)
to_bitmap function only support string param only,add to_bitmap() function with int type, this can avoid convert int type to string and then convert string to int
This commit is contained in:
@ -69,6 +69,8 @@ public:
|
||||
static StringVal bitmap_serialize(FunctionContext* ctx, const StringVal& src);
|
||||
static StringVal to_bitmap(FunctionContext* ctx, const StringVal& src);
|
||||
static StringVal to_bitmap_with_check(FunctionContext* ctx, const StringVal& src);
|
||||
static StringVal to_bitmap(FunctionContext* ctx, const BigIntVal& src);
|
||||
static StringVal to_bitmap_with_check(FunctionContext* ctx, const BigIntVal& src);
|
||||
static StringVal bitmap_hash(FunctionContext* ctx, const StringVal& src);
|
||||
static StringVal bitmap_hash64(FunctionContext* ctx, const StringVal& src);
|
||||
static StringVal bitmap_or(FunctionContext* ctx, const StringVal& src, const StringVal& dst);
|
||||
|
||||
Reference in New Issue
Block a user