flink tableEnv.toAppendStream报错 org.apache.flink.api.common.typeinfo.TypeInformation does not match
时间:2021-08-25 23:56:10
收藏:0
阅读:51
flink中将Table转为DataStream
异常
Arity [6] of result [[Lorg.apache.flink.api.common.typeinfo.TypeInformation;@7e345bac] does not match the number[1] of requested type [GenericType
解决办法
1.检查字段名是否和sql select出的列名一致
2.检查getter 和 setter
3.检查是否有无参构造函数。
原文:https://www.cnblogs.com/lshao/p/15186461.html
评论(0)