...
Therefore, we propose to support only full window processing on DataStream. This feature is designed to work only in batch mode and does not support checkpointing. If user specifies the stream mode, the job will be failed to submit. Given this premise, the underlying implementation can avoid the aforementioned conflict issues by not relying on keyed state for window processing.
The definition of PartitionWindowedStream
...