Ruifeng Zheng created SPARK-42089:
-------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]