flinksql 报错
org.apache.flink.table.api.TableException: OVER windows’ ordering in stream mode must be defined on a time attribute.
org.apache.flink.table.api.TableException: OVER windows’ ordering in stream mode must be defined on a time attribute.
这个最常见的是row_number()over()里
其实问题很简单,根据官网说的就是 over(partition by order by) 的这个排序字段 必须是一个时间属性 timestamp的字段 例如 proctime as PROCTIME(),
over(parttition by A order by proctime )