Skip to content

Commit

Permalink
Merge branch 'eval-duckdb' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
paparodeo committed Dec 7, 2024
2 parents 5c7485d + 97f9099 commit b022cb1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ci/eval/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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} | \
Expand Down
6 changes: 3 additions & 3 deletions ci/eval/stats.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b022cb1

Please sign in to comment.