Skip to content

Commit

Permalink
Update test_udtf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AngersZhuuuu committed Jun 24, 2024
1 parent 52e6c91 commit ea1f9f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyspark/sql/tests/test_udtf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2820,7 +2820,7 @@ def eval(self):
yield ExamplePoint(0, 1),

schema = StructType().add("point", ExamplePointUDT())
[row] =udtf(TestUDTF, returnType=schema, useArrow=True)(lit()).collect()
[row] = udtf(TestUDTF, returnType=schema, useArrow=True)().collect()
self.assertEqual(row[0], ExamplePoint(1.0, 2.0))


Expand Down

0 comments on commit ea1f9f1

Please sign in to comment.