flink:Table is not an append-only table. Use the toRetractStream() in order to handle add and retract messages.


我把表转换成流的时候使用的是:

tableEvn.toAppendStream(table,Row.class).print();

报错提示是:不能使用表不是append-only,改为toRetractStream。

改为:

tableEvn.toRetractStream(table,Row.class).print();


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM