Skip to content
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

support writing to data chunks #100

Merged
merged 12 commits into from
Jan 14, 2025
Merged

support writing to data chunks #100

merged 12 commits into from
Jan 14, 2025

Conversation

jraymakers
Copy link
Contributor

@jraymakers jraymakers commented Jan 4, 2025

  • Support writing to vectors of all types.
  • Add convenience methods for writing to data chunks.
  • Add convenience methods for creating types, as well as convenience getters for important values of each type.
  • Add way to get a DuckDBLogicalType from a DuckDBType.
  • Refactor data for test_all_types so it can be shared with appender tests.
  • Add many tests for writing vectors, data chunks, and appending data chunks, including an "append all data types" test.
  • To support the above, add two new functions to the bindings layer, for writing data to vector and validity buffers.

@jraymakers jraymakers force-pushed the jray/write-data-chunk branch from 34fb19d to f1d8e02 Compare January 14, 2025 02:19
@jraymakers jraymakers merged commit 60d2299 into main Jan 14, 2025
5 checks passed
@jraymakers jraymakers deleted the jray/write-data-chunk branch January 14, 2025 05:38
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