You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "15767714253 (via GitHub)" <gi...@apache.org> on 2023/05/05 09:55:40 UTC

[GitHub] [doris] 15767714253 commented on a diff in pull request #19276: [UDF](demo) add new demo code for java udf

15767714253 commented on code in PR #19276:
URL: https://github.com/apache/doris/pull/19276#discussion_r1185907672


##########
docs/en/docs/ecosystem/udf/java-user-defined-function.md:
##########
@@ -140,23 +140,25 @@ public class SimpleDemo  {
     }
 
     /*required*/
-    public void serialize(State state, DataOutputStream out) throws Exception {
+    public void serialize(State state, DataOutputStream out)  {

Review Comment:
   I know, but currently, the exception handling hasn't been dealt with properly yet. I have crashed BE several times because of this. So, at this stage, I hope that users can use it, and for example, in the case of flink-udf, they also expect users to handle exceptions by themselves. If an exception is thrown, the task will fail.



-- 
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-unsubscribe@doris.apache.org

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


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