Details
-
Bug
-
Status: In Progress
-
Not a Priority
-
Resolution: Unresolved
-
None
-
None
Description
FLINK-12283 already relaxed the UDF constraints for classes which is a big usability improvement for Scala users. However, Java users are still facing issues when using anonymous inner classes.
We should allow the following:
tEnv.registerFunction("testi", new ScalarFunction() { public String eval(Integer i) { return String.valueOf(i); } });