Re: Incompatible types of expression and result type.

2017-10-24 Thread Timo Walther
Hi, I could found the problem in your implementation. The Table API program is correct. However, the DataStream program that you construct in your TableSource has a wrong type. When ever you use a Row type, you need to specify the type either by implementing ResultTypeQueryable or in your

Incompatible types of expression and result type.

2017-10-23 Thread ??????
Exception in thread "main" org.apache.flink.table.codegen.CodeGenException: Incompatible types of expression and result type. at org.apache.flink.table.codegen.CodeGenerator$$anonfun$generateResultExpression$2.apply(CodeGenerator.scala:966) at org.apache.flink.table.c