-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[CI][Python] Nightly test for PySpark 3.2.0 fail with AttributeError on numpy.bool #33697
Copy link
Copy link
Closed
Description
Describe the bug, including details regarding any error messages, version, and platform.
Nightly integration tests with PySpark 3.2.0 are failing with the following error:
test-conda-python-3.8-spark-v3.2.0
ERROR: test_with_key_complex (pyspark.sql.tests.test_pandas_cogrouped_map.CogroupedMapInPandasTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/spark/python/pyspark/sql/tests/test_pandas_cogrouped_map.py", line 160, in test_with_key_complex
result = self.data1 \
File "/spark/python/pyspark/sql/pandas/conversion.py", line 168, in toPandas
pandas_type = PandasConversionMixin._to_corrected_pandas_type(field.dataType)
File "/spark/python/pyspark/sql/pandas/conversion.py", line 238, in _to_corrected_pandas_type
return np.bool
File "/opt/conda/envs/arrow/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'bool'
Component(s)
Continuous Integration, Python
Reactions are currently unavailable