-
Notifications
You must be signed in to change notification settings - Fork 101
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
r/adbcdrivermanager: Improve options handling #1126
Comments
@paleolimbot the reason I brought this up was that currently it is not super straight-forward how these options should be set (with what keys/values). Better documentation would be nice of course, but maybe it is too early for duplicating things that are in flux. Another thing that could be helpful here is "get-option" functionality (#1129). If that tells you |
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.
TRUE
/FALSE
should map to"true"
/"false"
The text was updated successfully, but these errors were encountered: