Github user Aitozi commented on the issue:
https://github.com/apache/flink/pull/6224
Hi, @aljoscha
I read the PR of https://issues.apache.org/jira/browse/FLINK-5363, i think
it is not a same thing with this PR. You meant to get `TriggerResult` no matter
the window content is empty or not. And I meant to check the `TriggerResult`
first to avoid get window state when the trigger are not ready to `FIRE`. And I
think the cost of get window state is much more cost, so i think we can get the
triggerResult first.
---