[
https://issues.apache.org/jira/browse/BEAM-9524?focusedWorklogId=405769&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-405769
]
ASF GitHub Bot logged work on BEAM-9524:
----------------------------------------
Author: ASF GitHub Bot
Created on: 18/Mar/20 21:57
Start Date: 18/Mar/20 21:57
Worklog Time Spent: 10m
Work Description: davidyan74 commented on pull request #11128:
[BEAM-9524] Fix for ib.show() executing indefinitely
URL: https://github.com/apache/beam/pull/11128#discussion_r394662812
##########
File path:
sdks/python/apache_beam/runners/interactive/caching/streaming_cache.py
##########
@@ -153,7 +153,8 @@ def __init__(
self._coder = coder
self._labels = labels
self._is_cache_complete = (
- is_cache_complete if is_cache_complete else lambda: True)
+ is_cache_complete if is_cache_complete else lambda _: True)
+ self._pipeline_id = labels[-1].split('_')[-1]
Review comment:
This looks kinda like a hack, and if we change the format of the label, this
will break.
Can we at least put the code that encodes and decodes labels in one place,
perhaps in a util module, and have this line call the decode function?
----------------------------------------------------------------
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: 405769)
Time Spent: 1h (was: 50m)
> ib.show() spins forever when cells are re-executed
> --------------------------------------------------
>
> Key: BEAM-9524
> URL: https://issues.apache.org/jira/browse/BEAM-9524
> Project: Beam
> Issue Type: Bug
> Components: runner-py-interactive
> Reporter: Sam Rohde
> Priority: Major
> Time Spent: 1h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)