Skip to content

chunk objects methods #192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 29, 2025
Merged

chunk objects methods #192

merged 1 commit into from
Mar 29, 2025

Conversation

jraymakers
Copy link
Contributor

Added getColumnsObject and getRowObjects to DuckDBDataChunk. These were incorrectly documented as existing, but didn't. The actual signatures differ somewhat from what was (incorrectly) documented - they need to take the list of column names, typically retrieved from result.deduplicatedColumnNames.

As part of this, factored out some related code into "append" methods that act on existing arrays or objects. This enabled some simplification of the functions that deal with arrays of chunks.

@jraymakers jraymakers merged commit 57b1870 into main Mar 29, 2025
5 checks passed
@jraymakers jraymakers deleted the jray/chunk-objects-methods branch March 29, 2025 23: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.

1 participant