blob: 8fa16292a7e55b165f05a9d9d6d93d6a1c4a6cff [file] [log] [blame]
WITH
all_builds AS (
SELECT board, cast(milestone as int64) as milestone, platform, CONCAT(board, '|', milestone, '|') AS magic
FROM `google.com:suite-scheduler.builds.passed_builds`
WHERE build_end_time > TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 200 hour)
ORDER BY platform
)
SELECT DISTINCT(magic) as m, board, milestone, platform, FROM all_builds;