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/09 01:52:00 UTC
[jira] [Resolved] (ARROW-14976) [Dev][Archery] Print more friendly error logs for non-existent benchmark
[ https://issues.apache.org/jira/browse/ARROW-14976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yibo Cai resolved ARROW-14976.
------------------------------
Fix Version/s: 7.0.0
Resolution: Fixed
Issue resolved by pull request 11865
[https://github.com/apache/arrow/pull/11865]
> [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
> Assignee: Yibo Cai
> Priority: Major
> Labels: pull-request-available
> Fix For: 7.0.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> 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)