[Function] add bitmap function of bitmap_has_all (#6918)

The 'bitmap_has_all' function returns true if the first bitmap contains all the elements of the second bitmap.
This commit is contained in:
luozenglin
2021-11-01 12:50:47 +08:00
committed by GitHub
parent 210625b358
commit c7a3116f98
8 changed files with 172 additions and 0 deletions

View File

@ -80,6 +80,8 @@ public:
const BigIntVal& input);
static BooleanVal bitmap_has_any(FunctionContext* ctx, const StringVal& lhs,
const StringVal& rhs);
static BooleanVal bitmap_has_all(FunctionContext* ctx, const StringVal& lhs,
const StringVal& rhs);
// intersect count
template <typename T, typename ValType>