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(go/adbc/drivermgr): Implement GetObjects for CGO Wrapper #1290

Merged
merged 7 commits into from
Nov 14, 2023

Conversation

joellubi
Copy link
Member

@joellubi joellubi commented Nov 14, 2023

What?

Add implementation for GetObjects in CGO wrapper for adbc_driver_manager

Why?

Functionality exists in C++ driver manager but not yet accessible via Go driver interface.

Notes

I haven't worked with CGO before so I wanted to limit the scope of this PR to just one of the unimplemented methods in the wrapper. I would like to continue implementing the other methods once I know I'm going about this correctly.

Closes part of #1291

@joellubi joellubi marked this pull request as ready for review November 14, 2023 19:56
@joellubi joellubi requested a review from zeroshade as a code owner November 14, 2023 19:56
Copy link
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

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

This looks great to me, can you add tests for the other arguments also? the dbSchema, tableName and columnName filters?

@lidavidm lidavidm added this to the ADBC Libraries 0.9.0 milestone Nov 14, 2023
@joellubi
Copy link
Member Author

This looks great to me, can you add tests for the other arguments also? the dbSchema, tableName and columnName filters?

Sure thing, just added them.

@joellubi joellubi requested a review from zeroshade November 14, 2023 21:46
Copy link
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

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

LGTM

@zeroshade zeroshade merged commit 5537a3e into apache:main Nov 14, 2023
28 checks passed
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