Skip to content

Commit 70f8b6f

Browse files
committed
PlSmallString
1 parent a526122 commit 70f8b6f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

crates/polars-ops/src/frame/join/iejoin/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub fn iejoin(
4343
selected_left: Vec<Series>,
4444
selected_right: Vec<Series>,
4545
options: &IEJoinOptions,
46-
suffix: Option<&str>,
46+
suffix: Option<PlSmallStr>,
4747
slice: Option<(i64, usize)>,
4848
) -> PolarsResult<DataFrame> {
4949
if selected_left.len() != 2 {
@@ -105,8 +105,8 @@ pub fn iejoin(
105105
// denoting which entries have been visited while traversing L2.
106106
let mut bit_array = FilteredBitArray::from_len_zeroed(l1_order.len());
107107

108-
let mut left_row_ids_builder = PrimitiveChunkedBuilder::<IdxType>::new("left_indices", 0);
109-
let mut right_row_ids_builder = PrimitiveChunkedBuilder::<IdxType>::new("right_indices", 0);
108+
let mut left_row_ids_builder = PrimitiveChunkedBuilder::<IdxType>::new("".into(), 0);
109+
let mut right_row_ids_builder = PrimitiveChunkedBuilder::<IdxType>::new("".into(), 0);
110110

111111
let slice_end = match slice {
112112
Some((offset, len)) if offset >= 0 => Some(offset.saturating_add_unsigned(len as u64)),

crates/polars-ops/src/frame/join/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ pub trait DataFrameJoinOps: IntoDf {
206206
selected_left,
207207
selected_right,
208208
&options,
209-
args.suffix.as_deref(),
209+
args.suffix,
210210
args.slice,
211211
);
212212
}

0 commit comments

Comments
 (0)