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

   Again, not sure which package/library is to blame for this (if we agree that 
the behavior is undesirable). I'm currently mostly trying to keep track of 
things I run into.
   
   An integer in SQLite is returned as a numeric in R.
   
   With DBI/RSQLite we have
   
   ```r
   str(
     DBI::dbGetQuery(
       DBI::dbConnect(RSQLite::SQLite(), ":memory:"),
       "SELECT 1 AS a"
     )
   )
   #> 'data.frame':     1 obs. of  1 variable:
   #>  $ a: int 1
   ```
   
   whereas using adbcsqlite I "only" get a numeric value back:
   
   ```r
   library(adbcdrivermanager)
   
   db <- adbc_database_init(adbcsqlite::adbcsqlite(), uri = ":memory:")
   con <- adbc_connection_init(db)
   
   str(as.data.frame(read_adbc(con, "SELECT 1 AS a")))
   #> 'data.frame':     1 obs. of  1 variable:
   #>  $ a: num 1
   ```


-- 
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