From 97f9099cace8d7cb497a9f3d7e4ad047523c6490 Mon Sep 17 00:00:00 2001 From: Reno Dakota Date: Sat, 7 Dec 2024 04:36:15 -0800 Subject: [PATCH] ci/eval: cleanup and comments --- ci/eval/default.nix | 2 +- ci/eval/stats.sql | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ci/eval/default.nix b/ci/eval/default.nix index f2a820c725dbe..e7ff876e6c39d 100644 --- a/ci/eval/default.nix +++ b/ci/eval/default.nix @@ -300,7 +300,7 @@ let echo --- >> $out/step-summary.md - # inputs: before/stats.json after/stats.json + # inputs: data/{before,after}/stats.json # ouputs: markdown table on stdout # postprocess: add right justify tag to all columns except the 1st duckdb -bail -markdown < ${./stats.sql} | \ diff --git a/ci/eval/stats.sql b/ci/eval/stats.sql index bab9734c65b97..5062de87c0cde 100644 --- a/ci/eval/stats.sql +++ b/ci/eval/stats.sql @@ -3,9 +3,9 @@ CREATE VIEW after AS FROM 'data/after/stats.json'; CREATE MACRO arrow(i) AS CASE -WHEN i > 0 THEN format('↗ {:t,}', i::int) -WHEN i < 0 THEN format('↘ {:t,}', -i::int) -ELSE '' + WHEN i > 0 THEN format('↗ {:t,}', i::int) + WHEN i < 0 THEN format('↘ {:t,}', -i::int) + ELSE '' END; CREATE TABLE stats AS