google apps script - BigQuery Functions Not Working -


the bigquery functions in our apps script had been working fine along 18/06/2013 onwards setprojectid(), setquery() , other bigquery functions have stopped working.

on using these functions, variables remain undefined when should ideally populated.

a small sample script reproduces issue:

var newjobreference = bigquery.newjobreference().setprojectid(yourprojectid); var jobconfig = bigquery.newjobconfiguration().setquery(yourjobqueryconfiguration); 

anyone facing same issue? might causing this?

issue resolved when use:

var newjobreference = bigquery.newjobreference(); newjobreference.setprojectid(yourprojectid); 

instead of:

var newjobreference = bigquery.newjobreference().setprojectid(yourprojectid); 

Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -