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

refactor(c/driver/framework): Separate C/C++ conversions and error handling into minimal "base" framework #2090

Merged
merged 30 commits into from
Aug 22, 2024

Conversation

paleolimbot
Copy link
Member

@paleolimbot paleolimbot commented Aug 20, 2024

This PR removes the previous driver/common/driver_base.h and refactors driver/framework/base_driver.h such that it can be a (almost) drop-in replacement. This is basically to separate the nanoarrow helpers such that framework drivers don't have to use them (or can adopt them incrementally to improve/simplify their implementation if they would like): driver authors can implement the low-level methods with C inputs, implement slightly higher level C++-y methods with Status error handling and inputs already converted to C++ objects, or link to the framework. All of our C++ drivers will continue to (or should eventually) link to/use the framework.

I am not sure the separation is perfect here and I'm happy to change things that don't make sense!

@paleolimbot paleolimbot marked this pull request as ready for review August 21, 2024 18:58
@github-actions github-actions bot added this to the ADBC Libraries 15 milestone Aug 21, 2024
@lidavidm lidavidm changed the title refactor(c/driver/framework): Separate C/C++ conversions and error handling into minimal "base" frameework refactor(c/driver/framework): Separate C/C++ conversions and error handling into minimal "base" framework Aug 22, 2024
@paleolimbot paleolimbot merged commit 09dffb3 into apache:main Aug 22, 2024
85 checks passed
@paleolimbot paleolimbot deleted the c-framework-base-base branch September 5, 2024 19:15
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.

2 participants