Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
nameexhaustion committed Oct 24, 2024
1 parent bcab4b9 commit 96fe443
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions py-polars/tests/unit/operations/test_join.py
Original file line number Diff line number Diff line change
Expand Up @@ -1090,6 +1090,10 @@ def test_left_join_slice_pushdown_19405(set_sorted: bool) -> None:
right = pl.LazyFrame({"k": [1, 1, 1, 1, 0]})

if set_sorted:
# The data isn't actually sorted on purpose to ensure we default to a
# hash join unless we set the sorted flag here, in case there is new
# code in the future that automatically identifies sortedness during
# Series construction from Python.
left = left.set_sorted("k")
right = right.set_sorted("k")

Expand Down

0 comments on commit 96fe443

Please sign in to comment.