[ 
https://issues.apache.org/jira/browse/BEAM-3297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16279603#comment-16279603
 ] 

Kenneth Knowles commented on BEAM-3297:
---------------------------------------

Empty bundles are permitted, and I think it is permissible for an SDK harness 
to call StartBundle and FinishBundle with no intervening elements. It is 
pointless, of course, and might have a cost.

> StartBundle/FinishBundle should be called only if there are elements 
> ---------------------------------------------------------------------
>
>                 Key: BEAM-3297
>                 URL: https://issues.apache.org/jira/browse/BEAM-3297
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-go
>            Reporter: Henning Rohde
>            Assignee: Henning Rohde
>            Priority: Minor
>
> I believe the semantics is lazy. Exec currently calls SB/FB eagerly 
> irrespectively of whether any elements are emitted.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to