Skip to content

Commit

Permalink
feature-dependent fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
orlp committed Sep 18, 2023
1 parent 402c360 commit 60b3d2e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
4 changes: 1 addition & 3 deletions crates/polars-core/src/frame/hash_join/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,7 @@ impl DataFrame {
right_idx = slice_slice(right_idx, offset, len);
}
unsafe {
other.take_opt_iter_unchecked(
right_idx.iter().map(|opt_i| opt_i.map(|i| i as usize)),
)
other.take_unchecked(&right_idx.iter().copied().collect_ca(""))
}
};
let (df_left, df_right) = POOL.join(materialize_left, materialize_right);
Expand Down
1 change: 1 addition & 0 deletions crates/polars-core/src/series/implementations/array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use std::borrow::Cow;
use super::{private, IntoSeries, SeriesTrait};
use crate::chunked_array::comparison::*;
use crate::chunked_array::ops::explode::ExplodeByOffsets;
#[cfg(feature = "chunked_ids")]
use crate::chunked_array::ops::take::TakeChunked;
use crate::chunked_array::{AsSinglePtr, Settings};
#[cfg(feature = "algorithm_group_by")]
Expand Down
1 change: 1 addition & 0 deletions crates/polars-core/src/series/implementations/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ use crate::chunked_array::ops::compare_inner::{
IntoPartialEqInner, IntoPartialOrdInner, PartialEqInner, PartialOrdInner,
};
use crate::chunked_array::ops::explode::ExplodeByOffsets;
#[cfg(feature = "chunked_ids")]
use crate::chunked_array::ops::take::TakeChunked;
use crate::chunked_array::AsSinglePtr;
#[cfg(feature = "algorithm_group_by")]
Expand Down
1 change: 1 addition & 0 deletions crates/polars-core/src/series/implementations/object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use ahash::RandomState;

use crate::chunked_array::object::PolarsObjectSafe;
use crate::chunked_array::ops::compare_inner::{IntoPartialEqInner, PartialEqInner};
#[cfg(feature = "chunked_ids")]
use crate::chunked_array::ops::take::TakeChunked;
use crate::chunked_array::Settings;
#[cfg(feature = "algorithm_group_by")]
Expand Down

0 comments on commit 60b3d2e

Please sign in to comment.