Skip to content

Replace DynVarBinBuilder with VarBinBuilder being an actual builder and optimise append_to_builder for string/binary compressed arrays - #9030

Open
robert3005 wants to merge 3 commits into
developfrom
rk/onevarbinbuilder
Open

Replace DynVarBinBuilder with VarBinBuilder being an actual builder and optimise append_to_builder for string/binary compressed arrays#9030
robert3005 wants to merge 3 commits into
developfrom
rk/onevarbinbuilder

Conversation

@robert3005

Copy link
Copy Markdown
Contributor

We don't need two constructs, the overall flow of appending to builder could
have been optimised

@robert3005 robert3005 added changelog/chore A trivial change changelog/break A breaking API change and removed changelog/chore A trivial change labels Jul 28, 2026
@robert3005
robert3005 marked this pull request as draft July 28, 2026 13:13
…nd optimise append_to_builder for string/binary compressed arrays

Signed-off-by: Robert Kruszewski <github@robertk.io>
@robert3005
robert3005 force-pushed the rk/onevarbinbuilder branch from 4eca459 to aa487d8 Compare July 29, 2026 00:17
@robert3005
robert3005 marked this pull request as ready for review July 29, 2026 00:18
Signed-off-by: Robert Kruszewski <github@robertk.io>
Signed-off-by: Robert Kruszewski <github@robertk.io>
Comment on lines +50 to +54
/// This is the offset-based counterpart to
/// [`VarBinViewBuilder`](crate::builders::VarBinViewBuilder): values are laid out contiguously in
/// a single byte buffer described by a monotonically increasing offsets buffer. An `i32` or `i64`
/// builder can therefore be handed straight to Arrow as a `Utf8`/`LargeUtf8`/`Binary`/
/// `LargeBinary` array without re-laying out the bytes.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

delete this

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

Labels

changelog/break A breaking API change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant