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

[Developer] archery benchmark list: unexpected keyword 'benchmark_filter'

    XMLWordPrintableJSON

Details

    Description

      The following commit in version 3.0 accidentally added the options benchmark-filter and suite-filter to the archery benchmark list command. Those options aren't applicable to the list command.

      https://github.com/apache/arrow/commit/1adc7ba5b0dc4fe50ac2347d6b8f8bf426d4b26f

      $ archery benchmark list
      Traceback (most recent call last):
       File "/Users/diana/envs/pyarrow/bin/archery", line 33, in <module>
       sys.exit(load_entry_point('archery', 'console_scripts', 'archery')())
       File "/Users/diana/envs/pyarrow/lib/python3.8/site-packages/click/core.py", line 829, in __call__
       return self.main(*args, **kwargs)
       File "/Users/diana/envs/pyarrow/lib/python3.8/site-packages/click/core.py", line 782, in main
       rv = self.invoke(ctx)
       File "/Users/diana/envs/pyarrow/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
       return _process_result(sub_ctx.command.invoke(sub_ctx))
       File "/Users/diana/envs/pyarrow/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
       return _process_result(sub_ctx.command.invoke(sub_ctx))
       File "/Users/diana/envs/pyarrow/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
       return ctx.invoke(self.callback, **ctx.params)
       File "/Users/diana/envs/pyarrow/lib/python3.8/site-packages/click/core.py", line 610, in invoke
       return callback(*args, **kwargs)
       File "/Users/diana/envs/pyarrow/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
       return f(get_current_context(), *args, **kwargs)
       File "/Users/diana/workspace/arrow/dev/archery/archery/cli.py", line 397, in benchmark_list
       conf = CppBenchmarkRunner.default_configuration(
       File "/Users/diana/workspace/arrow/dev/archery/archery/benchmark/runner.py", line 144, in default_configuration
       return CppConfiguration(
      TypeError: __init__() got an unexpected keyword argument 'benchmark_filter'
      

      Attachments

        Issue Links

          Activity

            People

              dianaclarke Diana Clarke
              dianaclarke Diana Clarke
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 0.5h
                  0.5h