Skip to content

Keep annotated untyped NULL neutral during CASE coercion - #129

Merged
osipovartem merged 2 commits into
embucket-sync-df55.0.0from
fix-df55-case-annotated-null
Oct 10, 2026
Merged

osipovartem merged 2 commits into
embucket-sync-df55.0.0from
fix-df55-case-annotated-null

Conversation

@osipovartem

Copy link
Copy Markdown
Collaborator

Summary

  • Keep untyped NULL neutral when type-only CASE coercion would otherwise retain partial metadata and erase matching extension metadata.
  • Cover matching and conflicting NULL annotations before and after coercion.
  • Backport the fix from fix: preserve CASE result field metadata apache/datafusion#26145 with Arrow 59 / DF55 API compatibility.

Validation

  • cargo +1.97.0 test -p datafusion-expr -p datafusion-optimizer --lib --locked -q (255 + 764 passed)
  • cargo +1.97.0 clippy -p datafusion-expr -p datafusion-optimizer --lib --tests --locked -q
  • cargo +1.97.0 fmt --all -- --check; git diff --check
  • Independent read-only review: approved, no blocking findings.

@osipovartem
osipovartem merged commit 251dc59 into embucket-sync-df55.0.0 Oct 10, 2026
17 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant