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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to