A group window expects a time attribute for grouping in a stream environment.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

A group window expects a time attribute for grouping in a stream environment.

大森林

I'm learning GroupBy Window Aggregation from document https://ci.apache.org/projects/flink/flink-docs-stable/dev/table/tableApi.html

My code is:
pojo is:

I got 
A group window expects a time attribute for grouping in a stream environment.

Could anyone how to fix this?
I don't know the right time of this,thanks