BatchedParquetReader ignores with_columns
#8374
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
rust
Related to Rust Polars
Polars version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Issue description
BatchedParquetReader takes in the projection argument but does not consider the columns set by user using
ParquetReader.with_columns
. Might be a good idea to get projection from columns as done here.If this is a bug rather than a design decision, I am happy to open a PR for this as I would like to start contributing to polars and this seems like a good entry point!
Reproducible example
Works as expected (first column selected) -
Selects all columns -
Expected behavior
BatchedParquetReader should filter columns specified using "with_columns"
Installed versions
v0.27.2 and v0.28.0
The text was updated successfully, but these errors were encountered: