You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Davor Bonaci (JIRA)" <ji...@apache.org> on 2016/12/03 23:59:58 UTC
[jira] [Commented] (BEAM-961) CountingInput could have starting
number
[ https://issues.apache.org/jira/browse/BEAM-961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15718965#comment-15718965 ]
Davor Bonaci commented on BEAM-961:
-----------------------------------
Assigning per request on dev@. Thanks [~vladisav].
> CountingInput could have starting number
> ----------------------------------------
>
> Key: BEAM-961
> URL: https://issues.apache.org/jira/browse/BEAM-961
> Project: Beam
> Issue Type: New Feature
> Components: sdk-java-core
> Reporter: Kenneth Knowles
> Assignee: Vladisav Jelisavcic
> Priority: Trivial
> Labels: easy, newbie, starter
>
> TL;DR: Add {{startingAt}} to {{CountingInput}}.
> Right now you can have {{CountingInput.upTo(someNumber)}} but it came up in a test that if you want to have, say, one PCollection that is 1 through 10 and another that is 11 through 20 - so you know they are disjoint - then it requires some boilerplate to add 10 to every element. That boilerplate should be part of the {{CountingInput}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)