Skip to content

fix(arrow): include REE value nullability in type equality - #1158

Draft
fallintoplace wants to merge 1 commit into
apache:mainfrom
fallintoplace:fix/ree-nullability-equality
Draft

fix(arrow): include REE value nullability in type equality#1158
fallintoplace wants to merge 1 commit into
apache:mainfrom
fallintoplace:fix/ree-nullability-equality

Conversation

@fallintoplace

@fallintoplace fallintoplace commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Rationale for this change

TypeEqual compares run-end and value data types for run-end encoded types, but it does not compare whether the value field is nullable. Structurally different types can therefore compare equal and produce the same type fingerprint.

What changes are included in this PR?

Include ValueNullable in run-end encoded type equality and fingerprints.

Are these changes tested?

Yes. The regression test verifies both comparison directions and distinct fingerprints for nullable and non-nullable value fields. The full arrow package suite passes.

Are there any user-facing changes?

Run-end encoded types with different value nullability now compare unequal and have different fingerprints.

@fallintoplace
fallintoplace force-pushed the fix/ree-nullability-equality branch from cc1f953 to cfda77b Compare August 9, 2026 22:51
@fallintoplace
fallintoplace marked this pull request as ready for review August 9, 2026 22:51
@fallintoplace
fallintoplace marked this pull request as draft August 9, 2026 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant