KevinGG commented on a change in pull request #12249:
URL: https://github.com/apache/beam/pull/12249#discussion_r454543220
##########
File path: sdks/python/apache_beam/runners/interactive/interactive_runner.py
##########
@@ -259,7 +247,8 @@ def read(self, pcoll, include_window_info=False):
WindowedValues. Otherwise, return the element as itself.
"""
key = self._pipeline_instrument.cache_key(pcoll)
- cache_manager = ie.current_env().cache_manager()
+ cache_manager = ie.current_env().get_cache_manager(
+ self._pipeline_instrument.user_pipeline)
if cache_manager.exists('full', key):
Review comment:
That is not needed since PipelineResult takes in the PipelineInstrument
in the constructor. The cache manager must have been initialized during the
instrumenting.
----------------------------------------------------------------
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]