beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (BEAM-961) CountingInput could have starting number
Date Sun, 04 Dec 2016 09:49:58 GMT


ASF GitHub Bot commented on BEAM-961:

GitHub user vladisav opened a pull request:

    [BEAM-961] Add starting number to CountingInput

    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
     - [ ] Make sure the PR title is formatted like:
       `[BEAM-<Jira issue #>] Description of pull request`
     - [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable
           Travis-CI on your fork and ensure the whole test matrix passes).
     - [ ] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [ ] If this contribution is large, please file an Apache
           [Individual Contributor License Agreement](

You can merge this pull request into a Git repository by running:

    $ git pull BEAM-961

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1505
commit cd7dcff58f9581d56795a7d70d82fbbd8939a29b
Author: Vladisav Jelisavcic <>
Date:   2016-12-04T09:42:28Z

    Add starting number to CountingInput


> CountingInput could have starting number
> ----------------------------------------
>                 Key: BEAM-961
>                 URL:
>             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

View raw message