You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Robert Bradshaw (JIRA)" <ji...@apache.org> on 2017/05/12 22:39:04 UTC
[jira] [Commented] (BEAM-2024) Python and Java SDKs differ on name
of AfterCount
[ https://issues.apache.org/jira/browse/BEAM-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16008840#comment-16008840 ]
Robert Bradshaw commented on BEAM-2024:
---------------------------------------
Note also that we have the more concise AfterWatermark(early=..., late=...) rather than AfterWatermark.pastEndOfWindow().withEarlyFirings(...).withLateFirings(...) and just use AfterEach(...) rather than AfterEach.inOrder(...). This is in large part due to Java's use of static method + builder pattern, rather than constructor-with-keyword-arguments style.
> Python and Java SDKs differ on name of AfterCount
> -------------------------------------------------
>
> Key: BEAM-2024
> URL: https://issues.apache.org/jira/browse/BEAM-2024
> Project: Beam
> Issue Type: Improvement
> Components: sdk-py
> Reporter: Wesley Tanaka
> Assignee: Ahmet Altay
> Priority: Minor
>
> * https://cloud.google.com/dataflow/model/triggers#window-accumulation-modes refers to an AfterCount trigger
> * There is no AfterCount trigger in java SDK
> * There is an AfterCount trigger in python SDK
> My wild guess hypothesis is that AfterCount got renamed between Dataflow and Beam, but that the python beam SDK did not also execute the same rename?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)