Re: QueryableStateClient getKVState

2021-03-23 Thread Matthias Pohl
Could you provide the full stacktrace of your error? That might help me to dig into the code. Matthias On Tue, Mar 23, 2021 at 2:33 PM Sandeep khanzode wrote: > Hi Matthias, > > Thanks. But yes, I am comparing map with that.map … the comment is > probably for the previous variable name. > > I c

Re: QueryableStateClient getKVState

2021-03-23 Thread Sandeep khanzode
Hi Matthias, Thanks. But yes, I am comparing map with that.map … the comment is probably for the previous variable name. I can use String, Int, Enum, Long type keys in the Key that I send in the Query getKvState … but the moment I introduce a TreeMap, even though it contains a simple one entry

Re: QueryableStateClient getKVState

2021-03-23 Thread Matthias Pohl
Hi Sandeep, the equals method does not compare the this.map with that.map but that.dimensions. ...at least in your commented out code. Might this be the problem? Best, Matthias On Tue, Mar 23, 2021 at 5:28 AM Sandeep khanzode wrote: > Hi, > > I have a stream that exposes the state for Queryable

QueryableStateClient getKVState

2021-03-22 Thread Sandeep khanzode
Hi, I have a stream that exposes the state for Queryable State. I am using the key as follows: public class MyKey { private Long first; private EnumType myType; private Long second; private TreeMap map; @Override public boolean equals(Object o) { if (this == o) r