Skip to content

Fix Arrow relationship C API adapter#19

Merged
adsharma merged 1 commit into
mainfrom
fix-arrow-rel-table-capi
May 21, 2026
Merged

Fix Arrow relationship C API adapter#19
adsharma merged 1 commit into
mainfrom
fix-arrow-rel-table-capi

Conversation

@adsharma
Copy link
Copy Markdown
Contributor

@adsharma adsharma commented May 21, 2026

Summary

Fix the standalone C-API Python backend for Arrow relationship table creation.

The high-level Connection.create_arrow_rel_table() wrapper now passes layout and indptr_dataframe through for both flat and CSR relationship tables, but the ctypes backend still only accepted the older flat-table call shape. This caused CI to fail with a positional argument TypeError before the C API could run.

This change adds the CSR C API function signature to the ctypes adapter and dispatches flat and CSR layouts to the appropriate C API entry point.

@adsharma adsharma marked this pull request as ready for review May 21, 2026 23:38
@adsharma adsharma merged commit e401748 into main May 21, 2026
2 checks passed
@adsharma adsharma deleted the fix-arrow-rel-table-capi branch May 21, 2026 23:42
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