Skip to content

Move modelardb_embedded definitions to C header#378

Merged
CGodiksen merged 15 commits intomainfrom
dev/embedded-in-c-header
Mar 18, 2026
Merged

Move modelardb_embedded definitions to C header#378
CGodiksen merged 15 commits intomainfrom
dev/embedded-in-c-header

Conversation

@CGodiksen
Copy link
Copy Markdown
Collaborator

@CGodiksen CGodiksen commented Mar 17, 2026

This PR closes #373 by moving modelardb_embedded definitions to a C header. The C header is read in operations.py similarly to how the library is read and the Python package build scripts have been updated to include the header file.

The PR also includes some minor fixes to consistency issues between capi.rs and the header file and a fix to a small bug found in the table Python tests.

One thing to note is that we include the ARROW_C_DATA_INTERFACE from https://arrow.apache.org/docs/format/CDataInterface.html directly in the header file. Based on the documentation it seems that the intention is to copy these definitions directly into your own projects code so this is what we do.

Loading
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.

Move modelardb_embedded definitions to C header

4 participants