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();

原文地址:https://www.cnblogs.com/fishperson/p/13814740.html