Add outer nullability to Union#8797
Merged
connortsui20 merged 0 commit intoJul 16, 2026
Merged
Conversation
This was referenced Jul 16, 2026
connortsui20
force-pushed
the
agent/union-dtype-nullability
branch
from
July 16, 2026 17:36
e035b08 to
c5f26f5
Compare
connortsui20
force-pushed
the
agent/union-scalar-nullability
branch
from
July 16, 2026 17:36
af088ad to
3a22a55
Compare
Member
Author
|
Superseded by #8798. During the stack reorder, GitHub marked this PR merged into its former stacked base; it did not merge the nullability change into |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tracking issue: #8769
Splits the breaking Union dtype change out of #8791.
Following #8769, we are going to track both inner and outer / top-level nullability in union types.
Changes
DType::Unionto carry independent outer nullabilityThis changes the serialized Serde representation of Union dtypes and will require the compatibility override to be reviewed explicitly.