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

   Going by the docs I was expecting that passing `depth = 4L` I get back 
schema info up to columns. 
   
   ```r
   library(adbcdrivermanager)
   db <- adbc_database_init(adbcsqlite::adbcsqlite(), uri = ":memory:")
   con <- adbc_connection_init(db)
   write_adbc(datasets::swiss, con, "swiss")
   
   res <- nanoarrow::convert_array_stream(
     adbc_connection_get_objects(con, 4L)
   )
   
   res[["catalog_db_schemas"]][[1L]][["db_schema_tables"]][[1L]]
   #>   table_name table_type table_columns table_constraints
   #> 1      swiss      table          NULL              NULL
   ```
   
   If I use default depth of `0L`, I get the expected info.
   
   @paleolimbot Is `3L` the largest "sensible" value? Maybe a warning for 
larger values would be helpful? Or maybe being a bit more clear about this in 
the docs? As things stand, it might be a bit misleading.


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to