[
https://issues.apache.org/jira/browse/BEAM-4285?focusedWorklogId=113384&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-113384
]
ASF GitHub Bot logged work on BEAM-4285:
----------------------------------------
Author: ASF GitHub Bot
Created on: 19/Jun/18 21:22
Start Date: 19/Jun/18 21:22
Worklog Time Spent: 10m
Work Description: bsidhom opened a new pull request #5688: [BEAM-4285]
Implement Flink batch side input handler
URL: https://github.com/apache/beam/pull/5688
This implements a state request handler for batch side inputs in the
portable Flink runner. The core implementation is the same as in the
non-portable runner: PCollections used as side inputs are materialized as
(in-memory) broadcast variables. These materialized elements are then exposed
by a side input state handler.
Note that we construct a duplicate `ExecutableProcessBundleDescriptor` here
rather than use an `ExecutableStage`. This is because the latter exposes side
input details (most importantly coder structure) that are not available in
`ExecutableStage`. It would be cleaner to migrate side input utilities from
executable bundle descriptors directly to `ExecutableStage`, but that refactor
should be done in a separate change.
------------------------
Follow this checklist to help us incorporate your contribution quickly and
easily:
- [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in
ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA
issue, if applicable. This will automatically link the pull request to the
issue.
- [ ] If this contribution is large, please file an Apache [Individual
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
It will help us expedite review of your Pull Request if you tag someone
(e.g. `@username`) to look at it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 113384)
Time Spent: 10m
Remaining Estimate: 0h
> Flink batch state request handler
> ---------------------------------
>
> Key: BEAM-4285
> URL: https://issues.apache.org/jira/browse/BEAM-4285
> Project: Beam
> Issue Type: Bug
> Components: runner-flink
> Reporter: Ben Sidhom
> Assignee: Ben Sidhom
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In order to support side inputs Flink needs a state service request handler.
> As in the non-portable we can start by handling batch side inputs by Flink
> broadcast variables.
> [https://github.com/bsidhom/beam/blob/41de3bce60f1ebc9211f299612a20d8e561f9b6f/runners/flink/src/main/java/org/apache/beam/runners/flink/translation/functions/FlinkBatchStateRequestHandler.java]
> or
> [https://github.com/bsidhom/beam/blob/41de3bce60f1ebc9211f299612a20d8e561f9b6f/runners/flink/src/main/java/org/apache/beam/runners/flink/translation/functions/FlinkBatchStateRequestHandler.java]
> can be used as a starting point.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)