flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wuchong <...@git.apache.org>
Subject [GitHub] flink pull request #3176: [FLINK-5571] [table] add open and close methods fo...
Date Mon, 06 Feb 2017 11:40:07 GMT
Github user wuchong commented on a diff in the pull request:

    --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/table/functions/UserDefinedFunction.scala
    @@ -24,4 +24,19 @@ package org.apache.flink.table.functions
       * User-defined functions must have a default constructor and must be instantiable during
     trait UserDefinedFunction {
    --- End diff --
    Did you create a Java class which extends `ScalarFunction` or `TableFunction` ? I tried
this in my environment but the compiling is failed.
    public class MyScalarFunction extends ScalarFunction {
    	public int eval(int a) {
    		return a + 1;
    Error:(25, 8) java: org.apache.flink.table.examples.java.MyScalarFunction不是抽象的,

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message