You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "HunterHunter (Jira)" <ji...@apache.org> on 2021/02/04 09:03:00 UTC

[jira] [Created] (FLINK-21278) NullpointExecption error is reported when using the evictor method to filter the data before the window calculation

HunterHunter created FLINK-21278:
------------------------------------

             Summary: NullpointExecption error is reported when using the evictor method to filter the data before the window calculation
                 Key: FLINK-21278
                 URL: https://issues.apache.org/jira/browse/FLINK-21278
             Project: Flink
          Issue Type: Bug
          Components: API / DataStream
    Affects Versions: 1.12.1
            Reporter: HunterHunter


When I use evictor() method to filter the data before a window is triggered, if there is no data that meets the conditions, a nullpointExecption error will be reported.

This problem occurs in the ReduceApplyWindowFunction.apply method.

So I think if there is no data to calculate whether it can not trigger the calculation, or judge whether it is null before transmitting the calculation result



--
This message was sent by Atlassian Jira
(v8.3.4#803005)