imay commented on a change in pull request #1985: Support prepare/close step in 
UDF process
URL: https://github.com/apache/incubator-doris/pull/1985#discussion_r334852260
 
 

 ##########
 File path: be/src/udf_samples/udf_sample.cpp
 ##########
 @@ -26,4 +26,9 @@ IntVal AddUdf(FunctionContext* context, const IntVal& arg1, 
const IntVal& arg2)
     return {arg1.val + arg2.val};
 }
 
+/// --- Prepare / Close Functions ---
+/// ---------------------------------
+/// void AddUdf_prepare(FunctionContext* context, 
FunctionContext::FunctionStateScope scope) {}
+/// void AddUdf_close(FunctionContext* context, 
FunctionContext::FunctionStateScope scope) {}
 
 Review comment:
   Why do you comment this function?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to