paleolimbot commented on issue #1196:
URL: https://github.com/apache/arrow-adbc/issues/1196#issuecomment-1768910959
`adbc_statement_execute_schema()` was added in #1206 but doesn't seem to be
implemented by the SQLite driver yet:
``` r
library(adbcdrivermanager)
adbc_database_init(adbcsqlite::adbcsqlite()) |>
adbc_connection_init() |>
adbc_statement_init() |>
adbc_statement_set_sql_query("SELECT 1 as one") |>
adbc_statement_execute_schema()
#> Error in
adbc_statement_execute_schema(adbc_statement_set_sql_query(adbc_statement_init(adbc_connection_init(adbc_database_init(adbcsqlite::adbcsqlite()))),
: NOT_IMPLEMENTED
adbc_database_init(
adbcpostgresql::adbcpostgresql(),
uri = Sys.getenv("ADBC_POSTGRESQL_TEST_URI")
) |>
adbc_connection_init() |>
adbc_statement_init() |>
adbc_statement_set_sql_query("SELECT 1 as one") |>
adbc_statement_execute_schema()
#> <nanoarrow_schema struct>
#> $ format : chr "+s"
#> $ name : chr ""
#> $ metadata : list()
#> $ flags : int 2
#> $ children :List of 1
#> ..$ one:<nanoarrow_schema int32>
#> .. ..$ format : chr "i"
#> .. ..$ name : chr "one"
#> .. ..$ metadata : list()
#> .. ..$ flags : int 2
#> .. ..$ children : list()
#> .. ..$ dictionary: NULL
#> $ dictionary: NULL
```
<sup>Created on 2023-10-18 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]