зеркало из https://github.com/mozilla/treeherder.git
131 строка
32 KiB
SQL
131 строка
32 KiB
SQL
|
|
SELECT
|
|
*
|
|
FROM
|
|
(
|
|
SELECT
|
|
`t1`.`id` AS `c0`, `t1`.`manually_created` AS `c1`, `t1`.`created` AS `c2`, `t1`.`status` AS `c3`, `t1`.`bug_number` AS `c4`, `t1`.`notes` AS `c5`, `t1`.`first_triaged` AS `c6`, `t1`.`last_updated` AS `c7`, `t1`.`bug_updated` AS `c8`, `t2`.`id` AS `c9`, `t2`.`name` AS `c10`, `t3`.`id` AS `c11`, `t3`.`name` AS `c12`, `t3`.`task_base_url` AS `c13`, `t4`.`id` AS `c14`, `t4`.`revision` AS `c15`, `t4`.`author` AS `c16`, `t4`.`time` AS `c17`, `t5`.`id` AS `c18`, `t5`.`revision` AS `c19`, `t5`.`author` AS `c20`, `t5`.`time` AS `c21`, `t6`.`id` AS `c22`, `t6`.`name` AS `c23`, NULL AS `c24`, NULL AS `c25`, NULL AS `c26`, NULL AS `c27`, NULL AS `c28`, NULL AS `c29`, NULL AS `c30`, NULL AS `c31`, NULL AS `c32`, NULL AS `c33`, NULL AS `c34`, NULL AS `c35`, NULL AS `c36`, NULL AS `c37`, NULL AS `c38`, NULL AS `c39`, NULL AS `c40`, NULL AS `c41`, NULL AS `c42`, NULL AS `c43`, NULL AS `c44`, NULL AS `c45`, NULL AS `c46`, NULL AS `c47`, NULL AS `c48`, NULL AS `c49`, NULL AS `c50`, NULL AS `c51`, NULL AS `c52`, NULL AS `c53`, NULL AS `c54`, NULL AS `c55`, NULL AS `c56`, NULL AS `c57`, NULL AS `c58`, NULL AS `c59`, NULL AS `c60`, NULL AS `c61`, `t7`.`id` AS `c62`, `t7`.`name` AS `c63`, `t8`.`id` AS `c64`, `t8`.`name` AS `c65`, NULL AS `c66`, NULL AS `c67`, NULL AS `c68`, NULL AS `c69`, NULL AS `c70`, NULL AS `c71`, NULL AS `c72`, NULL AS `c73`, NULL AS `c74`, NULL AS `c75`, NULL AS `c76`, NULL AS `c77`, NULL AS `c78`, NULL AS `c79`, NULL AS `c80`, NULL AS `c81`, NULL AS `c82`, NULL AS `c83`, NULL AS `c84`, NULL AS `c85`, NULL AS `c86`, NULL AS `c87`, NULL AS `c88`, NULL AS `c89`, NULL AS `c90`, NULL AS `c91`, NULL AS `c92`, NULL AS `c93`, NULL AS `c94`, NULL AS `c95`, NULL AS `c96`, NULL AS `c97`, NULL AS `c98`, NULL AS `c99`, NULL AS `c100`, NULL AS `c101`, NULL AS `c102`, NULL AS `c103`, NULL AS `c104`, NULL AS `c105`, NULL AS `c106`, NULL AS `c107`, NULL AS `c108`, NULL AS `c109`, NULL AS `c110`, NULL AS `c111`, NULL AS `c112`, NULL AS `c113`, NULL AS `c114`, NULL AS `c115`, NULL AS `c116`, NULL AS `c117`, NULL AS `c118`, NULL AS `c119`, NULL AS `c120`, NULL AS `c121`, NULL AS `c122`, NULL AS `c123`, NULL AS `c124`, NULL AS `c125`, NULL AS `c126`, NULL AS `c127`, NULL AS `c128`, NULL AS `c129`, NULL AS `c130`, NULL AS `c131`, NULL AS `c132`, NULL AS `c133`, NULL AS `c134`, NULL AS `c135`, NULL AS `c136`, NULL AS `c137`, NULL AS `c138`, NULL AS `c139`, NULL AS `c140`, NULL AS `c141`, NULL AS `c142`, NULL AS `c143`, NULL AS `c144`, NULL AS `c145`, NULL AS `c146`, NULL AS `c147`, NULL AS `c148`, NULL AS `c149`, NULL AS `c150`, NULL AS `c151`, NULL AS `c152`, NULL AS `c153`, NULL AS `c154`, NULL AS `c155`, NULL AS `c156`, NULL AS `c157`, NULL AS `c158`, NULL AS `c159`, NULL AS `c160`, NULL AS `c161`, NULL AS `c162`, NULL AS `c163`, NULL AS `c164`, NULL AS `c165`, NULL AS `c166`, NULL AS `c167`, NULL AS `c168`, NULL AS `c169`, NULL AS `c170`, NULL AS `c171`, NULL AS `c172`, NULL AS `c173`, NULL AS `c174`, NULL AS `c175`, NULL AS `c176`, NULL AS `c177`, NULL AS `c178`, NULL AS `c179`, NULL AS `c180`, NULL AS `c181`, NULL AS `c182`, NULL AS `c183`, NULL AS `c184`, NULL AS `c185`, NULL AS `c186`, NULL AS `c187`, NULL AS `c188`, NULL AS `c189`, NULL AS `c190`, NULL AS `c191`, NULL AS `c192`, NULL AS `c193`, NULL AS `c194`, NULL AS `c195`, NULL AS `c196`, NULL AS `c197`, NULL AS `c198`, NULL AS `c199`, NULL AS `c200`, NULL AS `c201`, NULL AS `c202`, NULL AS `c203`, NULL AS `c204`, NULL AS `c205`, NULL AS `c206`, NULL AS `c207`, NULL AS `c208`, NULL AS `c209`, NULL AS `c210`, NULL AS `c211`, NULL AS `c212`, NULL AS `c213`, NULL AS `c214`, NULL AS `c215`, NULL AS `c216`, NULL AS `c217`, NULL AS `c218`, NULL AS `c219`, NULL AS `c220`, NULL AS `c221`, NULL AS `c222`, NULL AS `c223`, NULL AS `c224`, NULL AS `c225`, NULL AS `c226`, NULL AS `c227`, NULL AS `c228`, NULL AS `c229`, NULL AS `c230`, NULL AS `c231`, NULL AS `c232`, NULL AS `c233`, NULL AS `c234`, NULL AS `c235`, NULL AS `c236`, NULL AS `c237`, NULL AS `c238`, NULL AS `c239`, NULL AS `c240`, NULL AS `c241`, NULL AS `c242`, NULL AS `c243`, NULL AS `c244`, NULL AS `c245`, NULL AS `c246`, NULL AS `c247`, NULL AS `c248`, NULL AS `c249`, NULL AS `c250`, NULL AS `c251`, NULL AS `c252`, NULL AS `c253`, NULL AS `c254`, NULL AS `c255`, NULL AS `c256`, NULL AS `c257`, NULL AS `c258`, NULL AS `c259`, NULL AS `c260`, NULL AS `c261`, NULL AS `c262`, NULL AS `c263`, NULL AS `c264`, NULL AS `c265`, NULL AS `c266`, NULL AS `c267`, NULL AS `c268`, NULL AS `c269`, NULL AS `c270`
|
|
FROM
|
|
(SELECT 0) AS `t0`
|
|
LEFT JOIN
|
|
`test_treeherder`.`performance_alert_summary` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`performance_framework` AS `t2` ON `t2`.`id` = `t1`.`framework_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`issue_tracker` AS `t3` ON `t3`.`id` = `t1`.`issue_tracker_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`push` AS `t4` ON `t4`.`id` = `t1`.`prev_push_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`push` AS `t5` ON `t5`.`id` = `t1`.`push_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`repository` AS `t6` ON `t6`.`id` = `t1`.`repository_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`repository` AS `t7` ON `t7`.`id` = `t4`.`repository_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`repository` AS `t8` ON `t8`.`id` = `t5`.`repository_id`
|
|
UNION ALL
|
|
|
|
SELECT
|
|
`t1`.`id` AS `c0`, NULL AS `c1`, NULL AS `c2`, NULL AS `c3`, NULL AS `c4`, NULL AS `c5`, NULL AS `c6`, NULL AS `c7`, NULL AS `c8`, NULL AS `c9`, NULL AS `c10`, NULL AS `c11`, NULL AS `c12`, NULL AS `c13`, NULL AS `c14`, NULL AS `c15`, NULL AS `c16`, NULL AS `c17`, NULL AS `c18`, NULL AS `c19`, NULL AS `c20`, NULL AS `c21`, NULL AS `c22`, NULL AS `c23`, `t2`.`summary_id` AS `c24`, `t2`.`created` AS `c25`, `t2`.`last_updated` AS `c26`, `t2`.`frozen` AS `c27`, NULL AS `c28`, NULL AS `c29`, NULL AS `c30`, NULL AS `c31`, NULL AS `c32`, NULL AS `c33`, NULL AS `c34`, NULL AS `c35`, NULL AS `c36`, NULL AS `c37`, NULL AS `c38`, NULL AS `c39`, NULL AS `c40`, NULL AS `c41`, NULL AS `c42`, NULL AS `c43`, NULL AS `c44`, NULL AS `c45`, NULL AS `c46`, NULL AS `c47`, NULL AS `c48`, NULL AS `c49`, NULL AS `c50`, NULL AS `c51`, NULL AS `c52`, NULL AS `c53`, NULL AS `c54`, NULL AS `c55`, NULL AS `c56`, NULL AS `c57`, NULL AS `c58`, NULL AS `c59`, NULL AS `c60`, NULL AS `c61`, NULL AS `c62`, NULL AS `c63`, NULL AS `c64`, NULL AS `c65`, NULL AS `c66`, NULL AS `c67`, NULL AS `c68`, NULL AS `c69`, NULL AS `c70`, NULL AS `c71`, NULL AS `c72`, NULL AS `c73`, NULL AS `c74`, NULL AS `c75`, NULL AS `c76`, NULL AS `c77`, NULL AS `c78`, NULL AS `c79`, NULL AS `c80`, NULL AS `c81`, NULL AS `c82`, NULL AS `c83`, NULL AS `c84`, NULL AS `c85`, NULL AS `c86`, NULL AS `c87`, NULL AS `c88`, NULL AS `c89`, NULL AS `c90`, NULL AS `c91`, NULL AS `c92`, NULL AS `c93`, NULL AS `c94`, NULL AS `c95`, NULL AS `c96`, NULL AS `c97`, NULL AS `c98`, NULL AS `c99`, NULL AS `c100`, NULL AS `c101`, NULL AS `c102`, NULL AS `c103`, NULL AS `c104`, NULL AS `c105`, NULL AS `c106`, NULL AS `c107`, NULL AS `c108`, NULL AS `c109`, NULL AS `c110`, NULL AS `c111`, NULL AS `c112`, NULL AS `c113`, NULL AS `c114`, NULL AS `c115`, NULL AS `c116`, NULL AS `c117`, NULL AS `c118`, NULL AS `c119`, NULL AS `c120`, NULL AS `c121`, NULL AS `c122`, NULL AS `c123`, NULL AS `c124`, NULL AS `c125`, NULL AS `c126`, NULL AS `c127`, NULL AS `c128`, NULL AS `c129`, NULL AS `c130`, NULL AS `c131`, NULL AS `c132`, NULL AS `c133`, NULL AS `c134`, NULL AS `c135`, NULL AS `c136`, NULL AS `c137`, NULL AS `c138`, NULL AS `c139`, NULL AS `c140`, NULL AS `c141`, NULL AS `c142`, NULL AS `c143`, NULL AS `c144`, NULL AS `c145`, NULL AS `c146`, NULL AS `c147`, NULL AS `c148`, NULL AS `c149`, NULL AS `c150`, NULL AS `c151`, NULL AS `c152`, NULL AS `c153`, NULL AS `c154`, NULL AS `c155`, NULL AS `c156`, NULL AS `c157`, NULL AS `c158`, NULL AS `c159`, NULL AS `c160`, NULL AS `c161`, NULL AS `c162`, NULL AS `c163`, NULL AS `c164`, NULL AS `c165`, NULL AS `c166`, NULL AS `c167`, NULL AS `c168`, NULL AS `c169`, NULL AS `c170`, NULL AS `c171`, NULL AS `c172`, NULL AS `c173`, NULL AS `c174`, NULL AS `c175`, NULL AS `c176`, NULL AS `c177`, NULL AS `c178`, NULL AS `c179`, NULL AS `c180`, NULL AS `c181`, NULL AS `c182`, NULL AS `c183`, NULL AS `c184`, NULL AS `c185`, NULL AS `c186`, NULL AS `c187`, NULL AS `c188`, NULL AS `c189`, NULL AS `c190`, NULL AS `c191`, NULL AS `c192`, NULL AS `c193`, NULL AS `c194`, NULL AS `c195`, NULL AS `c196`, NULL AS `c197`, NULL AS `c198`, NULL AS `c199`, NULL AS `c200`, NULL AS `c201`, NULL AS `c202`, NULL AS `c203`, NULL AS `c204`, NULL AS `c205`, NULL AS `c206`, NULL AS `c207`, NULL AS `c208`, NULL AS `c209`, NULL AS `c210`, NULL AS `c211`, NULL AS `c212`, NULL AS `c213`, NULL AS `c214`, NULL AS `c215`, NULL AS `c216`, NULL AS `c217`, NULL AS `c218`, NULL AS `c219`, NULL AS `c220`, NULL AS `c221`, NULL AS `c222`, NULL AS `c223`, NULL AS `c224`, NULL AS `c225`, NULL AS `c226`, NULL AS `c227`, NULL AS `c228`, NULL AS `c229`, NULL AS `c230`, NULL AS `c231`, NULL AS `c232`, NULL AS `c233`, NULL AS `c234`, NULL AS `c235`, NULL AS `c236`, NULL AS `c237`, NULL AS `c238`, NULL AS `c239`, NULL AS `c240`, NULL AS `c241`, NULL AS `c242`, NULL AS `c243`, NULL AS `c244`, NULL AS `c245`, NULL AS `c246`, NULL AS `c247`, NULL AS `c248`, NULL AS `c249`, NULL AS `c250`, NULL AS `c251`, NULL AS `c252`, NULL AS `c253`, NULL AS `c254`, NULL AS `c255`, NULL AS `c256`, NULL AS `c257`, NULL AS `c258`, NULL AS `c259`, NULL AS `c260`, NULL AS `c261`, NULL AS `c262`, NULL AS `c263`, NULL AS `c264`, NULL AS `c265`, NULL AS `c266`, NULL AS `c267`, NULL AS `c268`, NULL AS `c269`, NULL AS `c270`
|
|
FROM
|
|
(SELECT 0) AS `t0`
|
|
LEFT JOIN
|
|
`test_treeherder`.`performance_alert_summary` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
JOIN
|
|
`test_treeherder`.`backfill_report` AS `t2` ON `t2`.`summary_id` = `t1`.`id`
|
|
UNION ALL
|
|
|
|
SELECT
|
|
`t1`.`id` AS `c0`, NULL AS `c1`, NULL AS `c2`, NULL AS `c3`, NULL AS `c4`, NULL AS `c5`, NULL AS `c6`, NULL AS `c7`, NULL AS `c8`, NULL AS `c9`, NULL AS `c10`, NULL AS `c11`, NULL AS `c12`, NULL AS `c13`, NULL AS `c14`, NULL AS `c15`, NULL AS `c16`, NULL AS `c17`, NULL AS `c18`, NULL AS `c19`, NULL AS `c20`, NULL AS `c21`, NULL AS `c22`, NULL AS `c23`, NULL AS `c24`, NULL AS `c25`, NULL AS `c26`, NULL AS `c27`, `t2`.`id` AS `c28`, `t2`.`is_regression` AS `c29`, `t2`.`status` AS `c30`, `t2`.`amount_pct` AS `c31`, `t2`.`amount_abs` AS `c32`, `t2`.`prev_value` AS `c33`, `t2`.`new_value` AS `c34`, `t2`.`t_value` AS `c35`, `t2`.`manually_created` AS `c36`, `t2`.`classifier_id` AS `c37`, `t2`.`related_summary_id` AS `c38`, `t2`.`series_signature_id` AS `c39`, `t2`.`summary_id` AS `c40`, `t2`.`starred` AS `c41`, `t2`.`created` AS `c42`, `t2`.`first_triaged` AS `c43`, `t2`.`last_updated` AS `c44`, NULL AS `c45`, NULL AS `c46`, NULL AS `c47`, NULL AS `c48`, NULL AS `c49`, NULL AS `c50`, NULL AS `c51`, NULL AS `c52`, NULL AS `c53`, NULL AS `c54`, NULL AS `c55`, NULL AS `c56`, NULL AS `c57`, NULL AS `c58`, NULL AS `c59`, NULL AS `c60`, NULL AS `c61`, NULL AS `c62`, NULL AS `c63`, NULL AS `c64`, NULL AS `c65`, NULL AS `c66`, NULL AS `c67`, NULL AS `c68`, NULL AS `c69`, NULL AS `c70`, NULL AS `c71`, `t3`.`id` AS `c72`, `t3`.`signature_hash` AS `c73`, `t3`.`suite` AS `c74`, `t3`.`test` AS `c75`, `t3`.`lower_is_better` AS `c76`, `t3`.`last_updated` AS `c77`, `t3`.`has_subtests` AS `c78`, `t3`.`extra_options` AS `c79`, `t3`.`should_alert` AS `c80`, `t3`.`alert_change_type` AS `c81`, `t3`.`alert_threshold` AS `c82`, `t3`.`min_back_window` AS `c83`, `t3`.`max_back_window` AS `c84`, `t3`.`fore_window` AS `c85`, `t3`.`measurement_unit` AS `c86`, `t3`.`application` AS `c87`, `t3`.`suite_public_name` AS `c88`, `t3`.`test_public_name` AS `c89`, `t3`.`tags` AS `c90`, `t4`.`id` AS `c91`, `t4`.`manually_created` AS `c92`, `t4`.`created` AS `c93`, `t4`.`status` AS `c94`, `t4`.`bug_number` AS `c95`, `t4`.`notes` AS `c96`, `t4`.`first_triaged` AS `c97`, `t4`.`last_updated` AS `c98`, `t4`.`bug_updated` AS `c99`, NULL AS `c100`, NULL AS `c101`, NULL AS `c102`, NULL AS `c103`, NULL AS `c104`, NULL AS `c105`, NULL AS `c106`, NULL AS `c107`, NULL AS `c108`, NULL AS `c109`, NULL AS `c110`, NULL AS `c111`, NULL AS `c112`, NULL AS `c113`, NULL AS `c114`, NULL AS `c115`, NULL AS `c116`, NULL AS `c117`, NULL AS `c118`, NULL AS `c119`, NULL AS `c120`, NULL AS `c121`, NULL AS `c122`, NULL AS `c123`, NULL AS `c124`, NULL AS `c125`, NULL AS `c126`, NULL AS `c127`, NULL AS `c128`, NULL AS `c129`, NULL AS `c130`, NULL AS `c131`, `t5`.`id` AS `c132`, `t5`.`name` AS `c133`, `t6`.`id` AS `c134`, `t6`.`option_collection_hash` AS `c135`, `t7`.`id` AS `c136`, `t7`.`signature_hash` AS `c137`, `t7`.`suite` AS `c138`, `t7`.`test` AS `c139`, `t7`.`lower_is_better` AS `c140`, `t7`.`last_updated` AS `c141`, `t7`.`has_subtests` AS `c142`, `t7`.`extra_options` AS `c143`, `t7`.`should_alert` AS `c144`, `t7`.`alert_change_type` AS `c145`, `t7`.`alert_threshold` AS `c146`, `t7`.`min_back_window` AS `c147`, `t7`.`max_back_window` AS `c148`, `t7`.`fore_window` AS `c149`, `t7`.`parent_signature_id` AS `c150`, `t7`.`measurement_unit` AS `c151`, `t7`.`application` AS `c152`, `t7`.`suite_public_name` AS `c153`, `t7`.`test_public_name` AS `c154`, `t7`.`tags` AS `c155`, `t8`.`id` AS `c156`, `t8`.`platform` AS `c157`, `t9`.`id` AS `c158`, `t9`.`name` AS `c159`, NULL AS `c160`, NULL AS `c161`, NULL AS `c162`, NULL AS `c163`, NULL AS `c164`, NULL AS `c165`, NULL AS `c166`, NULL AS `c167`, NULL AS `c168`, NULL AS `c169`, NULL AS `c170`, NULL AS `c171`, NULL AS `c172`, NULL AS `c173`, NULL AS `c174`, NULL AS `c175`, NULL AS `c176`, NULL AS `c177`, NULL AS `c178`, NULL AS `c179`, NULL AS `c180`, NULL AS `c181`, NULL AS `c182`, NULL AS `c183`, NULL AS `c184`, NULL AS `c185`, NULL AS `c186`, NULL AS `c187`, NULL AS `c188`, NULL AS `c189`, NULL AS `c190`, NULL AS `c191`, NULL AS `c192`, NULL AS `c193`, NULL AS `c194`, NULL AS `c195`, NULL AS `c196`, NULL AS `c197`, NULL AS `c198`, NULL AS `c199`, NULL AS `c200`, NULL AS `c201`, NULL AS `c202`, NULL AS `c203`, NULL AS `c204`, NULL AS `c205`, NULL AS `c206`, NULL AS `c207`, NULL AS `c208`, NULL AS `c209`, NULL AS `c210`, NULL AS `c211`, NULL AS `c212`, NULL AS `c213`, NULL AS `c214`, NULL AS `c215`, NULL AS `c216`, NULL AS `c217`, NULL AS `c218`, NULL AS `c219`, NULL AS `c220`, NULL AS `c221`, NULL AS `c222`, NULL AS `c223`, NULL AS `c224`, `t10`.`id` AS `c225`, `t10`.`name` AS `c226`, `t11`.`id` AS `c227`, `t11`.`platform` AS `c228`, `t12`.`id` AS `c229`, `t12`.`name` AS `c230`, NULL AS `c231`, NULL AS `c232`, NULL AS `c233`, NULL AS `c234`, NULL AS `c235`, NULL AS `c236`, NULL AS `c237`, NULL AS `c238`, NULL AS `c239`, NULL AS `c240`, NULL AS `c241`, NULL AS `c242`, NULL AS `c243`, NULL AS `c244`, NULL AS `c245`, NULL AS `c246`, NULL AS `c247`, NULL AS `c248`, NULL AS `c249`, NULL AS `c250`, NULL AS `c251`, NULL AS `c252`, NULL AS `c253`, NULL AS `c254`, NULL AS `c255`, NULL AS `c256`, NULL AS `c257`, NULL AS `c258`, NULL AS `c259`, NULL AS `c260`, NULL AS `c261`, NULL AS `c262`, NULL AS `c263`, NULL AS `c264`, NULL AS `c265`, NULL AS `c266`, NULL AS `c267`, NULL AS `c268`, NULL AS `c269`, NULL AS `c270`
|
|
FROM
|
|
(SELECT 0) AS `t0`
|
|
LEFT JOIN
|
|
`test_treeherder`.`performance_alert_summary` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
JOIN
|
|
`test_treeherder`.`performance_alert` AS `t2` ON `t2`.`related_summary_id` = `t1`.`id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`performance_signature` AS `t3` ON `t3`.`id` = `t2`.`series_signature_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`performance_alert_summary` AS `t4` ON `t4`.`id` = `t2`.`summary_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`performance_framework` AS `t5` ON `t5`.`id` = `t3`.`framework_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`option_collection` AS `t6` ON `t6`.`id` = `t3`.`option_collection_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`performance_signature` AS `t7` ON `t7`.`id` = `t3`.`parent_signature_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`machine_platform` AS `t8` ON `t8`.`id` = `t3`.`platform_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`repository` AS `t9` ON `t9`.`id` = `t3`.`repository_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`option` AS `t10` ON `t10`.`id` = `t6`.`option_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`machine_platform` AS `t11` ON `t11`.`id` = `t7`.`platform_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`repository` AS `t12` ON `t12`.`id` = `t7`.`repository_id`
|
|
UNION ALL
|
|
|
|
SELECT
|
|
`t1`.`id` AS `c0`, NULL AS `c1`, NULL AS `c2`, NULL AS `c3`, NULL AS `c4`, NULL AS `c5`, NULL AS `c6`, NULL AS `c7`, NULL AS `c8`, NULL AS `c9`, NULL AS `c10`, NULL AS `c11`, NULL AS `c12`, NULL AS `c13`, NULL AS `c14`, NULL AS `c15`, NULL AS `c16`, NULL AS `c17`, NULL AS `c18`, NULL AS `c19`, NULL AS `c20`, NULL AS `c21`, NULL AS `c22`, NULL AS `c23`, NULL AS `c24`, NULL AS `c25`, NULL AS `c26`, NULL AS `c27`, NULL AS `c28`, NULL AS `c29`, NULL AS `c30`, NULL AS `c31`, NULL AS `c32`, NULL AS `c33`, NULL AS `c34`, NULL AS `c35`, NULL AS `c36`, NULL AS `c37`, NULL AS `c38`, NULL AS `c39`, NULL AS `c40`, NULL AS `c41`, NULL AS `c42`, NULL AS `c43`, NULL AS `c44`, `t2`.`id` AS `c45`, `t2`.`is_regression` AS `c46`, `t2`.`status` AS `c47`, `t2`.`amount_pct` AS `c48`, `t2`.`amount_abs` AS `c49`, `t2`.`prev_value` AS `c50`, `t2`.`new_value` AS `c51`, `t2`.`t_value` AS `c52`, `t2`.`manually_created` AS `c53`, `t2`.`classifier_id` AS `c54`, `t2`.`related_summary_id` AS `c55`, `t2`.`series_signature_id` AS `c56`, `t2`.`summary_id` AS `c57`, `t2`.`starred` AS `c58`, `t2`.`created` AS `c59`, `t2`.`first_triaged` AS `c60`, `t2`.`last_updated` AS `c61`, NULL AS `c62`, NULL AS `c63`, NULL AS `c64`, NULL AS `c65`, NULL AS `c66`, NULL AS `c67`, NULL AS `c68`, NULL AS `c69`, NULL AS `c70`, NULL AS `c71`, NULL AS `c72`, NULL AS `c73`, NULL AS `c74`, NULL AS `c75`, NULL AS `c76`, NULL AS `c77`, NULL AS `c78`, NULL AS `c79`, NULL AS `c80`, NULL AS `c81`, NULL AS `c82`, NULL AS `c83`, NULL AS `c84`, NULL AS `c85`, NULL AS `c86`, NULL AS `c87`, NULL AS `c88`, NULL AS `c89`, NULL AS `c90`, NULL AS `c91`, NULL AS `c92`, NULL AS `c93`, NULL AS `c94`, NULL AS `c95`, NULL AS `c96`, NULL AS `c97`, NULL AS `c98`, NULL AS `c99`, `t3`.`id` AS `c100`, `t3`.`signature_hash` AS `c101`, `t3`.`suite` AS `c102`, `t3`.`test` AS `c103`, `t3`.`lower_is_better` AS `c104`, `t3`.`last_updated` AS `c105`, `t3`.`has_subtests` AS `c106`, `t3`.`extra_options` AS `c107`, `t3`.`should_alert` AS `c108`, `t3`.`alert_change_type` AS `c109`, `t3`.`alert_threshold` AS `c110`, `t3`.`min_back_window` AS `c111`, `t3`.`max_back_window` AS `c112`, `t3`.`fore_window` AS `c113`, `t3`.`measurement_unit` AS `c114`, `t3`.`application` AS `c115`, `t3`.`suite_public_name` AS `c116`, `t3`.`test_public_name` AS `c117`, `t3`.`tags` AS `c118`, NULL AS `c119`, NULL AS `c120`, NULL AS `c121`, NULL AS `c122`, NULL AS `c123`, NULL AS `c124`, NULL AS `c125`, NULL AS `c126`, NULL AS `c127`, NULL AS `c128`, NULL AS `c129`, NULL AS `c130`, NULL AS `c131`, NULL AS `c132`, NULL AS `c133`, NULL AS `c134`, NULL AS `c135`, NULL AS `c136`, NULL AS `c137`, NULL AS `c138`, NULL AS `c139`, NULL AS `c140`, NULL AS `c141`, NULL AS `c142`, NULL AS `c143`, NULL AS `c144`, NULL AS `c145`, NULL AS `c146`, NULL AS `c147`, NULL AS `c148`, NULL AS `c149`, NULL AS `c150`, NULL AS `c151`, NULL AS `c152`, NULL AS `c153`, NULL AS `c154`, NULL AS `c155`, NULL AS `c156`, NULL AS `c157`, NULL AS `c158`, NULL AS `c159`, `t4`.`id` AS `c160`, `t4`.`name` AS `c161`, `t5`.`id` AS `c162`, `t5`.`option_collection_hash` AS `c163`, `t6`.`id` AS `c164`, `t6`.`signature_hash` AS `c165`, `t6`.`suite` AS `c166`, `t6`.`test` AS `c167`, `t6`.`lower_is_better` AS `c168`, `t6`.`last_updated` AS `c169`, `t6`.`has_subtests` AS `c170`, `t6`.`extra_options` AS `c171`, `t6`.`should_alert` AS `c172`, `t6`.`alert_change_type` AS `c173`, `t6`.`alert_threshold` AS `c174`, `t6`.`min_back_window` AS `c175`, `t6`.`max_back_window` AS `c176`, `t6`.`fore_window` AS `c177`, `t6`.`parent_signature_id` AS `c178`, `t6`.`measurement_unit` AS `c179`, `t6`.`application` AS `c180`, `t6`.`suite_public_name` AS `c181`, `t6`.`test_public_name` AS `c182`, `t6`.`tags` AS `c183`, `t7`.`id` AS `c184`, `t7`.`platform` AS `c185`, `t8`.`id` AS `c186`, `t8`.`name` AS `c187`, NULL AS `c188`, NULL AS `c189`, NULL AS `c190`, NULL AS `c191`, NULL AS `c192`, NULL AS `c193`, NULL AS `c194`, NULL AS `c195`, NULL AS `c196`, NULL AS `c197`, NULL AS `c198`, NULL AS `c199`, NULL AS `c200`, NULL AS `c201`, NULL AS `c202`, NULL AS `c203`, NULL AS `c204`, NULL AS `c205`, NULL AS `c206`, NULL AS `c207`, NULL AS `c208`, NULL AS `c209`, NULL AS `c210`, NULL AS `c211`, NULL AS `c212`, NULL AS `c213`, NULL AS `c214`, NULL AS `c215`, NULL AS `c216`, NULL AS `c217`, NULL AS `c218`, NULL AS `c219`, NULL AS `c220`, NULL AS `c221`, NULL AS `c222`, NULL AS `c223`, NULL AS `c224`, NULL AS `c225`, NULL AS `c226`, NULL AS `c227`, NULL AS `c228`, NULL AS `c229`, NULL AS `c230`, `t9`.`id` AS `c231`, `t9`.`name` AS `c232`, `t10`.`id` AS `c233`, `t10`.`platform` AS `c234`, `t11`.`id` AS `c235`, `t11`.`name` AS `c236`, NULL AS `c237`, NULL AS `c238`, NULL AS `c239`, NULL AS `c240`, NULL AS `c241`, NULL AS `c242`, NULL AS `c243`, NULL AS `c244`, NULL AS `c245`, NULL AS `c246`, NULL AS `c247`, NULL AS `c248`, NULL AS `c249`, NULL AS `c250`, NULL AS `c251`, NULL AS `c252`, NULL AS `c253`, NULL AS `c254`, NULL AS `c255`, NULL AS `c256`, NULL AS `c257`, NULL AS `c258`, NULL AS `c259`, NULL AS `c260`, NULL AS `c261`, NULL AS `c262`, NULL AS `c263`, NULL AS `c264`, NULL AS `c265`, NULL AS `c266`, NULL AS `c267`, NULL AS `c268`, NULL AS `c269`, NULL AS `c270`
|
|
FROM
|
|
(SELECT 0) AS `t0`
|
|
LEFT JOIN
|
|
`test_treeherder`.`performance_alert_summary` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
JOIN
|
|
`test_treeherder`.`performance_alert` AS `t2` ON `t2`.`summary_id` = `t1`.`id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`performance_signature` AS `t3` ON `t3`.`id` = `t2`.`series_signature_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`performance_framework` AS `t4` ON `t4`.`id` = `t3`.`framework_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`option_collection` AS `t5` ON `t5`.`id` = `t3`.`option_collection_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`performance_signature` AS `t6` ON `t6`.`id` = `t3`.`parent_signature_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`machine_platform` AS `t7` ON `t7`.`id` = `t3`.`platform_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`repository` AS `t8` ON `t8`.`id` = `t3`.`repository_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`option` AS `t9` ON `t9`.`id` = `t5`.`option_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`machine_platform` AS `t10` ON `t10`.`id` = `t6`.`platform_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`repository` AS `t11` ON `t11`.`id` = `t6`.`repository_id`
|
|
UNION ALL
|
|
|
|
SELECT
|
|
`t1`.`id` AS `c0`, NULL AS `c1`, NULL AS `c2`, NULL AS `c3`, NULL AS `c4`, NULL AS `c5`, NULL AS `c6`, NULL AS `c7`, NULL AS `c8`, NULL AS `c9`, NULL AS `c10`, NULL AS `c11`, NULL AS `c12`, NULL AS `c13`, NULL AS `c14`, NULL AS `c15`, NULL AS `c16`, NULL AS `c17`, NULL AS `c18`, NULL AS `c19`, NULL AS `c20`, NULL AS `c21`, NULL AS `c22`, NULL AS `c23`, `t2`.`summary_id` AS `c24`, NULL AS `c25`, NULL AS `c26`, NULL AS `c27`, NULL AS `c28`, NULL AS `c29`, NULL AS `c30`, NULL AS `c31`, NULL AS `c32`, NULL AS `c33`, NULL AS `c34`, NULL AS `c35`, NULL AS `c36`, NULL AS `c37`, NULL AS `c38`, NULL AS `c39`, NULL AS `c40`, NULL AS `c41`, NULL AS `c42`, NULL AS `c43`, NULL AS `c44`, NULL AS `c45`, NULL AS `c46`, NULL AS `c47`, NULL AS `c48`, NULL AS `c49`, NULL AS `c50`, NULL AS `c51`, NULL AS `c52`, NULL AS `c53`, NULL AS `c54`, NULL AS `c55`, NULL AS `c56`, NULL AS `c57`, NULL AS `c58`, NULL AS `c59`, NULL AS `c60`, NULL AS `c61`, NULL AS `c62`, NULL AS `c63`, NULL AS `c64`, NULL AS `c65`, `t3`.`alert_id` AS `c66`, `t3`.`context` AS `c67`, `t3`.`created` AS `c68`, `t3`.`report_id` AS `c69`, `t3`.`log_details` AS `c70`, `t3`.`status` AS `c71`, NULL AS `c72`, NULL AS `c73`, NULL AS `c74`, NULL AS `c75`, NULL AS `c76`, NULL AS `c77`, NULL AS `c78`, NULL AS `c79`, NULL AS `c80`, NULL AS `c81`, NULL AS `c82`, NULL AS `c83`, NULL AS `c84`, NULL AS `c85`, NULL AS `c86`, NULL AS `c87`, NULL AS `c88`, NULL AS `c89`, NULL AS `c90`, NULL AS `c91`, NULL AS `c92`, NULL AS `c93`, NULL AS `c94`, NULL AS `c95`, NULL AS `c96`, NULL AS `c97`, NULL AS `c98`, NULL AS `c99`, NULL AS `c100`, NULL AS `c101`, NULL AS `c102`, NULL AS `c103`, NULL AS `c104`, NULL AS `c105`, NULL AS `c106`, NULL AS `c107`, NULL AS `c108`, NULL AS `c109`, NULL AS `c110`, NULL AS `c111`, NULL AS `c112`, NULL AS `c113`, NULL AS `c114`, NULL AS `c115`, NULL AS `c116`, NULL AS `c117`, NULL AS `c118`, `t4`.`id` AS `c119`, `t4`.`is_regression` AS `c120`, `t4`.`status` AS `c121`, `t4`.`amount_pct` AS `c122`, `t4`.`amount_abs` AS `c123`, `t4`.`prev_value` AS `c124`, `t4`.`new_value` AS `c125`, `t4`.`t_value` AS `c126`, `t4`.`manually_created` AS `c127`, `t4`.`starred` AS `c128`, `t4`.`created` AS `c129`, `t4`.`first_triaged` AS `c130`, `t4`.`last_updated` AS `c131`, NULL AS `c132`, NULL AS `c133`, NULL AS `c134`, NULL AS `c135`, NULL AS `c136`, NULL AS `c137`, NULL AS `c138`, NULL AS `c139`, NULL AS `c140`, NULL AS `c141`, NULL AS `c142`, NULL AS `c143`, NULL AS `c144`, NULL AS `c145`, NULL AS `c146`, NULL AS `c147`, NULL AS `c148`, NULL AS `c149`, NULL AS `c150`, NULL AS `c151`, NULL AS `c152`, NULL AS `c153`, NULL AS `c154`, NULL AS `c155`, NULL AS `c156`, NULL AS `c157`, NULL AS `c158`, NULL AS `c159`, NULL AS `c160`, NULL AS `c161`, NULL AS `c162`, NULL AS `c163`, NULL AS `c164`, NULL AS `c165`, NULL AS `c166`, NULL AS `c167`, NULL AS `c168`, NULL AS `c169`, NULL AS `c170`, NULL AS `c171`, NULL AS `c172`, NULL AS `c173`, NULL AS `c174`, NULL AS `c175`, NULL AS `c176`, NULL AS `c177`, NULL AS `c178`, NULL AS `c179`, NULL AS `c180`, NULL AS `c181`, NULL AS `c182`, NULL AS `c183`, NULL AS `c184`, NULL AS `c185`, NULL AS `c186`, NULL AS `c187`, `t5`.`id` AS `c188`, `t5`.`manually_created` AS `c189`, `t5`.`created` AS `c190`, `t5`.`status` AS `c191`, `t5`.`bug_number` AS `c192`, `t5`.`notes` AS `c193`, `t5`.`first_triaged` AS `c194`, `t5`.`last_updated` AS `c195`, `t5`.`bug_updated` AS `c196`, `t6`.`id` AS `c197`, `t6`.`signature_hash` AS `c198`, `t6`.`suite` AS `c199`, `t6`.`test` AS `c200`, `t6`.`lower_is_better` AS `c201`, `t6`.`last_updated` AS `c202`, `t6`.`has_subtests` AS `c203`, `t6`.`extra_options` AS `c204`, `t6`.`should_alert` AS `c205`, `t6`.`alert_change_type` AS `c206`, `t6`.`alert_threshold` AS `c207`, `t6`.`min_back_window` AS `c208`, `t6`.`max_back_window` AS `c209`, `t6`.`fore_window` AS `c210`, `t6`.`measurement_unit` AS `c211`, `t6`.`application` AS `c212`, `t6`.`suite_public_name` AS `c213`, `t6`.`test_public_name` AS `c214`, `t6`.`tags` AS `c215`, `t7`.`id` AS `c216`, `t7`.`manually_created` AS `c217`, `t7`.`created` AS `c218`, `t7`.`status` AS `c219`, `t7`.`bug_number` AS `c220`, `t7`.`notes` AS `c221`, `t7`.`first_triaged` AS `c222`, `t7`.`last_updated` AS `c223`, `t7`.`bug_updated` AS `c224`, NULL AS `c225`, NULL AS `c226`, NULL AS `c227`, NULL AS `c228`, NULL AS `c229`, NULL AS `c230`, NULL AS `c231`, NULL AS `c232`, NULL AS `c233`, NULL AS `c234`, NULL AS `c235`, NULL AS `c236`, `t8`.`id` AS `c237`, `t8`.`name` AS `c238`, `t9`.`id` AS `c239`, `t9`.`option_collection_hash` AS `c240`, `t10`.`id` AS `c241`, `t10`.`signature_hash` AS `c242`, `t10`.`suite` AS `c243`, `t10`.`test` AS `c244`, `t10`.`lower_is_better` AS `c245`, `t10`.`last_updated` AS `c246`, `t10`.`has_subtests` AS `c247`, `t10`.`extra_options` AS `c248`, `t10`.`should_alert` AS `c249`, `t10`.`alert_change_type` AS `c250`, `t10`.`alert_threshold` AS `c251`, `t10`.`min_back_window` AS `c252`, `t10`.`max_back_window` AS `c253`, `t10`.`fore_window` AS `c254`, `t10`.`parent_signature_id` AS `c255`, `t10`.`measurement_unit` AS `c256`, `t10`.`application` AS `c257`, `t10`.`suite_public_name` AS `c258`, `t10`.`test_public_name` AS `c259`, `t10`.`tags` AS `c260`, `t11`.`id` AS `c261`, `t11`.`platform` AS `c262`, `t12`.`id` AS `c263`, `t12`.`name` AS `c264`, `t13`.`id` AS `c265`, `t13`.`name` AS `c266`, `t14`.`id` AS `c267`, `t14`.`platform` AS `c268`, `t15`.`id` AS `c269`, `t15`.`name` AS `c270`
|
|
FROM
|
|
(SELECT 0) AS `t0`
|
|
LEFT JOIN
|
|
`test_treeherder`.`performance_alert_summary` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
JOIN
|
|
`test_treeherder`.`backfill_report` AS `t2` ON `t2`.`summary_id` = `t1`.`id`
|
|
JOIN
|
|
`test_treeherder`.`backfill_record` AS `t3` ON `t3`.`report_id` = `t2`.`summary_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`performance_alert` AS `t4` ON `t4`.`id` = `t3`.`alert_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`performance_alert_summary` AS `t5` ON `t5`.`id` = `t4`.`related_summary_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`performance_signature` AS `t6` ON `t6`.`id` = `t4`.`series_signature_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`performance_alert_summary` AS `t7` ON `t7`.`id` = `t4`.`summary_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`performance_framework` AS `t8` ON `t8`.`id` = `t6`.`framework_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`option_collection` AS `t9` ON `t9`.`id` = `t6`.`option_collection_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`performance_signature` AS `t10` ON `t10`.`id` = `t6`.`parent_signature_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`machine_platform` AS `t11` ON `t11`.`id` = `t6`.`platform_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`repository` AS `t12` ON `t12`.`id` = `t6`.`repository_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`option` AS `t13` ON `t13`.`id` = `t9`.`option_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`machine_platform` AS `t14` ON `t14`.`id` = `t10`.`platform_id`
|
|
LEFT JOIN
|
|
`test_treeherder`.`repository` AS `t15` ON `t15`.`id` = `t10`.`repository_id`) AS `a`
|
|
ORDER BY
|
|
`c0` IS NOT NULL , `c0`, `c24` IS NOT NULL , `c24`, `c28` IS NOT NULL , `c28`, `c45` IS NOT NULL , `c45`, `c66` IS NOT NULL , `c66` |