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
So when trying to save a parquet with an array of various types I came across an issue. If all my arrays contain ints and floats, it's fine but if one array contains bools I get a ValueError. This appears in both version 1.2.1 and 1.3.0rc1.
jpivarski
added
bug
The problem described is something that must be fixed
and removed
bug (unverified)
The problem described would be a bug, but needs to be triaged
labels
Apr 15, 2021
It's not your mistake: booleans have to be treated specially for Arrow/Parquet because they're stored as bits, rather than bytes, and that code path didn't check for fixed-size dimensions != 1. That's why there's a length disagreement: the outer dimension is 1 and the inner dimension (what it's trying to copy into the buffer whose bytes will be packed into bits) is 2. I'm committing a fix now.
So when trying to save a parquet with an array of various types I came across an issue. If all my arrays contain ints and floats, it's fine but if one array contains bools I get a ValueError. This appears in both version 1.2.1 and 1.3.0rc1.
If this is actually a bug and not some mistake on my part I'd be happy to attempt a fix?
The text was updated successfully, but these errors were encountered: