toAppendStream doesn‘t support consuming update changes which is produced by node GroupAggregate
生活随笔
收集整理的這篇文章主要介紹了
toAppendStream doesn‘t support consuming update changes which is produced by node GroupAggregate
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
?
Exception in thread "main" org.apache.flink.table.api.TableException: toAppendStream doesn't support consuming update changes which is produced by node GroupAggregate(groupBy=[amount, product, user], select=[amount, product, user])
解決方案:
? ? ? ? tEnv.toAppendStream(result, Row.class).print();
? ? ? ? env.execute();
改成:
? ? ? ? tEnv.toRetractStream(result, Row.class).print();
? ? ? ? env.execute();
?
總結(jié)
以上是生活随笔為你收集整理的toAppendStream doesn‘t support consuming update changes which is produced by node GroupAggregate的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 神武3曜华城人物怎样加点
- 下一篇: flink社区提问没有人回答是怎么回事?