我目前在BigQuery中运行以下查询:
SELECT
longTime,
PERCENTILE_DISC(0.99) OVER (ORDER BY longTime DESC) AS percentil_99,
cityList
FROM (FLATTEN(FLATTEN([table], longTime), clientId))
WHERE
cityList IS NOT NULL
AND clientId='UKTRAR'
AND bp_Time BETWEEN TIMESTAMP('2015-01-18')
AND TIMESTAMP('2015-12-18')
但完成后会显示以下错误
Error: Resources exceeded during query execution.
Job ID: table:job_Qm_LOGJAFMSXSeXXnVRoLer4C8A
该表包含以下数据
Table Size => 23.4 GB
Number of Rows => 71,809,730