|
|
|
@ -1,196 +1,169 @@
|
|
|
|
|
SELECT
|
|
|
|
|
*
|
|
|
|
|
FROM
|
|
|
|
|
(
|
|
|
|
|
SELECT
|
|
|
|
|
`t1`.`id` AS `c0`, `t1`.`guid` AS `c1`, `t1`.`project_specific_id` AS `c2`, `t1`.`coalesced_to_guid` AS `c3`, `t1`.`who` AS `c4`, `t1`.`reason` AS `c5`, `t1`.`result` AS `c6`, `t1`.`state` AS `c7`, `t1`.`submit_time` AS `c8`, `t1`.`start_time` AS `c9`, `t1`.`end_time` AS `c10`, `t1`.`last_modified` AS `c11`, `t1`.`running_eta` AS `c12`, `t1`.`tier` AS `c13`, `t1`.`autoclassify_status` AS `c14`, `t2`.`id` AS `c15`, `t2`.`os_name` AS `c16`, `t2`.`platform` AS `c17`, `t2`.`architecture` AS `c18`, `t3`.`id` AS `c19`, `t3`.`name` AS `c20`, `t4`.`id` AS `c21`, `t4`.`symbol` AS `c22`, `t4`.`name` AS `c23`, `t4`.`description` AS `c24`, `t5`.`id` AS `c25`, `t5`.`symbol` AS `c26`, `t5`.`name` AS `c27`, `t5`.`description` AS `c28`, `t6`.`id` AS `c29`, `t6`.`name` AS `c30`, `t7`.`id` AS `c31`, `t7`.`os_name` AS `c32`, `t7`.`platform` AS `c33`, `t7`.`architecture` AS `c34`, `t8`.`id` AS `c35`, `t8`.`option_collection_hash` AS `c36`, `t9`.`id` AS `c37`, `t9`.`name` AS `c38`, `t10`.`id` AS `c39`, `t10`.`revision` AS `c40`, `t10`.`author` AS `c41`, `t10`.`time` AS `c42`, `t11`.`id` AS `c43`, `t11`.`name` AS `c44`, `t12`.`id` AS `c45`, `t12`.`name` AS `c46`, `t12`.`signature` AS `c47`, `t12`.`build_os_name` AS `c48`, `t12`.`build_platform` AS `c49`, `t12`.`build_architecture` AS `c50`, `t12`.`machine_os_name` AS `c51`, `t12`.`machine_platform` AS `c52`, `t12`.`machine_architecture` AS `c53`, `t12`.`job_group_name` AS `c54`, `t12`.`job_group_symbol` AS `c55`, `t12`.`job_type_name` AS `c56`, `t12`.`job_type_symbol` AS `c57`, `t12`.`option_collection_hash` AS `c58`, `t12`.`build_system_type` AS `c59`, `t12`.`repository` AS `c60`, `t12`.`first_submission_timestamp` 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`, `t13`.`id` AS `c94`, `t13`.`name` AS `c95`, `t14`.`id` AS `c96`, `t14`.`name` 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`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`build_platform` AS `t2` ON `t2`.`id` = `t1`.`build_platform_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`failure_classification` AS `t3` ON `t3`.`id` = `t1`.`failure_classification_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job_group` AS `t4` ON `t4`.`id` = `t1`.`job_group_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job_type` AS `t5` ON `t5`.`id` = `t1`.`job_type_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`machine` AS `t6` ON `t6`.`id` = `t1`.`machine_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`machine_platform` AS `t7` ON `t7`.`id` = `t1`.`machine_platform_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`option_collection` AS `t8` ON `t8`.`option_collection_hash` = `t1`.`option_collection_hash`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`product` AS `t9` ON `t9`.`id` = `t1`.`product_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`push` AS `t10` ON `t10`.`id` = `t1`.`push_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`repository` AS `t11` ON `t11`.`id` = `t1`.`repository_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`reference_data_signatures` AS `t12` ON `t12`.`id` = `t1`.`signature_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`option` AS `t13` ON `t13`.`id` = `t8`.`option_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`repository` AS `t14` ON `t14`.`id` = `t10`.`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`, 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`, `t2`.`id` AS `c62`, `t2`.`bug_id` AS `c63`, `t2`.`created` AS `c64`, `t2`.`job_id` AS `c65`, `t2`.`user_id` 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`
|
|
|
|
|
*
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`bug_job_map` AS `t2` ON `t2`.`job_id` = `t1`.`id`
|
|
|
|
|
UNION ALL
|
|
|
|
|
(
|
|
|
|
|
SELECT
|
|
|
|
|
`t1`.`id` AS `c0`, `t1`.`guid` AS `c1`, `t1`.`project_specific_id` AS `c2`, `t1`.`coalesced_to_guid` AS `c3`, `t1`.`who` AS `c4`, `t1`.`reason` AS `c5`, `t1`.`result` AS `c6`, `t1`.`state` AS `c7`, `t1`.`submit_time` AS `c8`, `t1`.`start_time` AS `c9`, `t1`.`end_time` AS `c10`, `t1`.`last_modified` AS `c11`, `t1`.`running_eta` AS `c12`, `t1`.`tier` AS `c13`, `t1`.`autoclassify_status` AS `c14`, `t2`.`id` AS `c15`, `t2`.`os_name` AS `c16`, `t2`.`platform` AS `c17`, `t2`.`architecture` AS `c18`, `t3`.`id` AS `c19`, `t3`.`name` AS `c20`, `t4`.`id` AS `c21`, `t4`.`symbol` AS `c22`, `t4`.`name` AS `c23`, `t4`.`description` AS `c24`, `t5`.`id` AS `c25`, `t5`.`symbol` AS `c26`, `t5`.`name` AS `c27`, `t5`.`description` AS `c28`, `t6`.`id` AS `c29`, `t6`.`name` AS `c30`, `t7`.`id` AS `c31`, `t7`.`os_name` AS `c32`, `t7`.`platform` AS `c33`, `t7`.`architecture` AS `c34`, `t8`.`id` AS `c35`, `t8`.`option_collection_hash` AS `c36`, `t9`.`id` AS `c37`, `t9`.`name` AS `c38`, `t10`.`id` AS `c39`, `t10`.`revision` AS `c40`, `t10`.`author` AS `c41`, `t10`.`time` AS `c42`, `t11`.`id` AS `c43`, `t11`.`name` AS `c44`, `t12`.`id` AS `c45`, `t12`.`name` AS `c46`, `t12`.`signature` AS `c47`, `t12`.`build_os_name` AS `c48`, `t12`.`build_platform` AS `c49`, `t12`.`build_architecture` AS `c50`, `t12`.`machine_os_name` AS `c51`, `t12`.`machine_platform` AS `c52`, `t12`.`machine_architecture` AS `c53`, `t12`.`job_group_name` AS `c54`, `t12`.`job_group_symbol` AS `c55`, `t12`.`job_type_name` AS `c56`, `t12`.`job_type_symbol` AS `c57`, `t12`.`option_collection_hash` AS `c58`, `t12`.`build_system_type` AS `c59`, `t12`.`repository` AS `c60`, `t12`.`first_submission_timestamp` 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`, `t13`.`id` AS `c94`, `t13`.`name` AS `c95`, `t14`.`id` AS `c96`, `t14`.`name` 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`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`build_platform` AS `t2` ON `t2`.`id` = `t1`.`build_platform_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`failure_classification` AS `t3` ON `t3`.`id` = `t1`.`failure_classification_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job_group` AS `t4` ON `t4`.`id` = `t1`.`job_group_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job_type` AS `t5` ON `t5`.`id` = `t1`.`job_type_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`machine` AS `t6` ON `t6`.`id` = `t1`.`machine_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`machine_platform` AS `t7` ON `t7`.`id` = `t1`.`machine_platform_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`option_collection` AS `t8` ON `t8`.`option_collection_hash` = `t1`.`option_collection_hash`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`product` AS `t9` ON `t9`.`id` = `t1`.`product_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`push` AS `t10` ON `t10`.`id` = `t1`.`push_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`repository` AS `t11` ON `t11`.`id` = `t1`.`repository_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`reference_data_signatures` AS `t12` ON `t12`.`id` = `t1`.`signature_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`option` AS `t13` ON `t13`.`id` = `t8`.`option_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`repository` AS `t14` ON `t14`.`id` = `t10`.`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`, 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`, `t2`.`id` AS `c67`, `t2`.`name` AS `c68`, `t2`.`url` AS `c69`, `t2`.`status` AS `c70`, `t2`.`job_id` 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`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`job_log` AS `t2` ON `t2`.`job_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`, 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`, `t2`.`id` AS `c62`, `t2`.`bug_id` AS `c63`, `t2`.`created` AS `c64`, `t2`.`job_id` AS `c65`, `t2`.`user_id` 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`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`bug_job_map` AS `t2` ON `t2`.`job_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`, 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`, `t2`.`id` AS `c72`, `t2`.`text` AS `c73`, `t2`.`created` AS `c74`, `t2`.`failure_classification_id` AS `c75`, `t2`.`job_id` AS `c76`, `t2`.`user_id` 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`, `t3`.`id` AS `c123`, `t3`.`name` 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`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`job_note` AS `t2` ON `t2`.`job_id` = `t1`.`id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`failure_classification` AS `t3` ON `t3`.`id` = `t2`.`failure_classification_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`, 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`, `t2`.`id` AS `c67`, `t2`.`name` AS `c68`, `t2`.`url` AS `c69`, `t2`.`status` AS `c70`, `t2`.`job_id` 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`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`job_log` AS `t2` ON `t2`.`job_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`, 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`, `t2`.`job_id` AS `c78`, `t2`.`task_id` AS `c79`, `t2`.`retry_id` 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`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`taskcluster_metadata` AS `t2` ON `t2`.`job_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`, 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`, `t2`.`id` AS `c72`, `t2`.`text` AS `c73`, `t2`.`created` AS `c74`, `t2`.`failure_classification_id` AS `c75`, `t2`.`job_id` AS `c76`, `t2`.`user_id` 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`, `t3`.`id` AS `c123`, `t3`.`name` 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`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`job_note` AS `t2` ON `t2`.`job_id` = `t1`.`id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`failure_classification` AS `t3` ON `t3`.`id` = `t2`.`failure_classification_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`, 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`, `t2`.`id` AS `c81`, `t2`.`line` AS `c82`, `t2`.`line_number` AS `c83`, `t2`.`step_id` AS `c84`, `t2`.`job_id` 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`, `t3`.`id` AS `c125`, `t3`.`name` AS `c126`, `t3`.`started` AS `c127`, `t3`.`finished` AS `c128`, `t3`.`started_line_number` AS `c129`, `t3`.`finished_line_number` AS `c130`, `t3`.`result` 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`, `t4`.`id` AS `c148`, `t4`.`guid` AS `c149`, `t4`.`project_specific_id` AS `c150`, `t4`.`coalesced_to_guid` AS `c151`, `t4`.`who` AS `c152`, `t4`.`reason` AS `c153`, `t4`.`result` AS `c154`, `t4`.`state` AS `c155`, `t4`.`submit_time` AS `c156`, `t4`.`start_time` AS `c157`, `t4`.`end_time` AS `c158`, `t4`.`last_modified` AS `c159`, `t4`.`running_eta` AS `c160`, `t4`.`tier` AS `c161`, `t4`.`autoclassify_status` 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`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`text_log_error` AS `t2` ON `t2`.`job_id` = `t1`.`id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`text_log_step` AS `t3` ON `t3`.`id` = `t2`.`step_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t4` ON `t4`.`id` = `t3`.`job_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`, 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`, `t2`.`job_id` AS `c78`, `t2`.`task_id` AS `c79`, `t2`.`retry_id` 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`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`taskcluster_metadata` AS `t2` ON `t2`.`job_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`, 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`, `t2`.`id` AS `c86`, `t2`.`name` AS `c87`, `t2`.`started` AS `c88`, `t2`.`finished` AS `c89`, `t2`.`started_line_number` AS `c90`, `t2`.`finished_line_number` AS `c91`, `t2`.`result` AS `c92`, `t2`.`job_id` 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`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`text_log_step` AS `t2` ON `t2`.`job_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`, 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`, `t2`.`id` AS `c81`, `t2`.`line` AS `c82`, `t2`.`line_number` AS `c83`, `t2`.`step_id` AS `c84`, `t2`.`job_id` 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`, `t3`.`id` AS `c125`, `t3`.`name` AS `c126`, `t3`.`started` AS `c127`, `t3`.`finished` AS `c128`, `t3`.`started_line_number` AS `c129`, `t3`.`finished_line_number` AS `c130`, `t3`.`result` 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`, `t4`.`id` AS `c143`, `t4`.`guid` AS `c144`, `t4`.`project_specific_id` AS `c145`, `t4`.`coalesced_to_guid` AS `c146`, `t4`.`who` AS `c147`, `t4`.`reason` AS `c148`, `t4`.`result` AS `c149`, `t4`.`state` AS `c150`, `t4`.`submit_time` AS `c151`, `t4`.`start_time` AS `c152`, `t4`.`end_time` AS `c153`, `t4`.`last_modified` AS `c154`, `t4`.`running_eta` AS `c155`, `t4`.`tier` AS `c156`, `t4`.`autoclassify_status` AS `c157`, NULL AS `c158`, NULL AS `c159`, NULL AS `c160`, NULL AS `c161`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`text_log_error` AS `t2` ON `t2`.`job_id` = `t1`.`id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`text_log_step` AS `t3` ON `t3`.`id` = `t2`.`step_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t4` ON `t4`.`id` = `t3`.`job_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`, `t10`.`id` 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`, `t14`.`id` AS `c98`, `t14`.`revision` AS `c99`, `t14`.`author` AS `c100`, `t14`.`comments` AS `c101`, `t14`.`push_id` 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`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`build_platform` AS `t2` ON `t2`.`id` = `t1`.`build_platform_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`failure_classification` AS `t3` ON `t3`.`id` = `t1`.`failure_classification_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job_group` AS `t4` ON `t4`.`id` = `t1`.`job_group_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job_type` AS `t5` ON `t5`.`id` = `t1`.`job_type_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`machine` AS `t6` ON `t6`.`id` = `t1`.`machine_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`machine_platform` AS `t7` ON `t7`.`id` = `t1`.`machine_platform_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`option_collection` AS `t8` ON `t8`.`option_collection_hash` = `t1`.`option_collection_hash`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`product` AS `t9` ON `t9`.`id` = `t1`.`product_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`push` AS `t10` ON `t10`.`id` = `t1`.`push_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`repository` AS `t11` ON `t11`.`id` = `t1`.`repository_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`reference_data_signatures` AS `t12` ON `t12`.`id` = `t1`.`signature_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`option` AS `t13` ON `t13`.`id` = `t8`.`option_id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`commit` AS `t14` ON `t14`.`push_id` = `t10`.`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`, 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`, `t2`.`id` AS `c86`, `t2`.`name` AS `c87`, `t2`.`started` AS `c88`, `t2`.`finished` AS `c89`, `t2`.`started_line_number` AS `c90`, `t2`.`finished_line_number` AS `c91`, `t2`.`result` AS `c92`, `t2`.`job_id` 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`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`text_log_step` AS `t2` ON `t2`.`job_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`, 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`, `t2`.`id` 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`, `t3`.`id` AS `c103`, `t3`.`job_guid` AS `c104`, `t3`.`action` AS `c105`, `t3`.`line` AS `c106`, `t3`.`test` AS `c107`, `t3`.`subtest` AS `c108`, `t3`.`status` AS `c109`, `t3`.`expected` AS `c110`, `t3`.`message` AS `c111`, `t3`.`signature` AS `c112`, `t3`.`level` AS `c113`, `t3`.`stack` AS `c114`, NULL AS `c115`, NULL AS `c116`, `t3`.`best_is_verified` AS `c117`, `t3`.`created` AS `c118`, `t3`.`modified` AS `c119`, `t3`.`best_classification_id` AS `c120`, `t3`.`job_log_id` AS `c121`, `t3`.`repository_id` 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`, `t4`.`id` AS `c142`, `t4`.`bug_number` AS `c143`, `t4`.`created` AS `c144`, `t4`.`modified` AS `c145`, `t5`.`id` AS `c146`, `t5`.`name` 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`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`job_log` AS `t2` ON `t2`.`job_id` = `t1`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`failure_line` AS `t3` ON `t3`.`job_log_id` = `t2`.`id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`classified_failure` AS `t4` ON `t4`.`id` = `t3`.`best_classification_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`repository` AS `t5` ON `t5`.`id` = `t3`.`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`, `t10`.`id` 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`, `t14`.`id` AS `c98`, `t14`.`revision` AS `c99`, `t14`.`author` AS `c100`, `t14`.`comments` AS `c101`, `t14`.`push_id` 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`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`build_platform` AS `t2` ON `t2`.`id` = `t1`.`build_platform_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`failure_classification` AS `t3` ON `t3`.`id` = `t1`.`failure_classification_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job_group` AS `t4` ON `t4`.`id` = `t1`.`job_group_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job_type` AS `t5` ON `t5`.`id` = `t1`.`job_type_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`machine` AS `t6` ON `t6`.`id` = `t1`.`machine_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`machine_platform` AS `t7` ON `t7`.`id` = `t1`.`machine_platform_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`option_collection` AS `t8` ON `t8`.`option_collection_hash` = `t1`.`option_collection_hash`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`product` AS `t9` ON `t9`.`id` = `t1`.`product_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`push` AS `t10` ON `t10`.`id` = `t1`.`push_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`repository` AS `t11` ON `t11`.`id` = `t1`.`repository_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`reference_data_signatures` AS `t12` ON `t12`.`id` = `t1`.`signature_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`option` AS `t13` ON `t13`.`id` = `t8`.`option_id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`commit` AS `t14` ON `t14`.`push_id` = `t10`.`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`, 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`, `t2`.`id` 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`, `t3`.`id` AS `c132`, `t3`.`score` AS `c133`, `t3`.`classified_failure_id` AS `c134`, `t3`.`text_log_error_id` AS `c135`, `t3`.`matcher_name` 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`, `t4`.`id` AS `c163`, `t4`.`bug_number` AS `c164`, `t4`.`created` AS `c165`, `t4`.`modified` 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`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`text_log_error` AS `t2` ON `t2`.`job_id` = `t1`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`text_log_error_match` AS `t3` ON `t3`.`text_log_error_id` = `t2`.`id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`classified_failure` AS `t4` ON `t4`.`id` = `t3`.`classified_failure_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`, 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`, `t2`.`id` 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`, `t3`.`id` AS `c103`, `t3`.`job_guid` AS `c104`, `t3`.`action` AS `c105`, `t3`.`line` AS `c106`, `t3`.`test` AS `c107`, `t3`.`subtest` AS `c108`, `t3`.`status` AS `c109`, `t3`.`expected` AS `c110`, `t3`.`message` AS `c111`, `t3`.`signature` AS `c112`, `t3`.`level` AS `c113`, `t3`.`stack` AS `c114`, NULL AS `c115`, NULL AS `c116`, `t3`.`best_is_verified` AS `c117`, `t3`.`created` AS `c118`, `t3`.`modified` AS `c119`, `t3`.`best_classification_id` AS `c120`, `t3`.`job_log_id` AS `c121`, `t3`.`repository_id` 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`, `t4`.`id` AS `c137`, `t4`.`bug_number` AS `c138`, `t4`.`created` AS `c139`, `t4`.`modified` AS `c140`, `t5`.`id` AS `c141`, `t5`.`name` 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`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`job_log` AS `t2` ON `t2`.`job_id` = `t1`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`failure_line` AS `t3` ON `t3`.`job_log_id` = `t2`.`id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`classified_failure` AS `t4` ON `t4`.`id` = `t3`.`best_classification_id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`repository` AS `t5` ON `t5`.`id` = `t3`.`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`, 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`, `t2`.`id` 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`, `t3`.`id` AS `c137`, `t3`.`line` AS `c138`, `t3`.`line_number` AS `c139`, `t3`.`step_id` AS `c140`, `t3`.`job_id` 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`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`text_log_step` AS `t2` ON `t2`.`job_id` = `t1`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`text_log_error` AS `t3` ON `t3`.`step_id` = `t2`.`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`, 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`, `t2`.`id` 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`, `t3`.`id` 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`, `t4`.`id` AS `c167`, `t4`.`score` AS `c168`, `t4`.`classified_failure_id` AS `c169`, `t4`.`text_log_error_id` AS `c170`, `t4`.`matcher_name` AS `c171`, `t5`.`id` AS `c172`, `t5`.`bug_number` AS `c173`, `t5`.`created` AS `c174`, `t5`.`modified` AS `c175`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`text_log_step` AS `t2` ON `t2`.`job_id` = `t1`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`text_log_error` AS `t3` ON `t3`.`step_id` = `t2`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`text_log_error_match` AS `t4` ON `t4`.`text_log_error_id` = `t3`.`id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`classified_failure` AS `t5` ON `t5`.`id` = `t4`.`classified_failure_id`) AS `a`
|
|
|
|
|
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`, 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`, `t2`.`id` 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`, `t3`.`id` AS `c132`, `t3`.`score` AS `c133`, `t3`.`classified_failure_id` AS `c134`, `t3`.`text_log_error_id` AS `c135`, `t3`.`matcher_name` 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`, `t4`.`id` AS `c158`, `t4`.`bug_number` AS `c159`, `t4`.`created` AS `c160`, `t4`.`modified` AS `c161`
|
|
|
|
|
FROM
|
|
|
|
|
(SELECT 0) AS `t0`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`job` AS `t1` ON `t1`.`id` = `t0`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`text_log_error` AS `t2` ON `t2`.`job_id` = `t1`.`id`
|
|
|
|
|
JOIN
|
|
|
|
|
`test_treeherder`.`text_log_error_match` AS `t3` ON `t3`.`text_log_error_id` = `t2`.`id`
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
`test_treeherder`.`classified_failure` AS `t4` ON `t4`.`id` = `t3`.`classified_failure_id`) AS `a`
|
|
|
|
|
ORDER BY
|
|
|
|
|
`c0` IS NOT NULL , `c0`, `c62` IS NOT NULL , `c62`, `c67` IS NOT NULL , `c67`, `c72` IS NOT NULL , `c72`, `c78` IS NOT NULL , `c78`, `c81` IS NOT NULL , `c81`, `c86` IS NOT NULL , `c86`, `c98` IS NOT NULL , `c98`, `c103` IS NOT NULL , `c103`, `c132` IS NOT NULL , `c132`, `c137` IS NOT NULL , `c137`, `c167` IS NOT NULL , `c167`
|
|
|
|
|
`c0` IS NOT NULL , `c0`, `c62` IS NOT NULL , `c62`, `c67` IS NOT NULL , `c67`, `c72` IS NOT NULL , `c72`, `c78` IS NOT NULL , `c78`, `c81` IS NOT NULL , `c81`, `c86` IS NOT NULL , `c86`, `c98` IS NOT NULL , `c98`, `c103` IS NOT NULL , `c103`, `c132` IS NOT NULL , `c132`
|