qidaye commented on a change in pull request #6917:
URL: https://github.com/apache/incubator-doris/pull/6917#discussion_r735549416
##########
File path: be/src/exprs/bitmap_function.cpp
##########
@@ -597,6 +597,25 @@ BooleanVal
BitmapFunctions::bitmap_has_any(FunctionContext* ctx, const StringVal
return {bitmap.cardinality() != 0};
}
+StringVal BitmapFunctions::bitmap_subset_in_range(FunctionContext* ctx, const
StringVal& src,
+ const IntVal& range_start,
const IntVal& range_end) {
+ if (src.is_null) {
+ return StringVal::null();
+ }
+ if (range_start.val >= range_end.val) {
Review comment:
Done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]