kou commented on PR #37450: URL: https://github.com/apache/arrow/pull/37450#issuecomment-1698328332
https://github.com/ursacomputing/crossbow/actions/runs/6018601141/job/16327072710#step:3:7764 ```text ==================================== ERRORS ==================================== _______________ ERROR collecting pyarrow/tests/test_substrait.py _______________ /miniconda-for-arrow/envs/pyarrow-3.10/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() /miniconda-for-arrow/envs/pyarrow-3.10/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda> call = CallInfo.from_call(lambda: list(collector.collect()), "collect") /miniconda-for-arrow/envs/pyarrow-3.10/lib/python3.10/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() /miniconda-for-arrow/envs/pyarrow-3.10/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") /miniconda-for-arrow/envs/pyarrow-3.10/lib/python3.10/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() /miniconda-for-arrow/envs/pyarrow-3.10/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() /miniconda-for-arrow/envs/pyarrow-3.10/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) /miniconda-for-arrow/envs/pyarrow-3.10/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) /miniconda-for-arrow/envs/pyarrow-3.10/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) <frozen importlib._bootstrap>:1050: in _gcd_import ??? <frozen importlib._bootstrap>:1027: in _find_and_load ??? <frozen importlib._bootstrap>:1006: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:688: in _load_unlocked ??? /miniconda-for-arrow/envs/pyarrow-3.10/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__) pyarrow/tests/test_substrait.py:936: in <module> pc.equal(ds.field("x"), 7), E AttributeError: 'NoneType' object has no attribute 'field' ``` It seems that we need to avoid using `ds` here: https://github.com/apache/arrow/blob/2bb6be1d337583678b0661a8ecfcb2b0f3291a02/python/pyarrow/tests/test_substrait.py#L932-L933 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
