jorgecarleitao opened a new pull request #8032:
URL: https://github.com/apache/arrow/pull/8032


   See associated issue and document for details.
   
   The gist is that currently, users call UDFs through
   
   ``` 
   df.select(scalar_functions(“sqrt”, vec![col(“a”)], DataType::Float64))
   ```
    
   and this PR proposes a change to 
    
   ```
   let functions = df.registry()?;
   
   df.select(functions.udf(“sqrt”, vec![col(“a”)])?)
   ```
    
   so that they do not have to remember the UDFs return type when using it (and 
a whole lot other things for us internally). The `df` part is still not 
implemented. Currently it only works with `ctx.registry()?`.
   
   This PR is waiting for some changes in the `ExecutionContext`, for it to be 
easier to be integrated.


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to