我在BigQuery中有这个错误:
错误: 无法在不同位置读写:源:EU,目的地:US(错误代码:无效)
我不知道如何解决它...请给我一些想法 我的疑问是:
SELECT
ROUTER_MAC_CALCULADO AS rout_calc,
min(eventdate) AS primera_vez,
max(eventdate) AS ultima_vez,
PAIS as pais_,
SUM(CASE WHEN eventdate BETWEEN '2017-01-01' AND '2017-01-31' THEN 1 ELSE 0 END) ENERO,
SUM(CASE WHEN eventdate BETWEEN '2017-02-01' AND '2017-02-28' THEN 1 ELSE 0 END) FEBRERO
FROM `Mytable`
WHERE ROUTER_MAC_CALCULADO IS NOT NULL
GROUP BY rout_calc,pais_
谢谢!