flinksql bug:doesn‘t support consuming update and delete changes which is produced by

org.apache.flink.table.api.TableException: StreamPhysicalOverAggregate doesn’t support consuming update and delete changes which is produced by node Join(joinType=[InnerJoin], where=[(wms_bill_id = wms_bill_id0)], select=[service_type, org_id, create_time, update_time, wms_bill_id, unique_code, wms_bill_id0], leftInputSpec=[NoUniqueKey], rightInputSpec=[NoUniqueKey])

这个报错有效的部分是:StreamPhysicalOverAggregate doesn’t support consuming update and delete changes which is produced by node Join
这句话有两个变量 一个是 StreamPhysicalOverAggregate 另一个是 node Join
表示 前一个算子 因为 后一个算子 而不支持更新和删除操作,简单点说就是 这个代码不支持回撤流场景,

只需要分析 StreamPhysicalOverAggregate 是哪里出现,这是个聚合函数。
另一个分析 node Join 是join的部分
从我个人的代码中 我分析出,回撤流场景,有rownumber()场景,并使用inner join ,下游输出了rn,导致报错

处理办法:不输出rn就好了,很奇怪 有个相同的场景,输出rn 也不报错,但是那个中间做了一些处理逻辑,分析是 处理逻辑 导致下游的回撤场景发生了不同

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Direction_Wind

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值