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
Post a Comment