[jira] [Created] (FLINK-18627) Get unmatch filter method records to side output

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

[jira] [Created] (FLINK-18627) Get unmatch filter method records to side output

Shang Yuanchun (Jira)
Roey Shem Tov created FLINK-18627:
-------------------------------------

             Summary: Get unmatch filter method records to side output
                 Key: FLINK-18627
                 URL: https://issues.apache.org/jira/browse/FLINK-18627
             Project: Flink
          Issue Type: New Feature
          Components: API / DataStream
            Reporter: Roey Shem Tov
             Fix For: 1.12.0


Unmatch records to filter functions should send somehow to side output.

Example:

 
{code:java}
datastream
.filter(i->i%2==0)
.sideOutput(oddNumbersSideOutput);
{code}
 

 

That's way we can filter multiple times and send the filtered records to our side output instead of dropping it immediatly, it can be useful in many ways.

 

What do you think?



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