[
https://issues.apache.org/jira/browse/BEAM-8298?focusedWorklogId=379068&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-379068
]
ASF GitHub Bot logged work on BEAM-8298:
----------------------------------------
Author: ASF GitHub Bot
Created on: 29/Jan/20 22:56
Start Date: 29/Jan/20 22:56
Worklog Time Spent: 10m
Work Description: lukecwik commented on issue #10705: [BEAM-8298]
Implement side input caching.
URL: https://github.com/apache/beam/pull/10705#issuecomment-580001207
Seeing test failures:
```
13:11:10 AttributeError: '_IterableFromIterator' object has no attribute
'extend'
```
and linter problems:
```
12:54:20 > Task :sdks:python:test-suites:tox:py37:lintPy37
12:54:20 ************* Module apache_beam.runners.worker.sdk_worker_test
12:54:20 apache_beam/runners/worker/sdk_worker_test.py:162:0: C0330: Wrong
hanging indentation (add 2 spaces).
12:54:20 token=b'state_token1',
12:54:20 ^ | (bad-continuation)
12:54:20 apache_beam/runners/worker/sdk_worker_test.py:163:0: C0330: Wrong
hanging indentation (add 2 spaces).
12:54:20
user_state=beam_fn_api_pb2.ProcessBundleRequest.CacheToken.UserState())
12:54:20 ^ | (bad-continuation)
12:54:20 apache_beam/runners/worker/sdk_worker_test.py:165:0: C0330: Wrong
hanging indentation (add 2 spaces).
12:54:20 token=b'state_token2',
12:54:20 ^ | (bad-continuation)
12:54:20 apache_beam/runners/worker/sdk_worker_test.py:166:0: C0330: Wrong
hanging indentation (add 2 spaces).
12:54:20
user_state=beam_fn_api_pb2.ProcessBundleRequest.CacheToken.UserState())
12:54:20 ^ | (bad-continuation)
12:54:20 apache_beam/runners/worker/sdk_worker_test.py:168:0: C0330: Wrong
hanging indentation (add 2 spaces).
12:54:20 token=b'side1_token1',
12:54:20 ^ | (bad-continuation)
12:54:20 apache_beam/runners/worker/sdk_worker_test.py:169:0: C0330: Wrong
hanging indentation (add 2 spaces).
12:54:20
side_input=beam_fn_api_pb2.ProcessBundleRequest.CacheToken.SideInput(
12:54:20 ^ | (bad-continuation)
12:54:20 apache_beam/runners/worker/sdk_worker_test.py:172:0: C0330: Wrong
hanging indentation (add 2 spaces).
12:54:20 token=b'side1_token2',
12:54:20 ^ | (bad-continuation)
12:54:20 apache_beam/runners/worker/sdk_worker_test.py:173:0: C0330: Wrong
hanging indentation (add 2 spaces).
12:54:20
side_input=beam_fn_api_pb2.ProcessBundleRequest.CacheToken.SideInput(
12:54:20 ^ | (bad-continuation)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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: 379068)
Time Spent: 2h 40m (was: 2.5h)
> Implement state caching for side inputs
> ---------------------------------------
>
> Key: BEAM-8298
> URL: https://issues.apache.org/jira/browse/BEAM-8298
> Project: Beam
> Issue Type: Improvement
> Components: runner-core, sdk-py-harness
> Reporter: Maximilian Michels
> Assignee: Jing Chen
> Priority: Major
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> Caching is currently only implemented for user state.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)