This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new d2fe3a7628 Fix wrong benchmark column names after the last refactor 
(#6459)
d2fe3a7628 is described below

commit d2fe3a76284c7a45dc48d5b0adf9ec37d2698b20
Author: nvartolomei <[email protected]>
AuthorDate: Fri May 26 15:45:54 2023 +0100

    Fix wrong benchmark column names after the last refactor (#6459)
---
 benchmarks/compare.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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)

Reply via email to