开发者社区 问答 正文

请教下,Flink里面把流注册为表: tableEnv.registerDataStream("mytable", mystream ....) 这里的流 mystream 貌似必须是append only流,不能是retraction流。这是为什么?如果是retraction流,报错Table is not an append-only table. Use the toRetractStream() in order to handle add and retract messages.

转自钉钉群21789141:请教下,Flink里面把流注册为表: tableEnv.registerDataStream("mytable", mystream ....)
这里的流 mystream 貌似必须是append only流,不能是retraction流。这是为什么?如果是retraction流,报错Table is not an append-only table. Use the toRetractStream() in order to handle add and retract messages.

展开
收起
赵慧@ApacheFlink中文社区 2018-10-18 13:56:30 9957 分享 版权
1 条回答
写回答
取消 提交回答