lukecwik commented on code in PR #23046:
URL: https://github.com/apache/beam/pull/23046#discussion_r966393742
##########
sdks/python/apache_beam/runners/worker/sdk_worker.py:
##########
@@ -1149,22 +1149,9 @@ def blocking_get(
return self._lazy_iterator(state_key, coder)
# Cache lookup
cache_state_key = self._convert_to_cache_key(state_key)
- cached_value = self._state_cache.get(cache_state_key, cache_token)
- if cached_value is None:
- # Cache miss, need to retrieve from the Runner
- # Further size estimation or the use of the continuation token on the
- # runner side could fall back to materializing one item at a time.
- # https://jira.apache.org/jira/browse/BEAM-8297
Review Comment:
get is now reponsible for looking up the value and if it is not there it
will load it using the supplied lambda
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]