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

feat(rust): add the driver exporter #1756

Merged
merged 33 commits into from
Apr 30, 2024
Merged

Conversation

alexandreyc
Copy link
Contributor

@alexandreyc alexandreyc commented Apr 24, 2024

Third PR for the Rust implementation containing the driver exporter which allows to automatically create a C-compatible driver from a native Rust driver.

@github-actions github-actions bot added this to the ADBC Libraries 1.0.0 milestone Apr 24, 2024
@alexandreyc
Copy link
Contributor Author

I'm not sure why the CI is broken... Maybe a cache invalidation issue?

CC @mbrobbel

@mbrobbel
Copy link
Contributor

I'm not sure why the CI is broken... Maybe a cache invalidation issue?

CC @mbrobbel

Looks like actions/runner-images#9732.

@alexandreyc
Copy link
Contributor Author

Well, I've tried to relaunch the pipeline but it's still failing... @lidavidm can you clear the cache?

@lidavidm
Copy link
Member

#1764, but I still see that cargo isn't found despite having what is supposed to be the latest image version

@lidavidm
Copy link
Member

For now I'm just not going to run this on M1 and we can add it back later

@lidavidm
Copy link
Member

@alexandreyc if you rebase, it should work 🤞

@alexandreyc
Copy link
Contributor Author

It works! Thanks!

Copy link
Contributor

@mbrobbel mbrobbel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I started reviewing this.

rust/core/src/driver_exporter.rs Outdated Show resolved Hide resolved
rust/core/src/driver_exporter.rs Outdated Show resolved Hide resolved
rust/core/src/driver_exporter.rs Outdated Show resolved Hide resolved
rust/core/src/driver_exporter.rs Outdated Show resolved Hide resolved
rust/core/src/lib.rs Outdated Show resolved Hide resolved
rust/core/src/driver_exporter.rs Outdated Show resolved Hide resolved
rust/core/src/driver_exporter.rs Show resolved Hide resolved
rust/core/src/driver_exporter.rs Show resolved Hide resolved
rust/core/src/driver_exporter.rs Outdated Show resolved Hide resolved
rust/core/src/driver_exporter.rs Outdated Show resolved Hide resolved
rust/core/src/driver_exporter.rs Outdated Show resolved Hide resolved
rust/core/src/driver_exporter.rs Outdated Show resolved Hide resolved
rust/core/src/driver_exporter.rs Outdated Show resolved Hide resolved
rust/core/src/driver_exporter.rs Outdated Show resolved Hide resolved
rust/core/src/driver_exporter.rs Outdated Show resolved Hide resolved
rust/core/src/driver_exporter.rs Outdated Show resolved Hide resolved
rust/core/src/driver_exporter.rs Outdated Show resolved Hide resolved
rust/core/src/driver_exporter.rs Outdated Show resolved Hide resolved
rust/core/src/driver_exporter.rs Outdated Show resolved Hide resolved
rust/core/src/driver_exporter.rs Show resolved Hide resolved
@alexandreyc
Copy link
Contributor Author

Thanks @mbrobbel for your thorough review! I think I've taken into account all your comments.

I've pushed a last commit to better differentiate between broken internal invariant (panicking) and API misuse (erroring)

Copy link
Contributor

@mbrobbel mbrobbel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working through all those comments so quickly. On to the next PR!

rust/core/src/options.rs Outdated Show resolved Hide resolved
@alexandreyc
Copy link
Contributor Author

@lidavidm I think this PR can be merged

@lidavidm lidavidm merged commit 608a1e4 into apache:main Apr 30, 2024
5 checks passed
cocoa-xu pushed a commit to meowcraft-dev/arrow-adbc that referenced this pull request May 8, 2024
Third PR for the Rust implementation containing the driver exporter
which allows to automatically create a C-compatible driver from a native
Rust driver.
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.

3 participants