twalthr commented on a change in pull request #18352:
URL: https://github.com/apache/flink/pull/18352#discussion_r784649660
##########
File path:
flink-table/flink-table-common/src/main/java/org/apache/flink/table/functions/UserDefinedFunction.java
##########
@@ -58,9 +60,13 @@
/** Returns a unique, serialized representation for this function. */
public final String functionIdentifier() {
+ final String className = getClass().getName();
+ if (isClassNameSerializable(this)) {
+ return className;
+ }
final String md5 =
EncodingUtils.hex(EncodingUtils.md5(EncodingUtils.encodeObjectToString(this)));
- return getClass().getName().replace('.', '$').concat("$").concat(md5);
+ return className.concat("$").concat(md5);
Review comment:
Yes, you can also find them in the updated plans with a `$` at the end.
E.g.:
`org.apache.flink.table.planner.plan.batch.table.CalcTest$giveMeCaseClass$`
--
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]