You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
segments= and pre= give wrong results or errors on PyArrow tables #592
If there is already a relevant issue, whether open or closed, comment on the existing thread instead of posting a new issue.
Description
With a pyarrow.Table, segments=("col", value) doesn't filter, so every segment is checked against all rows and the pass/fail counts are wrong without any error. segments="col" ends in an evaluation error (Unsupported table type: pyarrow), and any pre= ends in an evaluation error because the column names are collected with set(tbl.columns), which is a list of ChunkedArray on PyArrow. The same steps on a Polars or pandas table work.
Reproducible example
Post a minimal reproducible example (MRE) so the maintainer can troubleshoot the problems you identify.
The first should print [(1, 1)] (only the "b" row), the second should give one step per segment (a, b and the missing value) without errors, and the third should run without an error, as they do with Polars.
Development environment
Operating System: macOS
Pointblank Version: 0.1.dev6327+gdb80d5f0d (main at db80d5f)
Activity