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
## Rationale for this change
Tracking issue: #7882
This PR adds the straightforward compute support for canonical sparse
Union arrays while keeping operations with unresolved nullability or
placeholder semantics in focused follow-ups.
## What changes are included in this PR?
- Adds canonical filter execution and slice and mask reductions for
UnionArray, following the same structural execution patterns as
neighboring canonical dtypes.
- Adds validity-mask execution while preserving row alignment across
type IDs and sparse children.
- Recursively compresses the type IDs and every sparse child.
- Computes uncompressed size as the checked sum of the type IDs and
sparse children.
- Adds focused coverage for structural operations, outer null masking,
and size accounting.
## Deferred follow-ups
- Take, including nullable-index outer-null propagation, and dictionary
execution that depends on it.
- Union casts and outer-nullability conformance coverage.
- Constant Union canonicalization and inactive-child placeholder
construction.
- Chunked Union canonicalization, including a representation for empty
chunked unions.
The source TODOs record the required semantics at each deferred dispatch
point.
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
0 commit comments