cube2222 opened a new issue, #36936:
URL: https://github.com/apache/arrow/issues/36936

   ### Describe the usage question you have. Please include as many useful 
details as  possible.
   
   
   Hey!
   
   I've tried to use the Go arrow module, specifically the compute package. It 
contains some handy "infrastructure" for defining functions, kernels for them, 
matching the right kernels to the type, etc.
   
   However, it seems like adding custom functions to a FunctionRegistry as a 
consumer of the module is impossible?
   
   Implementing the Function interface requires returning an exec.Kernel - 
which is a struct from the internal `arrow/compute/internal/kernels` package, 
so that's impossible. Same goes for reusing existing utility structures, like 
the ScalarFunction.
   
   Could you please explain the reason for the API disallowing custom functions 
(or, probably, showing me what I'm missing to define custom functions)? Thanks 
a lot in advance!
   
   ### Component(s)
   
   Go


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