我一直在試圖解決這個錯誤小時,沒有任何運氣,它對我已經沒有問題,運行了幾個星期,但突然我看到這個錯誤的查詢:的BigQuery JOIN錯誤
Error: ON clause must be AND of = comparisons of one field name from each table, with all field names prefixed with table name.
查詢的格式如下:
SELECT S.av AS av, S.dm AS dm, t, gn
FROM [dataset.cTable]
JOIN EACH (SELECT id, av, dm FROM [dataset.sTable]) AS S ON S.id = sid
AND (t == 'type1' OR t == 'type2') GROUP EACH BY av, dm, t, gn;
任何幫助將不勝感激。
ON子句的AND部分未指定連接條件。將其更改爲WHERE。 – antlersoft 2014-09-12 22:17:48