You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Luke Cwik (Jira)" <ji...@apache.org> on 2021/10/12 23:09:00 UTC
[jira] [Updated] (BEAM-7169) Sample in PAssert JavaDoc shows
un-known function
[ https://issues.apache.org/jira/browse/BEAM-7169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luke Cwik updated BEAM-7169:
----------------------------
Fix Version/s: 2.34.0
Resolution: Fixed
Status: Resolved (was: Open)
> Sample in PAssert JavaDoc shows un-known function
> -------------------------------------------------
>
> Key: BEAM-7169
> URL: https://issues.apache.org/jira/browse/BEAM-7169
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Reporter: Neil Kolban
> Assignee: Chris Gray
> Priority: P3
> Labels: Clarified
> Fix For: 2.34.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> If we look at the JavaDoc for PAssert found here
> [https://beam.apache.org/releases/javadoc/2.12.0/index.html?org/apache/beam/sdk/testing/PAssert.html]
>
> We see a sample that reads:
> {{PCollection<Integer>}}
> {{ints = ... }}
> {{PCollection<Integer> sum = ints}}
> {{ .apply(Combine.globally(new SumInts()));}}
> {{ PAssert.that(sum)}}
> {{ .is(42);}}
> My problem / concern with this is the use of the method "is()". This is not an exposed function on the class PAssert.IterableAssert. This issue looks for examination.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)