lostluck commented on code in PR #36069:
URL: https://github.com/apache/beam/pull/36069#discussion_r2326183133


##########
sdks/go/pkg/beam/runners/prism/internal/engine/strategy.go:
##########
@@ -573,4 +573,69 @@ func (t *TriggerDefault) String() string {
        return "Default"
 }
 
-// TODO https://github.com/apache/beam/issues/31438 Handle 
TriggerAfterProcessingTime
+// TimestampTransform is the engine's representation of a processing time 
transform.
+type TimestampTransform struct {
+       Delay         time.Duration
+       AlignToPeriod time.Duration
+       AlignToOffset time.Duration
+}
+
+// TriggerAfterProcessingTime fires once after a specified amount of 
processing time
+// has passed since an element was first seen.
+// Uses the extra state field to track if the processing time of the first 
element.

Review Comment:
   ```suggestion
   // Uses the extra state field to track the processing time of the first 
element.
   ```



##########
sdks/go/pkg/beam/runners/prism/internal/engine/strategy.go:
##########
@@ -573,4 +573,69 @@ func (t *TriggerDefault) String() string {
        return "Default"
 }
 
-// TODO https://github.com/apache/beam/issues/31438 Handle 
TriggerAfterProcessingTime
+// TimestampTransform is the engine's representation of a processing time 
transform.
+type TimestampTransform struct {

Review Comment:
   TBH this is possibly "Timestamp Control" from the capability matrix, as it 
can also affect event time.



-- 
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.

To unsubscribe, e-mail: github-unsubscr...@beam.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to