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

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

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

Shang Yuanchun (Jira)
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)