You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Congxian Qiu(klion26) (JIRA)" <ji...@apache.org> on 2019/07/08 08:31:00 UTC
[jira] [Comment Edited] (FLINK-10050) Support 'allowedLateness' in
CoGroupedStreams
[ https://issues.apache.org/jira/browse/FLINK-10050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16880113#comment-16880113 ]
Congxian Qiu(klion26) edited comment on FLINK-10050 at 7/8/19 8:30 AM:
-----------------------------------------------------------------------
Thanks for your reply and confirmation [~kkl0u]. yes, you're right. Do I need to open a new issue for this or reuse current issue to track it?
As the implementation, I think we should add an input parameter of type {{OutputTag}} in {{CoGroupedStream#WithWindow, WDYT?}}
was (Author: klion26):
Thanks for your reply and confirmation [~kkl0u]. yes, you're right. Do I need to open a new issue for this or reuse current issue to track it?
As the implementation, I think we should add an input parameter of type {{OutputTag}} in {{CoGroupedStream#WithWindow}}
> Support 'allowedLateness' in CoGroupedStreams
> ---------------------------------------------
>
> Key: FLINK-10050
> URL: https://issues.apache.org/jira/browse/FLINK-10050
> Project: Flink
> Issue Type: New Feature
> Components: API / DataStream
> Affects Versions: 1.5.1, 1.6.0
> Reporter: eugen yushin
> Priority: Major
> Labels: pull-request-available, ready-to-commit, windows
> Fix For: 1.7.0
>
>
> WindowedStream has a support of 'allowedLateness' feature, while CoGroupedStreams are not. At the mean time, WindowedStream is an inner part of CoGroupedStreams and all main functionality (like evictor/trigger/...) is simply delegated to WindowedStream.
> There's no chance to operate with late arriving data from previous steps in cogroups (and joins). Consider the following flow:
> a. read data from source1 -> aggregate data with allowed lateness
> b. read data from source2 -> aggregate data with allowed lateness
> c. cogroup/join streams a and b, and compare aggregated values
> Step c doesn't accept any late data from steps a/b due to lack of `allowedLateness` API call in CoGroupedStreams.java.
> Scope: add method `WithWindow.allowedLateness` to Java API (flink-streaming-java) and extend scala API (flink-streaming-scala).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)