zhengruifeng commented on code in PR #53730:
URL: https://github.com/apache/spark/pull/53730#discussion_r2672004318
##########
python/pyspark/sql/tests/pandas/test_pandas_udf.py:
##########
@@ -460,6 +460,24 @@ def add1(x: pd.Series) -> pd.Series:
result = empty_df.select(add1("id"))
self.assertEqual(result.collect(), [])
+ def test_pandas_udf_nullable_large_integers(self):
Review Comment:
before the fix, this test fails with
```
First differing element 0:
Row(a=9223372036854775807)
Row(a=9223372036854775707)
- [Row(a=9223372036854775807), Row(a=None)]
? ^
+ [Row(a=9223372036854775707), Row(a=None)]
? ^
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]