nbenn opened a new issue, #919:
URL: https://github.com/apache/arrow-adbc/issues/919

   I ran into several (smaller) issues when calling 
`adbcdrivermanager::adbc_connection_get_info()`:
   
   - It doesn't work with the "dummy" backends. While it is stated in the 
example, that the void driver will not work, I expected it to for the monkey 
driver. Maybe a little bit of output would be nice instead of an error?
   - using a "proper" backend, such as adbcsqlite, set up as
   
       ```r
       library(adbcdrivermanager)
       db <- adbc_database_init(adbcsqlite::adbcsqlite(), uri = ":memory:")
       con <- adbc_connection_init(db)
       ```
   
       I get an error for any non-integer value:
   
       ```r
       adbc_connection_get_info(con, 0)
       #> Error in adbcdrivermanager::adbc_connection_get_info(con, 0) :
       #>   INTEGER() can only be applied to a 'integer', not a 'double'
       ```
   
       maybe an integer-valued double could be coerced to integer?
   
       ```r
       adbcdrivermanager::adbc_connection_get_info(con, NULL)
       #> Error in adbcdrivermanager::adbc_connection_get_info(con, NULL) :
       #>   INTEGER() can only be applied to a 'integer', not a 'NULL'
       ```
   
       which does not agree with what is documented.
   
   No big deal, just wanted to point it out.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to