Skip to content

Conversation

@nuno-faria
Copy link
Contributor

This PR changes the InsertBuilder { ..., Vec<RecordBatch> } to InsertBuilder<'a> { ..., &a' Vec<RecordBatch> } to avoid taking ownership of the record batches, given it only needs a reference to generate the respective SQL code.

Copy link
Collaborator

@phillipleblanc phillipleblanc left a comment

Choose a reason for hiding this comment

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

Thanks!

@phillipleblanc phillipleblanc merged commit 1066e3b into datafusion-contrib:main Dec 24, 2025
11 checks passed
@nuno-faria nuno-faria deleted the insert_builder_ref branch December 24, 2025 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants