错误:无法在不同位置读写:源:EU,目的地:US(错误​​代码:无效)

时间:2018-02-06 17:43:33

标签: google-bigquery

我在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_

谢谢!

0 个答案:

没有答案