Skip to content

Commit

Permalink
fix: Ensure ooc_start is set (pola-rs#15255)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 authored Mar 23, 2024
1 parent bc91c62 commit 2fca551
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/polars-pipe/src/executors/sinks/sort/sink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ impl Sink for SortSink {

fn combine(&mut self, other: &mut dyn Sink) {
let other = other.as_any().downcast_mut::<Self>().unwrap();
if let Some(ooc_start) = other.ooc_start {
self.ooc_start = Some(ooc_start);
}
self.chunks.extend(std::mem::take(&mut other.chunks));
self.ooc |= other.ooc;
self.dist_sample
Expand Down

0 comments on commit 2fca551

Please sign in to comment.