You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-zh@flink.apache.org by Asahi Lee <97...@qq.com> on 2021/01/19 06:17:09 UTC

Table proram cannot be compiled

你好!&nbsp; &nbsp; &nbsp; 我在使用flink 1.12.0版本的org.apach.flink.table.runtime.generated.CompileUtils.compile()方法,编译的DataSteam程序时,执行报错,提示:Table program cannot be compiled. This is a bug. Please file an issue.我发现最终的错误是 public abstract java.lang.Object org.apache.flink.api.java.functions.KeySelector.getKey(java.lang.Object) 没有实现,我使用的是泛型方式的实现;是编译程序不支持泛型吗?请问动态编译是否还有其他的解决方案?谢谢!