You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get_error: conn.prepare("select benchmark, error from error where aid = $1").await.unwrap(),
603
+
get_error: conn.prepare("select context, message from error where aid = $1").await.unwrap(),
581
604
insert_pstat_series: conn.prepare("insert into pstat_series (crate, profile, scenario, backend, target, metric) VALUES ($1, $2, $3, $4, $5, $6) ON CONFLICT DO NOTHING RETURNING id").await.unwrap(),
582
605
select_pstat_series: conn.prepare("select id from pstat_series where crate = $1 and profile = $2 and scenario = $3 and backend = $4 and target = $5 and metric = $6").await.unwrap(),
583
606
collection_id: conn.prepare("insert into collection (perf_commit) VALUES ($1) returning id").await.unwrap(),
@@ -684,21 +707,21 @@ impl PostgresConnection {
684
707
), errors AS (
685
708
SELECT
686
709
artifacts.name AS tag,
687
-
error.benchmark,
688
-
error.error
710
+
error.context,
711
+
error.message
689
712
FROM error
690
713
-- Use right join to only return errors for selected artifacts
691
714
RIGHT JOIN artifacts ON error.aid = artifacts.id
692
715
)
693
716
-- Select request duplicated for each pair of (benchmark, error)
694
717
SELECT
695
718
completed.*,
696
-
errors.benchmark,
697
-
errors.error
719
+
errors.context,
720
+
errors.message
698
721
FROM completed
699
722
LEFT JOIN errors ON errors.tag = completed.tag
700
723
-- Re-sort the requests, because the original order may be lost
0 commit comments