Skip to content

Commit

Permalink
Materialize results in collect()
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Aug 12, 2023
1 parent c963d4d commit 8c5bcfe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/compute-collect.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ collapse <- function(x, ...) {

#' @export
collect.data.frame <- function(x, ...) {
# Side effect: ensure that all results are available for duckplyr
.row_names_info(x)

x
}

Expand Down

0 comments on commit 8c5bcfe

Please sign in to comment.