mengxr commented on issue #24643: [SPARK-26412][PySpark][SQL] Allow Pandas UDF to take an iterator of pd.Series or an iterator of tuple of pd.Series URL: https://github.com/apache/spark/pull/24643#issuecomment-501900960 @icexelloss I'm not sure if we should claim "execute once per partition" semantic even it is currently implemented this way. UDFs are on the logical side while per-partition execution is on the physical side. It should be the same result if we split the partition into two can call the new UDF twice. I'm assuming the map function is deterministic here.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
