yangzhg opened a new issue #7520:
URL: https://github.com/apache/incubator-doris/issues/7520


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Description
   
   Support UDF is realized through GRPC protocol. This brings several benefits:
   
   The udf implementation language is not limited to c++, users can use any 
familiar language to implement udf
   UDF is decoupled from Doris, udf will not be doris coredump together, udf 
computing resources are separated from doris, and doris services are not 
affected
   But RPC's UDF has a fixed overhead, so its performance is much slower than 
C++ UDF, especially when the amount of data is large.
   
   Create function like
   
   CREATE FUNCTION rpc_add(INT, INT) RETURNS INT PROPERTIES (
     "SYMBOL"="add_int",
     "OBJECT_FILE"="127.0.0.1:9999",
     "MD5"=""
   function service need to implements check_fn and fn_call methods
   
   ### Use case
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to