You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (Jira)" <ji...@apache.org> on 2020/01/15 10:35:00 UTC
[jira] [Created] (FLINK-15600) Further relax the UDF constraints
for Java classes
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)