Hi Jan,

I don't think this is intentional. It looks like an inconsistency which
could result in unexpected behavior in UDFs, e.g. when storing state and
timers.

Want to open a PR?

-Max

On 12.08.19 14:22, Jan Lukavský wrote:
> Hi,
> 
> I noticed, that StateNamespaces.global() generates a different stringKey 
> than StateNamespaces.window(GlobalWindowCoder, GlobalWindow). In the 
> first case, the stringKey will be simply '/',  in the other it will be 
> '//'. That has some other implications, like that 
> StateNamespaces.fromString(StateNamespaces.window(GlobalWindowCoder, 
> GlobalWindow).stringKey()) != StateNamespaces.global().
> 
> It looks like a bug, but maybe I'm wrong - is this intentional?
> 
> Jan
> 

Reply via email to