Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kszlim authored Apr 16, 2024
1 parent 2d8525c commit 46f2d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars-lazy/src/physical_plan/expressions/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ impl PhysicalExpr for WindowExpr {
let mut jt_map_guard = state.join_tuples.lock().unwrap();
// we run sequential and partitioned
// and every partition run the cache should be empty so we expect a max of 1.
debug_assert!(jt_map.len() <= 1);
debug_assert!(jt_map_guard.len() <= 1);
if let Some(opt_join_tuples) = jt_map_guard.get_mut(&cache_key) {
std::mem::replace(opt_join_tuples, default_join_ids())
} else {
Expand Down

0 comments on commit 46f2d87

Please # to comment.