funneljoin icon indicating copy to clipboard operation
funneljoin copied to clipboard

Error when using funnel_start() with remote tables

Open quickcoffee opened this issue 3 years ago • 0 comments

Hi, thank you for creating and maintaining this handy package! I wanted to test how well it works on remote tables (trino in my case), but it seems like the funnel_start() function always produces an error with remote tables? I figured it must be in this part of the function code, as the moment_type can't be found in the column of the lazy table object

if (!(moment_type %in% tbl[[dplyr::quo_name(dplyr::enquo(moment))]])) {
    stop(paste(moment_type, " is not in the moment column"))
  }

Do you see any other option than using collect() before using the funneljoin package? That way it works, but if possible I would like to avoid doing the computation on my local machine.

quickcoffee avatar Jan 07 '22 07:01 quickcoffee