Skip to content

Conversation

@Max-Meldrum
Copy link
Contributor

This patch adds impl AsRef<[u8]> to the append_value/append of StringBuilder and BinaryBuilder.

pub fn append_value(&mut self, value: impl AsRef<[u8]>) -> Result<()>

Non-breaking change that will enable data to be passed as value as well.

@github-actions
Copy link

@nevi-me nevi-me changed the title ARROW-11777: [Rust][Arrow/Datafusion] impl AsRef for StringBuilder/BinaryBuilder ARROW-11777: [Rust] impl AsRef for StringBuilder/BinaryBuilder Feb 25, 2021
Copy link
Contributor

@nevi-me nevi-me left a comment

Choose a reason for hiding this comment

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

LGTM

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.

@Max-Meldrum this looks like a great improvement. Thank you for the contribution

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants