我一直从 BigQuery 得到这个结果:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "internalError",
"message": "Unexpected. Please try again."
}
],
"code": 503,
"message": "Unexpected. Please try again."
}
}
导致它的查询具有以下形式:
SELECT y.f1, y.f2, y.f3, y.f4, y.f5, y.f6, y.f7,
t.f1, t.f2, t.f3, t.f4, t.f5, t.f6, t.f7
FROM
(
SELECT
f1, f2, f3, f4, f5, f6, f7
FROM
ds.data_20120503
WHERE
kind='A'
)
AS y
JOIN
(
SELECT
f1, f2, f3, f4, f5, f6, f7
FROM
ds.data_20120504
WHERE
kind='A'
)
AS t
ON y.f7 = t.f7
如果我只运行子选择,它们工作正常,所以我想它与“加入”有关。我应该从这里去哪里?