Thank you Dominik.
So there's an implicit conversion, which means that getState().value() would
always give a deteministic result (i.e: Boolean value would always be false,
Int value would always be 0)
I found another funny thing is even with ref type like Integer, there is
also that implicit conversion:
val y:Integer = getRuntimeContext.getState(new
ValueStateDescriptor[Int]("Triggered", classOf[Int])).value()
>> y = {Integer@5795} "0"
Thanks for your time.
Regards,
Averell
--
Sent from:
http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/