Skip to content

Preserve target extension metadata in INSERT - #68

Merged
osipovartem merged 1 commit into
embucket-sync-df55.0.0from
df55-insert-target-field
Sep 6, 2026
Merged

Preserve target extension metadata in INSERT#68
osipovartem merged 1 commit into
embucket-sync-df55.0.0from
df55-insert-target-field

Conversation

@osipovartem

Copy link
Copy Markdown
Collaborator

Summary

  • enforce target Arrow field metadata after INSERT storage-type coercion
  • preserve extension markers when source and target share the same storage type
  • cover INSERT SELECT and parameterized UUID-extension plans

Why

DataFusion compared only storage DataType while aligning INSERT columns. That drops target extension metadata such as arrow.uuid; Rustice needs the same field-level guarantee for native logical timestamp types.

Validation

  • 586/586 datafusion-sql integration tests passed
  • cargo clippy -p datafusion-sql --all-targets --all-features -- -D warnings
  • cargo fmt --all -- --check

Upstream

@osipovartem
osipovartem merged commit e6fb47d into embucket-sync-df55.0.0 Sep 6, 2026
19 checks passed
@github-actions github-actions Bot added the sql label Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant