You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2025/11/25 02:16:00 UTC
[jira] [Created] (SPARK-54495) Reenable test_as_spark_type_pandas_on_spark_dtype
Hyukjin Kwon created SPARK-54495:
------------------------------------
Summary: Reenable test_as_spark_type_pandas_on_spark_dtype
Key: SPARK-54495
URL: https://issues.apache.org/jira/browse/SPARK-54495
Project: Spark
Issue Type: Sub-task
Components: Tests
Affects Versions: 4.0.1, 4.1.0, 4.2.0
Reporter: Hyukjin Kwon
{code}
======================================================================
FAIL [0.004s]: test_as_spark_type_pandas_on_spark_dtype (pyspark.pandas.tests.connect.test_parity_typedef.TypeHintParityTests.test_as_spark_type_pandas_on_spark_dtype)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/runner/work/spark/spark-4.0/python/pyspark/pandas/tests/test_typedef.py", line 353, in test_as_spark_type_pandas_on_spark_dtype
self.assertEqual(pandas_on_spark_type(numpy_or_python_type), (dtype, spark_type))
AssertionError: Tuples differ: (dtype('O'), BinaryType()) != (<class 'numpy.character'>, BinaryType())
First differing element 0:
dtype('O')
<class 'numpy.character'>
- (dtype('O'), BinaryType())
+ (<class 'numpy.character'>, BinaryType())
----------------------------------------------------------------------
Ran 12 tests in 0.046s
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org