Skip to content

Add appendBytes method to appender#39

Closed
XuQianJin-Stars wants to merge 1 commit intoduckdb:mainfrom
XuQianJin-Stars:appender_add_blob
Closed

Add appendBytes method to appender#39
XuQianJin-Stars wants to merge 1 commit intoduckdb:mainfrom
XuQianJin-Stars:appender_add_blob

Conversation

@XuQianJin-Stars
Copy link
Contributor

Add appendBytes method to appender.

DuckDBAppender appender = conn.createAppender(DuckDBConnection.DEFAULT_SCHEMA, "data");

appender.beginRow();
appender.appendBytes("test".getBytes(StandardCharsets.UTF_8));
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a test with binary data, invalid utf-8, and null bytes?

@staticlibs
Copy link
Collaborator

Closing this as superseded by #295.

@staticlibs staticlibs closed this Jul 16, 2025
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.

3 participants