我们几个月来一直在使用以下查询,现在突然(在过去一小时内)BigQuery 开始返回“调用 POST 时出错https://www.googleapis.com/bigquery/v2/projects/877311797081/queries : (500) Unexpected。请再试一次”
SELECT DATE(SEC_TO_TIMESTAMP(sdate+(-4*3600))) AS d, 0 as range,
SUM(IF(type=0,1,0)) as looks, SUM(IF(type=1,1,0)) as books,
SUM(IF(type=1,nights,0)) AS nights, SUM(base_total*currencies.USD) as totals,
SUM(base_rate*currencies.USD*IF(type=1,nights,0)) as adr,
FROM [reztrack.201307]
WHERE act=157 AND
(( ((sdate+(-4*3600)) >= 1372636800 AND (sdate+(-4*3600))<= 1375228799) ))
GROUP BY d,range
ORDER BY range, d ASC
我检查了我们的帐户,以确保没有超出配额限制或计费问题。尝试其他几个查询,即使是基本的查询似乎也得到了相同的结果。