我无法使用 Google Big Query 执行查询。我可以执行其他操作(例如;列出我的数据集)。我通过 Oauth2 获得授权。
我正在使用的 POST 正文是(作为 JSON):
{
"kind" => "bigquery#queryRequest",
"query" => "SELECT day,sum(clicks) as clicks FROM [dc.test_data] where group by day order by day desc LIMIT 10;",
"defaultDataset" => {
"datasetId" => "dc"
}
我回来了:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "internalError",
"message": "Unexpected. Please try again."
}
],
"code": 503,
"message": "Unexpected. Please try again."
}
}
更改查询似乎没有任何区别。我仍然得到错误。