Skip to content

Commit

Permalink
feature flag lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-beedie committed Oct 31, 2024
1 parent 61f5166 commit 39bf10b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/polars-lazy/src/frame/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ use polars_expr::{create_physical_expr, ExpressionConversionState};
use polars_io::RowIndex;
use polars_mem_engine::{create_physical_plan, Executor};
use polars_ops::frame::JoinCoalesce;
#[cfg(feature = "is_between")]
use polars_ops::prelude::ClosedInterval;
pub use polars_plan::frame::{AllowedOptimizations, OptFlags};
use polars_plan::global::FETCH_ROWS;
Expand Down Expand Up @@ -2162,11 +2163,11 @@ impl JoinBuilder {
}

// Decompose `is_between` predicates to allow for cleaner expression of range joins
#[cfg(feature = "is_between")]
let predicates: Vec<Expr> = predicates
.clone()
.into_iter()
.flat_map(|predicate| {
#[cfg(feature = "is_between")]
if let Expr::Function {
function: FunctionExpr::Boolean(BooleanFunction::IsBetween { closed }),
input,
Expand Down

0 comments on commit 39bf10b

Please sign in to comment.