Kenneth Knowles created BEAM-652:
------------------------------------

             Summary: StateNamespaces.window() potentially unstable / stable 
encodings for windows
                 Key: BEAM-652
                 URL: https://issues.apache.org/jira/browse/BEAM-652
             Project: Beam
          Issue Type: New Feature
          Components: sdk-java-core
            Reporter: Kenneth Knowles


WindowNamespace#stringKey includes a base64 encoding of the window as encoded 
by the windowCoder. This makes the key unpredictable if we support features 
such as reloading a pipeline with a new SDK or bugfixed pipeline. The encoding 
should be stable and documented.

And even if the SDK's window types are stable and documented, users can define 
their own windows with coders and these may be less stable / requiring 
bugfixes. This ticket is to track the issue and any new ideas.

[1] 
https://github.com/apache/incubator-beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/util/state/StateNamespaces.java#L113



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to