Skip to content

Commit

Permalink
fix: fix run archived logic in postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
keita-determined committed Jun 5, 2024
1 parent fe955d4 commit f3c4c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/internal/api_runs.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func getRunsColumns(q *bun.SelectQuery) *bun.SelectQuery {
Column("r.external_run_id").
Column("r.project_id").
Column("r.searcher_metric_value").
ColumnExpr("r.archived").
ColumnExpr("r.archived OR e.archived AS archived").
ColumnExpr("extract(epoch FROM coalesce(r.end_time, now()) - r.start_time)::int AS duration").
ColumnExpr("CASE WHEN r.hparams='null' THEN NULL ELSE r.hparams END AS hyperparameters").
ColumnExpr("r.summary_metrics AS summary_metrics").
Expand Down

0 comments on commit f3c4c65

Please sign in to comment.