Skip to content

Minor: make signatures of SessionContext::register_* methods consistent#20873

Merged
alamb merged 1 commit intoapache:mainfrom
alexandreyc:uniform-register-and-read
Mar 16, 2026
Merged

Minor: make signatures of SessionContext::register_* methods consistent#20873
alamb merged 1 commit intoapache:mainfrom
alexandreyc:uniform-register-and-read

Conversation

@alexandreyc
Copy link
Contributor

Which issue does this PR close?

None.

Rationale for this change

All register_* methods on SessionContext should have similar signatures for the sake of API consistency.

What changes are included in this PR?

Update SessionContext::register_batch and SessionContext::register_arrow to have similar signatures than the rest of SessionContext::register_* methods.

Are these changes tested?

I don't think any tests are required for this. Type checking done by the compiler should be enough. Let me know if you disagree.

Are there any user-facing changes?

I don't think so. All previous calls to these methods should still work as before.

`register_arrow` consistent with the rest of `register_*` methods
@github-actions github-actions bot added the core Core DataFusion crate label Mar 11, 2026
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

These look good to me and seem to be backwards compatible 👍

@alamb
Copy link
Contributor

alamb commented Mar 13, 2026

Thank you @alexandreyc

@alamb alamb added this pull request to the merge queue Mar 16, 2026
@alamb
Copy link
Contributor

alamb commented Mar 16, 2026

Thanks again @alexandreyc

Merged via the queue into apache:main with commit b61aee7 Mar 16, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants