[
https://issues.apache.org/jira/browse/BEAM-317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kenneth Knowles resolved BEAM-317.
----------------------------------
Resolution: Fixed
> Implement PAssert without using Side Inputs
> -------------------------------------------
>
> Key: BEAM-317
> URL: https://issues.apache.org/jira/browse/BEAM-317
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Reporter: Thomas Groh
> Assignee: Kenneth Knowles
> Priority: Minor
>
> SideInputs are not supported equally by all runners. Implementing assertions
> as a main input and a serialized assertion allows runner implementors to test
> their implementations prior to constructing side inputs.
> satisfies is the same, but accumulates the entire input into a single pane
> which it takes as a main input.
> containsInAnyOrder encodes the expected elements as they need not be
> serializable, and then can be implemented in terms of satisfies.
> empty can be implemented by failing if provided with any elements, so long as
> the success counter is not the means by which success is measured.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)