iceberg常见bug

编程入门 行业动态 更新时间:2024-10-19 07:27:50

iceberg<a href=https://www.elefans.com/category/jswz/34/1770088.html style=常见bug"/>

iceberg常见bug

The equality field day should be NOT NULL

建表时报错,原因是 作为分区字段的day,应该是not null 属性,在 day int, 后面加上 day int not null 就可以了

Caused by: org.apache.flink.table.api.ValidationException: Could not create a PRIMARY KEY ‘4f761948-fb81-4c24-bf18-140dcbb08588’. Column ‘day’ is nullable.

原因是 sink表 主键为not null属性,在写入任务中没有对主键day做非空处理

更多推荐

iceberg常见bug

本文发布于:2023-11-16 04:29:10,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1612389.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:常见   iceberg   bug

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!