I'm using standardSQL with bigrquery:
library(bigrquery)
project <- "</project-name>"
sql <- "
#standardSQL
SELECT
</sql-query>;"
result <- query_exec(sql, project = project, useLegacySql = FALSE)
When I run the R script I get the following error:
"Error: Query text specifies use_legacy_sql:false, while API options specify:true"
Any ideas what might be going on here?
I think it's use_legacy_sql = FALSE
(note the underscores, not camelcase)
See here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With