Closed or-asher closed 10 months ago
I see this too:
library(bigrquery)
con <- DBI::dbConnect(bigquery(),
project = bq_test_project(),
dataset = "basedata"
)
bq_mtcars <- dplyr::tbl(con, "mtcars") |> dplyr::filter(cyl == 4)
temp <- dplyr::compute(bq_mtcars)
temp
#> Error in `bq_get()` at bigrquery/R/bq-table.R:79:3:
#> ! Not found: Table gargle-169921:basedata.dbplyr_001 [notFound]
Created on 2024-01-18 with reprex v2.0.2.9000
I have a test for compute()
but it doesn't collect the data 😞
Thanks for discovering this! I was about to release bigrquery, so it's good to catch it before that!
Hey, I heard there would be a new version of the package and so I started testing the new changes in our code. I use the bigrquery to enable BQ query construction and execution through dbplyr. Quickly I noticed that compute doesnt work correctly. The compute itself probably succeeds in saving the results to a temp table as it doesn't throw an exception.
However once you try to access to access the temp table it seems to have been provided an incorrect table name:
If you try to use this temp table in any further query it will also fail as this table doesnt actually exist