WeiZhong94 commented on a change in pull request #14800:
URL: https://github.com/apache/flink/pull/14800#discussion_r590104166
##########
File path: flink-python/pyflink/fn_execution/state_impl.py
##########
@@ -80,59 +81,99 @@ def __iter__(self):
return iter(self._cache.values())
-class SynchronousValueRuntimeState(ValueState):
+class InternalKVState(object):
+ def __init__(self, name: str, remote_state_backend:
'RemoteKeyedStateBackend'):
+ self.name = name
+ self._remote_state_backend = remote_state_backend
+ self._internal_state = None
+ self.namespace = None
Review comment:
we can store the encoded namespace and only encoding at the first time.
----------------------------------------------------------------
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]