chore: deprecate record_batch macro in favor of upstream one by buraksenn · Pull Request #23295 · apache/datafusion · GitHub
Skip to content

chore: deprecate record_batch macro in favor of upstream one#23295

Open
buraksenn wants to merge 5 commits into
apache:mainfrom
buraksenn:deprecate-record-batch-macro-in-favor-of-upstream-one
Open

chore: deprecate record_batch macro in favor of upstream one#23295
buraksenn wants to merge 5 commits into
apache:mainfrom
buraksenn:deprecate-record-batch-macro-in-favor-of-upstream-one

Conversation

@buraksenn

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

This was a long standing thing in the backlog. record_batch! was added in arrow; however, it did not support vectors. Then I've created a PR in arrow a while ago apache/arrow-rs#9522. Once that was released this macro can be deprecated

What changes are included in this PR?

Mark record_batch! macro deprecated and use arrow one in relevant places.

Are these changes tested?

Yes

Are there any user-facing changes?

Users will see a deprecation notice if they are using this macro

@github-actions github-actions Bot added core Core DataFusion crate common Related to common crate datasource Changes to the datasource crate ffi Changes to the ffi crate labels Jul 2, 2026
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

@github-actions github-actions Bot added the auto detected api change Auto detected API change label Jul 2, 2026
Comment on lines +26 to +32

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems pretty unfortunate, that its kind of a hidden dependency of the macro 🙁

i suppose we cant do much about it unless we fix it upstream (and even then would require arrow-array to reexport arrow-schema i think?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto detected api change Auto detected API change common Related to common crate core Core DataFusion crate datasource Changes to the datasource crate ffi Changes to the ffi crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove record_batch! macro once upstream updates

2 participants