pl.all().list.count_matches
results in a SchemaError
#18968
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
The plan:
Is producing:
Instead of:
Other examples
.list.concat
(and the.list.set_*
methods (#18795)) also seem affected causing incorrect results/dropped columns.Debugging
It seems all these cases end up here:
polars/crates/polars-plan/src/plans/conversion/expr_expansion.rs
Lines 551 to 553 in cafc163
i.e. it only happens if the
INPUT_WILDCARD_EXPANSION
flag is set.Expected behavior
The initial example should produce a count for each column.
Installed versions
The text was updated successfully, but these errors were encountered: