Inspect the current Rducks execution plan
Source:R/execution_plan.R
rducks_current_execution_plan.RdReturns the R-side execution plan recorded for a DuckDB connection. If no plan
has been recorded yet, this returns the reference plan arrow_r + serial.
Examples
# \donttest{
db <- duckdb::dbConnect(duckdb::duckdb(config = list(allow_unsigned_extensions = "true")))
rducks_enable(db)
rducks_current_execution_plan(db)
#> <rducks_execution_plan>
#> plan_id: arrow_r+serial
#> engine_id: arrow_r_serial
#> marshalling: arrow_r
#> concurrency: serial
#> reference: yes
#> implemented: yes
#> call shapes: scalar, vectorized
rducks_release(db)
DBI::dbDisconnect(db)
# }