Skip to content

Commit

Permalink
add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
orlp committed Mar 5, 2025
1 parent 6f4d3c0 commit 221bc17
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions py-polars/tests/unit/streaming/test_streaming_group_by.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,3 +519,15 @@ def test_streaming_group_by_boolean_mean_15610(
)

assert_frame_equal(out, expect)


def test_streaming_group_by_all_null_21593() -> None:
df = pl.DataFrame(
{
"col_1": ["A", "B", "C", "D"],
"col_2": ["test", None, None, None],
}
)

out = df.lazy().group_by(pl.all()).min().collect(new_streaming=True)
assert_frame_equal(df, out, check_row_order=False)

0 comments on commit 221bc17

Please sign in to comment.