Skip to content

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

Open
alexandreyc wants to merge 1 commit intoapache:mainfrom
alexandreyc:uniform-register-and-read
Open

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

Conversation

@alexandreyc
Copy link

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
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.

1 participant