lvyanquan commented on code in PR #3753:
URL: https://github.com/apache/flink-cdc/pull/3753#discussion_r1856117916
##########
flink-cdc-runtime/src/main/java/org/apache/flink/cdc/runtime/operators/transform/PostTransformOperator.java:
##########
@@ -539,6 +541,10 @@ private void initializeUdf() {
// into UserDefinedFunction interface, thus the
provided UDF classes
// might not be compatible with the interface
definition in CDC common.
Object udfInstance =
udfFunctionInstances.get(udf.getName());
+ if (udfInstance instanceof BuiltInModel) {
+ ((BuiltInModel) udfInstance)
+
.configure(Configuration.fromMap(udf.getParameters()));
Review Comment:
done.
Removed BuiltInModel and moved this interface to UDF.
--
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]