[ 
https://issues.apache.org/jira/browse/BEAM-317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Groh updated BEAM-317:
-----------------------------
    Description: 
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.

  was:
SideInputs are not supported equally by all runners. Implementing non-empty 
assertions as a main input and a serialized assertion allows runner 
implementors to test their implementations prior to constructing side inputs.



        Summary: Implement PAssert without using Side Inputs  (was: Implement 
PAssert#containsInAnyOrder and PAssert#satisfies without using Side Inputs)

> 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: Thomas Groh
>            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)

Reply via email to