Skip to content

Commit

Permalink
expand multi range constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
rui-mo committed Jul 26, 2023
1 parent 37186fc commit de0b8ac
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions velox/type/Filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -1858,6 +1858,13 @@ class MultiRange final : public Filter {
filters_(std::move(filters)),
nanAllowed_(nanAllowed) {}

MultiRange(
std::vector<std::unique_ptr<Filter>> filters,
bool nullAllowed)
: Filter(true, nullAllowed, FilterKind::kMultiRange),
filters_(std::move(filters)),
nanAllowed_(true) {}

folly::dynamic serialize() const override;

static FilterPtr create(const folly::dynamic& obj);
Expand Down

0 comments on commit de0b8ac

Please sign in to comment.