Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
nameexhaustion committed Oct 3, 2024
1 parent 0a4c6ff commit 7fb071c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions py-polars/tests/unit/io/test_lazy_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -694,8 +694,9 @@ def test_parquet_schema_arg(
pl.DataFrame({"1": None, "a": [1, 2], "b": [1, 2]}, schema=schema),
)

# Issue #19081: Ensure explicit schema fields are propagated to the DSL/IR,
# otherwise downstream `select()`s etc. fail.
# Issue #19081: If a schema arg is passed, ensure its fields are propagated
# to the IR, otherwise even if `allow_missing_columns=True`, downstream
# `select()`s etc. will fail with ColumnNotFound.
lf = pl.scan_parquet(
paths, parallel=parallel, schema=schema, allow_missing_columns=True
).select("1")
Expand Down

0 comments on commit 7fb071c

Please sign in to comment.