-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(r): Improve testing for ADBC 1.1 features in R bindings (#1214)
This PR implements option setting/getting in the "void" driver and implements tests for the full grid of set/get by string/bytes/integer/double by database/connection/statement. The error detail information was also not implemented in the dummy driver and so couldn't be tested (so there is an implementation of that here). Implementing a driver that actually did this was sufficient work that I did some rather heavy abstraction to make it easier to write. That abstraction is not unlike a "driver framework" except it is (1) not complete, since the void driver only needs options methods and (2) doesn't provide any result helpers (building streams, etc.). It might be worth porting the driver base to be more general but for now I'd like to keep it constrained to what I need to test in R. Closes #1126.
- Loading branch information
1 parent
1789870
commit ef72e6f
Showing
15 changed files
with
1,089 additions
and
501 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.