marshauf opened a new issue, #6518:
URL: https://github.com/apache/arrow-datafusion/issues/6518

   ### Is your feature request related to a problem or challenge?
   
   I would like to use async code in an UDF. I couldn't find an example or API 
documentation on how to do that. It would be nice if it would be 
possible/documented.
   
   ### Describe the solution you'd like
   
   datafusion::physical_plan::functions::make_scalar_function() accepts 
functions which return a Future.
   
   ### Describe alternatives you've considered
   
   Creating another tokio runtime and offloading the async function onto it.
   The main runtime waits in the UDF till async function is done with execution.
   
   
   ### Additional context
   
   _No response_


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

Reply via email to