Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
coastalwhite committed Aug 9, 2024
1 parent 8ac4760 commit 3be3ac0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions py-polars/tests/unit/io/test_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -1400,3 +1400,14 @@ def test_write_sliced_lists_18069() -> None:
after = pl.read_parquet(f)

assert_frame_equal(before, after)


def test_null_array_dict_pages_18085() -> None:
test = pd.DataFrame(
[{"A": np.NaN, "B": 3, "C": None}, {"A": np.NaN, "B": None, "C": None}]
)

f = io.BytesIO()
test.to_parquet(f)
f.seek(0)
pl.read_parquet(f)

0 comments on commit 3be3ac0

Please sign in to comment.