Timo Walther created FLINK-15600:
------------------------------------

             Summary: Further relax the UDF constraints for Java classes
                 Key: FLINK-15600
                 URL: https://issues.apache.org/jira/browse/FLINK-15600
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / API
            Reporter: Timo Walther
            Assignee: Timo Walther


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:
{code}
tEnv.registerFunction("testi", new ScalarFunction() {
        public String eval(Integer i) {
                return String.valueOf(i);
        }
});
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to