bug如下:

Exception in thread "main" org.apache.flink.table.api.TableException:
toAppendStream doesn't support consuming update and delete changes which is produced by
node Join(joinType=[LeftOuterJoin], where=[(leftxxx = rightxxx)], select=[xxx, xxx, xxx, xxx, xxx, xxx, xxx], leftInputSpec=[NoUniqueKey], rightInputSpec=[NoUniqueKey])

代码是执行一个table join语句:

Table table = table2.leftOuterJoin(table3, "leftxxx = rightxxx").select("xxx,xxx,xxx,xxx,xxx,xxx");

最后输出结果到控制台:

tEnv.toAppendStream(table, Row.class).print("res");

这个结果table是由节点联接产生的,toAppendStream不支持消费更新和删除更改
故改成:

tEnv.toRetractStream(tableCTNR, Row.class).print("res");

他的结果是带有一个Boolean标志的的数组,true表示添加数据,false表示撤回

toAppendStream doesn‘t support consuming update and delete changes which is produced by node XXX相关推荐

  1. Flink sql:Table sink doesn‘t support consuming update and delete changes which is produced by node

    一.问题描述 Flink sql将kafka作为join的输出,报错: Exception in thread "main" org.apache.flink.table.api. ...

  2. Table sink ‘default_catalog.default_database.t3‘ doesn‘t support consuming update and delete changes

    报错:Table sink 'default_catalog.default_database.t3' doesn't support consuming update and delete chan ...

  3. 从Flink SQL doesn't support consuming update and delete changes 错误谈起

    前言 相信我们在初学Flink SQL时,多少遇到过像这样的错误信息: org.apache.flink.table.api.TableException: X[算子名] doesn't suppor ...

  4. toAppendStream doesn‘t support consuming update changes which is produced by node GroupAggregate

    Exception in thread "main" org.apache.flink.table.api.TableException: toAppendStream doesn ...

  5. 【Flink】FLink SQL TableException: Table sink doesn‘t support consuming update changes which is

    文章目录 1.概述 2.原因 3.解决方案 1.概述 在做实验:[Flink]Flink SQL 读取 CSV 文件 最后尝试将数据写入到csv文件的时候报错. Flink SQL> INSER ...

  6. 【SQL】Attempt to do update or delete using transaction manager that does not support these operations

    在Hive SQL中执行update或者delete语句,报错: FAILED: SemanticException [Error 10294]: Attempt to do update or de ...

  7. 让Hive支持行级insert、update、delete

    首先:欢迎各位学习java和大数据的程序员朋友们加入Java交流学习群: 721506929群里提供免费的架构学习资料,直播讲解,讲师都是有着十几年阿里java开发经验的大牛,欢迎各位前来围观学习. ...

  8. Attempt to do update or delete on table educator.t_item_info that does not use an AcidOutputFormat o

    Attempt to do update or delete on table educator.t_item_info that does not use an AcidOutputFormat o ...

  9. Hive支持Update和Delete语句

    https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DML#LanguageManualDML-Update 文档说了hiv ...

最新文章

  1. char类型怎么输入 c语言_还没搞懂C语言指针?这里有最详细的纯干货讲解(附代码)...
  2. OVS DPDK--介绍(二)
  3. 《Python核心编程》第二版第36页第二章练习 续一 -Python核心编程答案-自己做的-...
  4. linux下实现dns服务器,linux下DNS服务器的实现1
  5. 第五十二课、命令行参数的应用------------------狄泰软件学院
  6. 莫比乌斯反演与最大公约数
  7. Proteus仿真单片机:PIC18单片机的仿真
  8. 看了一些东西,发现一些用css实现一些东西的小技巧就记录下来
  9. Python Imaging Library: ImageFile Module(图像文件模块)
  10. Windows Phone(wp7)系统长按的秘密
  11. linux常用命令示例
  12. 诺顿企业版 V11.0
  13. 【读书笔记】浪潮之巅——方法论篇
  14. 阵列卡的全称叫磁盘阵列卡 是用来做 RAID
  15. 软考中级 真题 2016年上半年 信息系统管理工程师 基础知识
  16. ftp服务器一直在转未响应,打开ftp服务器未响应
  17. 每日一题吧算是,见证自己的成长路程_(:з」∠)_
  18. JavaScript 是世界上最好的语言?
  19. 大物知识点复习框架——光学
  20. Scrum立会报告+燃尽图(Beta阶段第二周第二次)

热门文章

  1. **.Eet Framework win7系统安装失败报 时间戳和日期不符**
  2. 论文精读:Faster R-CNN: Towards Real-Time ObjectDetection with Region Proposal Networks
  3. 网格(grid)布局
  4. 大话深度残差网络(DRN)ResNet网络原理
  5. 《Java SE实战指南》10:特性修饰符
  6. 喜马拉雅音频下载器 V1.2 支持专辑批量下载 喜马拉雅mp3下载导出 喜马拉雅下载器...
  7. FPGA通信第二篇--UDP
  8. DHCP介绍及H3C配置DHCP
  9. 《高质量程序设计指南——C++/C》第三版勘误
  10. Java基础 IP地址