google-bigquery错误意外请再试一次

时间:2012-09-11 20:06:06

标签: google-bigquery

我正在尝试运行以下查询但始终获得'错误:意外。请再试一次':

select sum( ssw.stem_count ) as sum_stem_count, ssw.stem, min( ssw.term )
from ( select * from mediacloud.ssw_2011_11_14_2011_11_20, mediacloud.ssw_2011_11_21_2011_11_27 )
    as ssw left join mediacloud.topic_obama as ssw_q
    on ssw.stories_id = ssw_q.stories_id 
  group by ssw.stem order by sum_stem_count desc limit 1000;

以下查询正常工作:

select sum( ssw.stem_count ) as sum_stem_count, ssw.stem, min( ssw.term )
  from mediacloud.ssw_2011_11_14_2011_11_20 as ssw 
      left join mediacloud.topic_obama as ssw_q
    on ssw.stories_id = ssw_q.stories_id 
  group by ssw.stem order by sum_stem_count desc limit 1000;

文档似乎说子查询可以用作from子句中的条目,但我无法使其工作。我做错了什么?

1 个答案:

答案 0 :(得分:0)

您可能遇到了与此处相同的问题: if clause in bigquery (我意识到不涉及if子句,但它看起来是相关的)。我们正在积极调查并希望今天晚些时候能够通过一项决议。