Skip to content

Commit

Permalink
Properly order the data in the daily page
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Poinsard <[email protected]>
  • Loading branch information
frouioui committed Oct 23, 2023
1 parent 8759fa6 commit 95d6dea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion go/tools/macrobench/results.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@ func GetResultsForLastDays(macroType string, source string, planner PlannerVersi
"results.total_qps, results.reads_qps, results.writes_qps, results.other_qps " +
"FROM execution AS e, macrobenchmark AS info, macrobenchmark_results AS results " +
"WHERE e.uuid = info.exec_uuid AND e.status = \"finished\" AND e.finished_at BETWEEN DATE(NOW()) - INTERVAL ? DAY AND DATE(NOW() + INTERVAL 1 DAY) " +
"AND e.source = ? AND info.vtgate_planner_version = ? AND info.macrobenchmark_id = results.macrobenchmark_id AND info.type = ?"
"AND e.source = ? AND info.vtgate_planner_version = ? AND info.macrobenchmark_id = results.macrobenchmark_id AND info.type = ? " +
"ORDER BY e.finished_at "

result, err := client.Select(query, lastDays, source, planner, upperMacroType)
if err != nil {
Expand Down

0 comments on commit 95d6dea

Please sign in to comment.