Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-14976

[Dev][Archery] Print more friendly error logs for non-existent benchmark

    XMLWordPrintableJSON

Details

    Description

      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:

      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'
      

      Attachments

        Issue Links

          Activity

            People

              yibocai Yibo Cai
              yibocai Yibo Cai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m