实时计算Flink提示RowTime field should not be null please

已解决

实时计算Flink提示RowTime field should not be null please convert it to a non-null long value

展开
收起
阿里云服务支持 2022-12-16 10:59:01 886 分享 版权
1 条回答
写回答
取消 提交回答
  • 官方回答

    生成watermark的eventtime字段中NULL值脏数据导致。

    Event time的时间字段中存在NULL值,需要使用计算列进行过滤,示例如下。

    ts as case when datetime is null then to_timestamp('1970-01-01 00:00:00') else datetimeend

    2022-12-16 11:13:14
    赞同 展开评论

实时计算Flink版是阿里云提供的全托管Serverless Flink云服务,基于 Apache Flink 构建的企业级、高性能实时大数据处理系统。提供全托管版 Flink 集群和引擎,提高作业开发运维效率。

收录在圈子:
作为全球云计算的领先者,阿里云为全球230万企业提供着云计算服务,服务范围覆盖200多个国家和地区。我们致力于为企业、政府等组织机构提供安全可靠的云计算服务,给用户带来极速愉悦的服务体验。
还有其他疑问?
咨询AI助理