dtenedor commented on PR #60311: URL: https://github.com/apache/spark/pull/60311#issuecomment-6865884541
@rdtr Sure, you can join the design. It seems we already have Catalyst logic to find Python UDF expressions and bring them into operators capable of reading input data into suitably large batches for evaluation [1]. We should probably reuse both this planning logic and the part of the execution batching steps for the new `ai_query` as well. [1] https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/python/ExtractPythonUDFs.scala -- 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]
