You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ruifeng Zheng (Jira)" <ji...@apache.org> on 2023/01/17 02:40:00 UTC

[jira] [Commented] (SPARK-42089) Different result in nested lambda function

    [ https://issues.apache.org/jira/browse/SPARK-42089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17677579#comment-17677579 ] 

Ruifeng Zheng commented on SPARK-42089:
---------------------------------------

I am working on this one

> Different result in nested lambda function
> ------------------------------------------
>
>                 Key: SPARK-42089
>                 URL: https://issues.apache.org/jira/browse/SPARK-42089
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Connect, PySpark
>    Affects Versions: 3.4.0
>            Reporter: Ruifeng Zheng
>            Priority: Major
>
> test_nested_higher_order_function
> {code:java}
> Traceback (most recent call last):
>   File "/Users/ruifeng.zheng/Dev/spark/python/pyspark/sql/tests/test_functions.py", line 814, in test_nested_higher_order_function
>     self.assertEquals(actual, expected)
> AssertionError: Lists differ: [Row(n='a', l='a'), Row(n='b', l='b'), Row[124 chars]'c')] != [(1, 'a'), (1, 'b'), (1, 'c'), (2, 'a'), ([43 chars]'c')]
> First differing element 0:
> Row(n='a', l='a')
> (1, 'a')
> - [Row(n='a', l='a'),
> -  Row(n='b', l='b'),
> -  Row(n='c', l='c'),
> -  Row(n='a', l='a'),
> -  Row(n='b', l='b'),
> -  Row(n='c', l='c'),
> -  Row(n='a', l='a'),
> -  Row(n='b', l='b'),
> -  Row(n='c', l='c')]
> + [(1, 'a'),
> +  (1, 'b'),
> +  (1, 'c'),
> +  (2, 'a'),
> +  (2, 'b'),
> +  (2, 'c'),
> +  (3, 'a'),
> +  (3, 'b'),
> +  (3, 'c')]
> {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