NEWS.md
show_query()
method for DataBackendDplyr
(#4).as_data_backend()
for objects of type tbl_SQLiteConnection
and tbl_duckdb_connection
.DataBackendDuckDB
.dplyr
is now optional (moved from imports to suggests).as_data_backend()
method to construct a DataBackendDplyr
now specialized to operate on objects of type "tbl_lazy"
(was "tbl"
before). This way, local "tbl"
objects such as tibbles are converted to a DataBackendDataTable
by mlr3::as_data_backend.data.frame()
.DataBackendDplyr
now has a finalizer which automatically disconnects the database connection during garbage collection.DataBackendDplyr
, you can now select columns to be converted from string to factor. This simplifies the work with SQL databases which do not naturally support factors (or where the level information is lost in the transaction).$distinct()
to not return missing values per default.na_rm
argument to $distinct()
.as_sqlite()
to as_sqlite_backend()