paleolimbot opened a new pull request, #1205:
URL: https://github.com/apache/arrow-adbc/pull/1205
Closes #1127. This also introduces better error messages and fixes some
inputs that might have segfaulted (`NA_character_` input as a table type):
``` r
library(adbcdrivermanager)
con <- adbc_driver_void() |>
adbc_database_init() |>
adbc_connection_init()
adbc_connection_get_objects(con, table_name = 5L)
#> Error in adbc_connection_get_objects(con, table_name = 5L): Expected
character(1) for conversion to const char*
adbc_connection_get_objects(con, table_name = NA_character_)
#> Error in adbc_connection_get_objects(con, table_name = NA_character_):
Can't convert NA_character_ to const char*
adbc_connection_get_objects(con, NA_integer_)
#> Error in adbc_connection_get_objects(con, NA_integer_): Can't convert
NA_integer_ to int
adbc_connection_get_objects(con, NA_real_)
#> Error in adbc_connection_get_objects(con, NA_real_): Can't convert
NA_real_ to int
```
<sup>Created on 2023-10-16 with [reprex
v2.0.2](https://reprex.tidyverse.org)</sup>
--
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]