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

fix(go/adbc/sqldriver): Fix nil pointer panics for query parameters #1342

Merged

Conversation

williamleven
Copy link
Contributor

Thought I would contribute some fixes I've been using locally for the issues described in #1341

I have no previous experience with this repository or with the Arrow memory model so I would say it's likely I've gotten something wrong. Feel free to ask me to improve on my contributions or merely take them as inspiration for some other fix.

Resolves #1341

Copy link

github-actions bot commented Dec 5, 2023

⚠️ Please follow the Conventional Commits format in CONTRIBUTING.md for PR titles.

@github-actions github-actions bot added this to the ADBC Libraries 0.9.0 milestone Dec 5, 2023
@williamleven williamleven changed the title [Go] Fix nil pointer panics for query parameters in go/adbc/sqldriver package ix(go/adbc/sqldriver): Fix nil pointer panics for query parameters Dec 5, 2023
@williamleven williamleven changed the title ix(go/adbc/sqldriver): Fix nil pointer panics for query parameters fix(go/adbc/sqldriver): Fix nil pointer panics for query parameters Dec 5, 2023
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 good to me, thanks much!

@zeroshade
Copy link
Member

@williamleven Looks like your test isn't working currently
image

Your output isn't matching what you're expecting

@williamleven williamleven force-pushed the williamleven/fix-gosqldriver-args branch from c57deb3 to bc85401 Compare December 5, 2023 18:48
@williamleven
Copy link
Contributor Author

@williamleven Looks like your test isn't working currently image

Your output isn't matching what you're expecting

Thanks for having a look so quickly.

Yes, apparently had som debug printing left, should have been fixed now 😄

@zeroshade zeroshade merged commit 491ab8d into apache:main Dec 5, 2023
27 of 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.

go/adbc/sqldriver: Unable to pass arguments to queries
2 participants