使用rank()分析函数超出了BigQuery资源

时间:2016-12-15 18:55:07

标签: google-bigquery

我遇到了Resources Exceeded错误,虽然我的表和查询不是那么大。

Table size = ~4M rows!
Query will process = ~1GB!

查询如下所示:

select <*~20 columns*>, rank() over (partition by date order by     
sys_create_timestamp desc,file_id desc) as rank_field
from MyTable
WHERE lower(Record_Type) IN ('*opt1*','*opt2*')


JobId = snappy-nature-151915:bquijob_3b087361_15903d2280a

感谢您的帮助......

0 个答案:

没有答案