toAppendStream doesn‘t support consuming update and delete changes which is produced by node XXX
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相关推荐
- 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. ...
- 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 ...
- 从Flink SQL doesn't support consuming update and delete changes 错误谈起
前言 相信我们在初学Flink SQL时,多少遇到过像这样的错误信息: org.apache.flink.table.api.TableException: X[算子名] doesn't suppor ...
- 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 ...
- 【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 ...
- 【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 ...
- 让Hive支持行级insert、update、delete
首先:欢迎各位学习java和大数据的程序员朋友们加入Java交流学习群: 721506929群里提供免费的架构学习资料,直播讲解,讲师都是有着十几年阿里java开发经验的大牛,欢迎各位前来围观学习. ...
- 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 ...
- Hive支持Update和Delete语句
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DML#LanguageManualDML-Update 文档说了hiv ...
最新文章
- char类型怎么输入 c语言_还没搞懂C语言指针?这里有最详细的纯干货讲解(附代码)...
- OVS DPDK--介绍(二)
- 《Python核心编程》第二版第36页第二章练习 续一 -Python核心编程答案-自己做的-...
- linux下实现dns服务器,linux下DNS服务器的实现1
- 第五十二课、命令行参数的应用------------------狄泰软件学院
- 莫比乌斯反演与最大公约数
- Proteus仿真单片机:PIC18单片机的仿真
- 看了一些东西,发现一些用css实现一些东西的小技巧就记录下来
- Python Imaging Library: ImageFile Module(图像文件模块)
- Windows Phone(wp7)系统长按的秘密
- linux常用命令示例
- 诺顿企业版 V11.0
- 【读书笔记】浪潮之巅——方法论篇
- 阵列卡的全称叫磁盘阵列卡 是用来做 RAID
- 软考中级 真题 2016年上半年 信息系统管理工程师 基础知识
- ftp服务器一直在转未响应,打开ftp服务器未响应
- 每日一题吧算是,见证自己的成长路程_(:з」∠)_
- JavaScript 是世界上最好的语言?
- 大物知识点复习框架——光学
- Scrum立会报告+燃尽图(Beta阶段第二周第二次)
热门文章
- **.Eet Framework win7系统安装失败报 时间戳和日期不符**
- 论文精读:Faster R-CNN: Towards Real-Time ObjectDetection with Region Proposal Networks
- 网格(grid)布局
- 大话深度残差网络(DRN)ResNet网络原理
- 《Java SE实战指南》10:特性修饰符
- 喜马拉雅音频下载器 V1.2 支持专辑批量下载 喜马拉雅mp3下载导出 喜马拉雅下载器...
- FPGA通信第二篇--UDP
- DHCP介绍及H3C配置DHCP
- 《高质量程序设计指南——C++/C》第三版勘误
- Java基础 IP地址