You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Yibo Cai (Jira)" <ji...@apache.org> on 2021/12/03 09:30:00 UTC

[jira] [Created] (ARROW-14976) [Dev][Archery] Print more friendly error logs for non-existent benchmark

Yibo Cai created ARROW-14976:
--------------------------------

             Summary: [Dev][Archery] Print more friendly error logs for non-existent benchmark
                 Key: ARROW-14976
                 URL: https://issues.apache.org/jira/browse/ARROW-14976
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Archery
            Reporter: Yibo Cai


For non-existent benchmark, archery benchmark tool outputs error messages not very useful.
E.g., a typo (*parser* -> *parsing*) in command _"archery benchmark diff --suite-filter=arrow-csv-parsing-benchmark"_ leads to below confusing error message:
{noformat}
Traceback (most recent call last):
  File "pandas/_libs/index.pyx", line 108, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/hashtable_class_helper.pxi", line 1533, in pandas._libs.hashtable.Float64HashTable.get_item
TypeError: must be real number, not str

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/cyb/venv/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 3361, in get_loc
    return self._engine.get_loc(casted_key)
  File "pandas/_libs/index.pyx", line 76, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/index.pyx", line 111, in pandas._libs.index.IndexEngine.get_loc
KeyError: 'change'
{noformat}







--
This message was sent by Atlassian Jira
(v8.20.1#820001)