[
https://issues.apache.org/jira/browse/BEAM-2501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17546621#comment-17546621
]
Kenneth Knowles commented on BEAM-2501:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/18468
> Count should return a more specific type than PTransform
> --------------------------------------------------------
>
> Key: BEAM-2501
> URL: https://issues.apache.org/jira/browse/BEAM-2501
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Reporter: Thomas Groh
> Priority: P3
> Labels: Clarified
>
> As {{Count.globally()}} and other static factory methods return objects of
> type {{PTransform}}, there is no way to communicate to the underlying
> {{Combine}} that we wish to have no default values, or to read the count as a
> {{SingletonView}} via the combiner.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)