开发者社区 问答 正文

Flink报错Please use window table-valued function ...

已解决

Flink报错Please use window table-valued function with aggregate together using window_start and window_end as group keys.

展开
收起
提个问题 2024-06-14 16:08:08 92 分享
分享
版权
举报
1 条回答
写回答
取消 提交回答
  • 开发者社区问答官方账号
    官方回答
    采纳回答
    【报错详情】
    Caused by: java.lang. UnsupportedoperationException: Currently Flink doesn't support individual window table-valued function TUMBLE(time_col=[event_time], size=[30 min]). Please use window table-valued function with aggregate together using window_start and window_end as group keys.
    【报错原因】
    tumble view 的基础上再进行 over 开窗报错
    【解决方案】
    • Individual window table-valued function 已经在 1.15-vvr-6.0.0 及以上版本得到了支持。
    • 在 1.15-vvr-6.0.0 以下版本请注意 TVF 语法请和 GROUP BY window_start, window_end 子句或 OVER WINDOW PARTITIONED BY window_start, window_end 一同使用。
    2024-06-14 16:08:09 举报
    赞同 评论

    评论

    全部评论 (0)

    登录后可评论
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等