Repository navigation
Conversation
PolarsReadParquet only forwarded `columns` and `storage_options`, so a pd.read_parquet source that works on pandas broke under implementation_selector="greedy": - `filters=` (pyarrow DNF) failed the whole plan at selection time. It is now translated to one polars predicate and applied to a scan_parquet before projecting `columns`, so pruned hive partitions are never read. - fsspec `storage_options` (gcsfs `token`, s3fs `key`/`secret`/`anon`) were ignored by polars' object store, so cloud reads went out unauthenticated (401). They are now mapped to object-store keys; other keys pass through. - A cloud dataset directory without a trailing slash was looked up as a single object (404). Such paths now get the slash polars needs to list them.
The pool admits objects it cannot size (counted as UNKNOWN_SIZE), but the serializer refuses anything that is not a frame, array, primitive or container of those. Over budget, eviction picked such an entry -- in practice the splitter from mark_as_X(cv=...) -- and the ValueError failed the whole plan. Serialization now raises UnsupportedSpillType and removes leaf files it already wrote for a container it then gave up on. Eviction catches it, marks the entry unspillable, keeps it in memory, and moves on to the next LRU candidate.
Codecov Report❌ Patch coverage is
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
e-strauss
added a commit
that referenced
this pull request
Oct 6, 2026
) PolarsReadParquet only forwarded `columns` and `storage_options`, so a pd.read_parquet source that works on pandas broke under implementation_selector="greedy": - `filters=` (pyarrow DNF) failed the whole plan at selection time. It is now translated to one polars predicate and applied to a scan_parquet before projecting `columns`, so pruned hive partitions are never read. - fsspec `storage_options` (gcsfs `token`, s3fs `key`/`secret`/`anon`) were ignored by polars' object store, so cloud reads went out unauthenticated (401). They are now mapped to object-store keys; other keys pass through. - A cloud dataset directory without a trailing slash was looked up as a single object (404). Such paths now get the slash polars needs to list them.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.