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

   Instead of returning values for all `info_codes`, passing `NULL` returns 
empty.
   
   ```r
   library(adbcdrivermanager)
   db <- adbc_database_init(adbcsqlite::adbcsqlite(), uri = ":memory:")
   con <- adbc_connection_init(db)
   (nfo <- adbc_connection_get_info(con, info_codes = NULL))
   #> <nanoarrow_array_stream struct<info_name: uint32, info_value: 
dense_union([0,1,2,3,4,5])<string_value: string, bool_value: #> bool, 
int64_value: int64, int32_bitmask: int32, string_list: list<item: string>, 
int32_to_int32_list_map: map<entries: struct<key: #> int32, value: list<item: 
int32>>>>>>
   #>  $ get_schema:function ()
   #>  $ get_next  :function (schema = x$get_schema(), validate = TRUE)
   #>  $ release   :function ()
   nanoarrow::convert_array_stream(nfo)
   #> [1] info_name  info_value
   #> <0 rows> (or 0-length row.names)
   ```
   
   @paleolimbot Could you share a way of turning the array stream into a native 
R object (with only the relevant fields)?


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