luoyuxia commented on code in PR #19561:
URL: https://github.com/apache/flink/pull/19561#discussion_r914819879
##########
flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/functions/hive/HiveFunctionWrapper.java:
##########
@@ -88,4 +115,20 @@ public String getClassName() {
public Class<UDFType> getUDFClass() throws ClassNotFoundException {
return (Class<UDFType>)
Thread.currentThread().getContextClassLoader().loadClass(className);
}
+
+ /**
+ * Deserialize UDF used the udfSerializedString held on.
+ *
+ * @return the UDF deserialized
+ */
+ private UDFType deserializeUDF() {
+ try {
+ return (UDFType)
+ SerializationUtilities.deserializeObject(
+ udfSerializedString, (Class<Serializable>)
getUDFClass());
Review Comment:
Of course, I have created
[FLINK-28430](https://issues.apache.org/jira/browse/FLINK-28430) for 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]