diff --git a/velox/type/Filter.h b/velox/type/Filter.h index fc3043ec7729..69d12dc26b9d 100644 --- a/velox/type/Filter.h +++ b/velox/type/Filter.h @@ -665,27 +665,6 @@ class BigintRange final : public Filter { upper16_(std::min(upper, std::numeric_limits::max())), isSingleValue_(upper_ == lower_) {} - BigintRange( - int64_t lower, - bool lowerUnbounded, - bool lowerExclusive, - int64_t upper, - bool upperUnbounded, - bool upperExclusive, - bool nullAllowed) - : Filter(true, nullAllowed, FilterKind::kBigintRange), - lower_(lowerExclusive ? lower + 1 : lower), - upper_(upperExclusive ? upper - 1 : upper), - lower32_( - std::max(lower_, std::numeric_limits::min())), - upper32_( - std::min(upper_, std::numeric_limits::max())), - lower16_( - std::max(lower_, std::numeric_limits::min())), - upper16_( - std::min(upper_, std::numeric_limits::max())), - isSingleValue_(upper_ == lower_) {} - folly::dynamic serialize() const override; static FilterPtr create(const folly::dynamic& obj); @@ -2049,13 +2028,6 @@ class MultiRange final : public Filter { filters_(std::move(filters)), nanAllowed_(nanAllowed) {} - MultiRange( - std::vector> 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);