You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to avoid the "lazy.frame" terminology, and also "dplyr.frame" is not useful shorthand for tbl(). I was toying with the ideas, which now work fine, and now would like to have an API more consistent with the rest of the package.
lazy.frame() will no longer be exported and will be renamed gpkg_table_pragma() -- this is useful information but not a substitute for table contents.
dplyr.frame() will no longer be exported, it will be renamed internally and will be used inside gpkg_table() and gpkg_tables() unless new argument pragma is TRUE.
gpkg_table() and gpkg_tables(): the new argument pragma=FALSE will require suggested package {dbplyr}, pragma=TRUE will use gpkg_table_pragma() instead of gpkg_table().
This is requiring the user to opt in to avoid the {dbplyr} dependencies rather than relying on what namespaces could be loaded to determine behavior (yuck)
gpkg_table() current behavior is to use dbGetQuery() to materialize full table in memory, which was not behavior of gpkg_tables(); "table" and "tables" will now be consistent and the old gpkg_table() code to make a table in memory will be available as gpkg_get_table() (or gpkg_collect_table() (?), or collect=TRUE argument to gpkg_table())
The lazy.frame/dplyr.frame functions will be removed from the namespace as I prepare for an initial release of gpkg v0.1.0.
The text was updated successfully, but these errors were encountered:
I would like to avoid the "lazy.frame" terminology, and also "dplyr.frame" is not useful shorthand for
tbl()
. I was toying with the ideas, which now work fine, and now would like to have an API more consistent with the rest of the package.lazy.frame()
will no longer be exported and will be renamedgpkg_table_pragma()
-- this is useful information but not a substitute for table contents.dplyr.frame()
will no longer be exported, it will be renamed internally and will be used insidegpkg_table()
andgpkg_tables()
unless new argumentpragma
isTRUE
.gpkg_table()
andgpkg_tables()
: the new argumentpragma=FALSE
will require suggested package {dbplyr},pragma=TRUE
will usegpkg_table_pragma()
instead ofgpkg_table()
.gpkg_table()
current behavior is to usedbGetQuery()
to materialize full table in memory, which was not behavior ofgpkg_tables()
; "table" and "tables" will now be consistent and the oldgpkg_table()
code to make a table in memory will be available asgpkg_get_table()
(orgpkg_collect_table()
(?), orcollect=TRUE
argument togpkg_table()
)The lazy.frame/dplyr.frame functions will be removed from the namespace as I prepare for an initial release of gpkg v0.1.0.
The text was updated successfully, but these errors were encountered: