You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by st...@apache.org on 2022/02/13 14:12:58 UTC

[impala] branch master updated: IMPALA-11118: Fix wrong compression codec used in report_benchmark_results.py

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

stigahuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git


The following commit(s) were added to refs/heads/master by this push:
     new 0a65095  IMPALA-11118: Fix wrong compression codec used in report_benchmark_results.py
0a65095 is described below

commit 0a6509543d6fc55310f01307db65ffd551938e1e
Author: stiga-huang <hu...@gmail.com>
AuthorDate: Sat Feb 12 15:22:29 2022 +0800

    IMPALA-11118: Fix wrong compression codec used in report_benchmark_results.py
    
    This patch fixes the wrong compression codec shown in the per-query
    table reported by report_benchmark_results.py. It's incorrectly using
    the compression type as the compresion codec.
    
    Change-Id: I0a3f65a7878c5596d6fb73124392e89449fe26b1
    Reviewed-on: http://gerrit.cloudera.org:8080/18227
    Reviewed-by: Csaba Ringhofer <cs...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 tests/benchmark/report_benchmark_results.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/benchmark/report_benchmark_results.py b/tests/benchmark/report_benchmark_results.py
index 9292e75..26bf783 100755
--- a/tests/benchmark/report_benchmark_results.py
+++ b/tests/benchmark/report_benchmark_results.py
@@ -344,7 +344,7 @@ class Report(object):
       self.query_name = results[RESULT_LIST][0][QUERY][NAME]
       self.file_format = '{0} / {1} / {2}'.format(
           results[RESULT_LIST][0][QUERY][TEST_VECTOR][FILE_FORMAT],
-          results[RESULT_LIST][0][QUERY][TEST_VECTOR][COMPRESSION_TYPE],
+          results[RESULT_LIST][0][QUERY][TEST_VECTOR][COMPRESSION_CODEC],
           results[RESULT_LIST][0][QUERY][TEST_VECTOR][COMPRESSION_TYPE])
       self.avg = results[AVG]
       self.rsd = results[STDDEV] / self.avg if self.avg > 0 else 0.0