I am having trouble running a fairly complex query through the command line, though I have no problems running it through the web interface. The command line query is run through a system call in a Ruby script. The error output is as follows:
bigquery error in query operation: error processing job '123856490061:job_3794ad86856342dd9669aeb09a3da86c': unexpected. please try again.
Each day's data has its own table. We recently changed the schema by adding 5 new attributes (removing none), and this query does run across several tables with the old and new schema.
We have been using queries of the exact same format up until this time without problems, however the schemas should be compatible so this shouldn't be the problem. Moreover, the query does work through the web interface, so we're at a loss as to why it does not work through the command line.
Thanks for any suggestions.