如图:scala代码开发flink任务,sink到clickhouse时启动报错!
报错一:
could not find implicit value for evidence parameter of type org.apache.flink.api.common.typeinfo.TypeInformation[org.apache.flink.types.Row]
val dataStream = bsTableEnv.toAppendStream[Row](result).map(line => {
报错二:
could not find implicit value for evidence parameter of type org.apache.flink.api.common.typeinfo.TypeInformation[Row]
原因:没有导入隐式转换
解决:导入隐式转换(注意:在引用之前导入!!!)