That's wired. Can you print the generated code ?
Add this line before
https://github.com/apache/flink/blob/master/flink-libraries/flink-table/src/main/scala/org/apache/flink/table/codegen/ExpressionReducer.scala#L96
println(generatedFunction.code)
2017-06-29 14:50 GMT+08:00 郭健 :
> Hi Jark Wu,
>
Hi Jark Wu,
I did see the wrong result type failed the CodeGen compile stage, it
throws out exception stack as follow, even before the ExpressionReducer
actually restores the origin return
type:
org.apache.flink.api.common.InvalidProgramException: Table program cannot be
compiled. T