-
Notifications
You must be signed in to change notification settings - Fork 95
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)!: close database explicitly #1460
feat(go/adbc)!: close database explicitly #1460
Conversation
CC @zeroshade this affects the core definitions so we're going to want a different way to proceed. |
@lidavidm do you mean adbc.Database cannot be extended? |
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.
@lidavidm Given that we're just adding a new method to an interface that it is not expected that others will be implementing outside of us, I think it's okay to just add the Close
method to the interface along with the implementations.
|
1443e74
to
75b0372
Compare
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.
Are the FlightSQL test failures related to this change or do they exist in main without this change?
Implicit database release behaves inconsistently on different OS, which leads to bugs. Closes apache#1306
I'll now rebase on the latest main. But I suppose new changes are causing an issue. Could you please look into it too @zeroshade ? I'll share if I find anything. |
75b0372
to
2bdb8b4
Compare
@levakin one of the tests calls So just needed to add a nil check there and all is well 😄 |
@zeroshade Nice! Thanks! |
Implicit database release behaves inconsistently on different OS, which leads to bugs. BREAKING CHANGE: adds Close to the Database interface. Closes apache#1306. --------- Co-authored-by: Matt Topol <[email protected]>
Implicit database release behaves inconsistently on different OS, which leads to bugs.
BREAKING CHANGE: adds Close to the Database interface.
Closes #1306.