From 8c5bcfebed203c48c0ff7f98c6e16f25b1b8d89d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Sat, 12 Aug 2023 10:16:03 +0200 Subject: [PATCH] Materialize results in collect() --- R/compute-collect.R | 3 +++ 1 file changed, 3 insertions(+) diff --git a/R/compute-collect.R b/R/compute-collect.R index ab4916ea24..da8d4d88bd 100644 --- a/R/compute-collect.R +++ b/R/compute-collect.R @@ -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 }