bestchinacoder commented on issue #2540:
URL: 
https://github.com/apache/incubator-seatunnel/issues/2540#issuecomment-1229526725

   I found the problem, the default task mode of the program is batch mode, so 
the custom function is registered into the batch mode runtime environment, but 
the new api adopts the processStream method of stream mode by default, and uses 
the stream mode runtime environment. So it will prompt that the custom function 
is not found. The solution is to use the stream mode runtime environment in the 
registerFunction method of the UDF class to register it.


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