Streaming version of polars.LazyFrame.count produces a wrong result when used in aggregation #15049
Closed
2 tasks done
Labels
A-streaming
Related to the streaming engine
accepted
Ready for implementation
bug
Something isn't working
P-medium
Priority: medium
python
Related to Python Polars
Checks
Reproducible example
The result is:
Log output
Issue description
The behavior of polars.count is different between streaming and non-streaming queries. In the non-streaming mode it ignores empty values which corresponds to the documentation.
In the streaming mode it just returns a number of rows in each group.
Expected behavior
I would expect the same result in both streaming and non-streaming modes.
Installed versions
The text was updated successfully, but these errors were encountered: