Skip to content

Conversation

@Mandukhai-Alimaa
Copy link
Contributor

This change adds graceful handling for StatusNotImplemented errors when setting optional transaction features (isolation level and read-only mode), allowing transactions to work with drivers that don't implement these optional features.

@github-actions github-actions bot added this to the ADBC Libraries 22 milestone Nov 28, 2025
@wangfenjin
Copy link

this is great. and do we have plan to support isolation level in go flighsql driver similar to #3760 ?

@Mandukhai-Alimaa
Copy link
Contributor Author

@zeroshade
Copy link
Member

I'm a little concerned about us providing no feedback to the user at all when the driver doesn't support it (maybe print something to stderr? log it somehow?) but for now I think this is fine.

@zeroshade zeroshade merged commit bf523d1 into apache:main Dec 8, 2025
29 of 37 checks passed
@CurtHagenlocher
Copy link
Contributor

I'm a little concerned about us providing no feedback to the user at all when the driver doesn't support it (maybe print something to stderr? log it somehow?) but for now I think this is fine.

#1243 would be nice for this ;).

@lidavidm
Copy link
Member

lidavidm commented Dec 9, 2025

This is for Go's sqldriver API so it would be that API that needs to support warnings

@lidavidm
Copy link
Member

lidavidm commented Dec 9, 2025

(But also yes I would like to support warnings in the ADBC API)

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.

5 participants