r-dbi / bigrquery

An interface to Google's BigQuery from R.
https://bigrquery.r-dbi.org
Other
515 stars 182 forks source link

Error in UseMethod("sql_select") : no applicable method for 'sql_select' applied to an object of class "bigquery" #21

Closed genomelab closed 10 years ago

genomelab commented 10 years ago

Hi. I am not sure if this has been reported. I have not seen this error on the closed issues or under the open issues. So I will post.

here is sample data that receives an error. I get the same error when using my own personal data, but I can't post this because it is for a private google data base, with billing information etc. so please see this sample data set. Thank you in advance!

library(bigrquery)

trying Google sample datasets bq_db = src_bigquery('publicdata', 'samples') bq_db % src: bigquery [publicdata/samples] % tbls: github_nested, github_timeline, gsod, natality, shakespeare, trigrams, wikipedia d = tbl(bq_db, 'github_nested') % Error in UseMethod("sql_select") : % no applicable method for 'sql_select' applied to an object of class "bigquery"

genomelab commented 10 years ago

"library(bigrquery)

trying Google sample datasets bq_db = src_bigquery('publicdata', 'samples') bq_db src: bigquery [publicdata/samples] tbls: github_nested, github_timeline, gsod, natality, shakespeare, trigrams, wikipedia d = tbl(bq_db, 'github_nested') Error in UseMethod("sql_select") : no applicable method for 'sql_select' applied to an object of class "big query" "

hadley commented 10 years ago

Now fixed, sorry it took so long!