[jira] [Commented] (BEAM-846) Decouple side input window mapping from WindowFn
[ https://issues.apache.org/jira/browse/BEAM-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15958132#comment-15958132 ] ASF GitHub Bot commented on BEAM-846: - Github user asfgit closed the pull request at: https://github.com/apache/beam/pull/2436 > Decouple side input window mapping from WindowFn > > > Key: BEAM-846 > URL: https://issues.apache.org/jira/browse/BEAM-846 > Project: Beam > Issue Type: New Feature > Components: beam-model-runner-api, sdk-java-core >Reporter: Robert Bradshaw >Assignee: Thomas Groh > Labels: backward-incompatible > Fix For: First stable release > > > Currently the main WindowFn provides as getSideInputWindow method. Instead, > this mapping should be specified per-side-input (thought the default mapping > would remain the same). -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (BEAM-846) Decouple side input window mapping from WindowFn
[ https://issues.apache.org/jira/browse/BEAM-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15957435#comment-15957435 ] ASF GitHub Bot commented on BEAM-846: - GitHub user tgroh opened a pull request: https://github.com/apache/beam/pull/2436 [BEAM-846] Use getWindowMappingFn where possible 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-] 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 `` 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](https://www.apache.org/licenses/icla.pdf). --- Migrates callers away from the user of WindowingStrategyInternal, permitting future changes to have a configurable WindowMappingFn. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tgroh/beam remove_view_windowing_strategy Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/2436.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2436 commit 8dbc8ba62091762272dfa66fade841288c7fff6c Author: Thomas GrohDate: 2017-04-05T18:53:03Z Use WinodwMappingFn where possible Migrates callers away from the user of WindowingStrategyInternal, permitting future changes to have a configurable WindowMappingFn. > Decouple side input window mapping from WindowFn > > > Key: BEAM-846 > URL: https://issues.apache.org/jira/browse/BEAM-846 > Project: Beam > Issue Type: New Feature > Components: beam-model-runner-api, sdk-java-core >Reporter: Robert Bradshaw >Assignee: Thomas Groh > Labels: backward-incompatible > Fix For: First stable release > > > Currently the main WindowFn provides as getSideInputWindow method. Instead, > this mapping should be specified per-side-input (thought the default mapping > would remain the same). -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (BEAM-846) Decouple side input window mapping from WindowFn
[ https://issues.apache.org/jira/browse/BEAM-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15957334#comment-15957334 ] ASF GitHub Bot commented on BEAM-846: - Github user asfgit closed the pull request at: https://github.com/apache/beam/pull/2434 > Decouple side input window mapping from WindowFn > > > Key: BEAM-846 > URL: https://issues.apache.org/jira/browse/BEAM-846 > Project: Beam > Issue Type: New Feature > Components: beam-model-runner-api, sdk-java-core >Reporter: Robert Bradshaw >Assignee: Thomas Groh > Labels: backward-incompatible > Fix For: First stable release > > > Currently the main WindowFn provides as getSideInputWindow method. Instead, > this mapping should be specified per-side-input (thought the default mapping > would remain the same). -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (BEAM-846) Decouple side input window mapping from WindowFn
[ https://issues.apache.org/jira/browse/BEAM-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15957150#comment-15957150 ] ASF GitHub Bot commented on BEAM-846: - GitHub user tgroh opened a pull request: https://github.com/apache/beam/pull/2434 [BEAM-846] Add WindowMappingFn to PCollectionView 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-] 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 `` 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](https://www.apache.org/licenses/icla.pdf). --- This exposes the explicit way in which Windows should be mapped. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tgroh/beam expose_window_mapping_fn Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/2434.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2434 > Decouple side input window mapping from WindowFn > > > Key: BEAM-846 > URL: https://issues.apache.org/jira/browse/BEAM-846 > Project: Beam > Issue Type: New Feature > Components: beam-model-runner-api, sdk-java-core >Reporter: Robert Bradshaw >Assignee: Thomas Groh > Labels: backward-incompatible > Fix For: First stable release > > > Currently the main WindowFn provides as getSideInputWindow method. Instead, > this mapping should be specified per-side-input (thought the default mapping > would remain the same). -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (BEAM-846) Decouple side input window mapping from WindowFn
[ https://issues.apache.org/jira/browse/BEAM-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15955486#comment-15955486 ] ASF GitHub Bot commented on BEAM-846: - GitHub user tgroh opened a pull request: https://github.com/apache/beam/pull/2426 [BEAM-846] Remove getSideInputWindow 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-] 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 `` 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](https://www.apache.org/licenses/icla.pdf). --- Callers should instead get the Default WindowMappingFn if no explicit WindowMappingFn is available. Migrate all existing callers within the SDK and runners. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tgroh/beam remove_get_side_input_window Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/2426.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2426 commit 7bb932c94b55bc640f539967a7273f8cdf15dd05 Author: Thomas GrohDate: 2017-04-04T17:38:36Z Remove getSideInputWindow Callers should instead get the Default WindowMappingFn if no explicit WindowMappingFn is available. Migrate all existing callers within the SDK and runners. > Decouple side input window mapping from WindowFn > > > Key: BEAM-846 > URL: https://issues.apache.org/jira/browse/BEAM-846 > Project: Beam > Issue Type: New Feature > Components: beam-model-runner-api, sdk-java-core >Reporter: Robert Bradshaw >Assignee: Thomas Groh > Labels: backward-incompatible > Fix For: First stable release > > > Currently the main WindowFn provides as getSideInputWindow method. Instead, > this mapping should be specified per-side-input (thought the default mapping > would remain the same). -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (BEAM-846) Decouple side input window mapping from WindowFn
[ https://issues.apache.org/jira/browse/BEAM-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15934870#comment-15934870 ] ASF GitHub Bot commented on BEAM-846: - GitHub user tgroh opened a pull request: https://github.com/apache/beam/pull/2284 [BEAM-846] Add WindowMappingFn, WindowMappingFns 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-] 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 `` 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](https://www.apache.org/licenses/icla.txt). --- WindowMappingFn maps from a main input window to a side input window, and provides a maximum amount of lookback that is possible to generate using the MappingFn. This separates the logic of assigning windows from the logic of mapping main and side inputs. Additionally, it permits pipeline runners to garbage collect side inputs when they are no longer accessible. This is currently unused. See BEAM-846 and BEAM-260 for additional context. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tgroh/beam window_mapping_fn Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/2284.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2284 commit 44d70b0b9d50f261667d49cf456ccb9a49b2bec0 Author: Thomas GrohDate: 2017-03-21T16:46:04Z Add WindowMappingFn, WindowMappingFns WindowMappingFn maps from a main input window to a side input window, and provides a maximum amount of lookback that is possible to generate using the MappingFn. This separates the logic of assigning windows from the logic of mapping main and side inputs. Additionally, it permits pipeline runners to garbage collect side inputs when they are no longer accessible. This is currently unused. See BEAM-846 and BEAM-260 for additional context. > Decouple side input window mapping from WindowFn > > > Key: BEAM-846 > URL: https://issues.apache.org/jira/browse/BEAM-846 > Project: Beam > Issue Type: New Feature > Components: beam-model-runner-api, sdk-java-core >Reporter: Robert Bradshaw >Assignee: Thomas Groh > Labels: backward-incompatible > Fix For: First stable release > > > Currently the main WindowFn provides as getSideInputWindow method. Instead, > this mapping should be specified per-side-input (thought the default mapping > would remain the same). -- This message was sent by Atlassian JIRA (v6.3.15#6346)