[ 
https://issues.apache.org/jira/browse/BEAM-8550?focusedWorklogId=355786&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-355786
 ]

ASF GitHub Bot logged work on BEAM-8550:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/Dec/19 10:24
            Start Date: 08/Dec/19 10:24
    Worklog Time Spent: 10m 
      Work Description: JozoVilcek commented on pull request #8774: [BEAM-8550] 
Requires time sorted input
URL: https://github.com/apache/beam/pull/8774#discussion_r355164129
 
 

 ##########
 File path: 
runners/direct-java/src/test/java/org/apache/beam/runners/direct/StatefulParDoEvaluatorFactoryTest.java
 ##########
 @@ -188,15 +196,35 @@ public void process(ProcessContext c) {}
     // A single bundle with some elements in the global window; it should 
register cleanup for the
     // global window state merely by having the evaluator created. The cleanup 
logic does not
     // depend on the window.
-    CommittedBundle<KV<String, Integer>> inputBundle =
+    CommittedBundle<KeyedWorkItem<String, KV<String, Integer>>> inputBundle =
 
 Review comment:
   What is a benefit of expanding KV -> KeyedWorkItem? I do not see connection 
to the requires time sorted input.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 355786)
    Time Spent: 2h 40m  (was: 2.5h)

> @RequiresTimeSortedInput DoFn annotation
> ----------------------------------------
>
>                 Key: BEAM-8550
>                 URL: https://issues.apache.org/jira/browse/BEAM-8550
>             Project: Beam
>          Issue Type: New Feature
>          Components: beam-model, sdk-java-core
>            Reporter: Jan Lukavský
>            Assignee: Jan Lukavský
>            Priority: Major
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> Implement new annotation {{@RequiresTimeSortedInput}} for stateful DoFn as 
> described in [design 
> document|https://docs.google.com/document/d/1ObLVUFsf1NcG8ZuIZE4aVy2RYKx2FfyMhkZYWPnI9-c/edit?usp=sharing].
>  First implementation will assume that:
>   - time is defined by timestamp in associated WindowedValue
>   - allowed lateness is explicitly zero and all late elements are dropped 
> (due to being out of order)
> The above properties are considered temporary and will be resolved by 
> subsequent extensions (backwards compatible).



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

Reply via email to