0
使用standardSQL我想用standardSQL通過R.如何BigQuery中經由R個
library(bigrquery)
sql = paste("#StandardSQL\n SELECT SUM(copies) ",
" FROM `bigquery-public-data.github_repos.sample_contents` ",
" WHERE NOT binary", sep="")
# Execute the query and store the result
sample_contents <- query_exec(sql, project = "###", useLegacySql = NULL)
執行bigquery
但我得到以下錯誤:
ERROR: Query text specifies use_legacy_sql:false, while API options specify:true
我找不到在哪裏設置API選項。
謝謝。