Skip to content

Apache DataFusion SQL Query Engine

Fix wrong benchmark column names after the last refactor (#6459)

nvartolomeid2fe3a76284c
diff --git a/benchmarks/compare.py b/benchmarks/compare.py
index c2fd658693..80aa3c76b7 100755
--- a/benchmarks/compare.py
+++ b/benchmarks/compare.py
@@ -115,8 +115,8 @@ def compare(
console = Console()
# use basename as the column names
- baseline_header = baseline_path.stem
- comparison_header = comparison_path.stem
+ baseline_header = baseline_path.parent.stem
+ comparison_header = comparison_path.parent.stem
table = Table(show_header=True, header_style="bold magenta")
table.add_column("Query", style="dim", width=12)