-
Notifications
You must be signed in to change notification settings - Fork 173
feat(go/adbc/driver/flightsql): Build C shared lib for flightsql adbc driver #347
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
Conversation
lidavidm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just some nits about unprefixed exported functions.
I guess the next follow up would be to set up CI to run this driver against the C++ test suite and see what happens. For that, I think it would be good if there were some standalone Flight SQL server example we could use...probably the Go one is easiest just in terms of building it.
3086181 to
e4511eb
Compare
71fed32 to
4d5f817
Compare
3a45b8f to
935c858
Compare
| return out, nil | ||
| } | ||
|
|
||
| func formatCSource(in []byte) ([]byte, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pre-commit would just take care of this for you, though I guess it requires a little setup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how do i get pre-commit to actually fix the things instead of just failing the check? lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you have it locally, pre-commit run [--all-files] will fix up the files for you, then you can stage and commit
lidavidm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI failure looks unrelated.
Creates a framework for generating standalone packaged ADBC drivers as .so shared libraries which can be easily distributed out of Go's implementation.