You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2021/05/08 17:20:02 UTC
[jira] [Updated] (BEAM-449) Support PCollectionList in PAssert
[ https://issues.apache.org/jira/browse/BEAM-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Beam JIRA Bot updated BEAM-449:
-------------------------------
Labels: Clarified stale-assigned (was: Clarified)
> Support PCollectionList in PAssert
> ----------------------------------
>
> Key: BEAM-449
> URL: https://issues.apache.org/jira/browse/BEAM-449
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Reporter: Thomas Groh
> Assignee: Vitaly Terentyev
> Priority: P3
> Labels: Clarified, stale-assigned
> Time Spent: 3h 10m
> Remaining Estimate: 0h
>
> The assertion takes an input PCollectionList and takes a list of matchers of the same size, and applies each matcher to the identical index of the PCollectionList
> e.g. PAssert.that(PCollectionList[0]).satisfies(matchers[0])
> Potentially also worthwhile is a "PAssert.thatFlattened(PCollectionList)" static constructor, that runs an assertion on the flattened contents of the list.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)