[ 
https://issues.apache.org/jira/browse/SPARK-54495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon resolved SPARK-54495.
----------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

Issue resolved by pull request 53235
[https://github.com/apache/spark/pull/53235]

> 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.1.0, 4.0.1, 4.2.0
>            Reporter: Hyukjin Kwon
>            Assignee: Hyukjin Kwon
>            Priority: Major
>             Fix For: 4.1.0
>
>
> {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