LazyFrame.filter
fails to parse non-Sequence
iterables
#16253
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Log output
No response
Issue description
Discovered this when passing in a generator, which should be acceptable as
Iterable[IntoExprColumn]
.The same input is allowed for
select
,with_columns
, etc as they first consume the generator.Proposing a fix in #16254
Expected behavior
output_1
andoutput_2
should be identical, based on the annotation forLazyFrame.filter
.Installed versions
The text was updated successfully, but these errors were encountered: