beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenneth Knowles (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (BEAM-317) Implement PAssert without using Side Inputs
Date Thu, 09 Jun 2016 22:06:20 GMT

     [ 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)

Mime
View raw message