You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Daniel Halperin (JIRA)" <ji...@apache.org> on 2016/10/20 20:56:58 UTC
[jira] [Closed] (BEAM-317) Implement PAssert without using Side
Inputs
[ https://issues.apache.org/jira/browse/BEAM-317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Halperin closed BEAM-317.
--------------------------------
> 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
> Labels: backward-incompatible
> Fix For: 0.2.0-incubating
>
>
> 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)