leewyang commented on PR #37734:
URL: https://github.com/apache/spark/pull/37734#issuecomment-1336488493

   @WeichenXu123 Yes, using `df.limit(10).cache().withColumn` makes it only 
process 10 rows inside the pandas_udf, which addresses the performance issue, 
thanks!


-- 
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]

Reply via email to