Re: State Migration with RocksDB MapState

2019-04-25 Thread Cliff Resnick
Great news! Thanks On Thu, Apr 25, 2019, 2:59 AM Tzu-Li (Gordon) Tai wrote: > Hi Cliff, > > Thanks for bringing this up again. > > I think it would make sense to at least move this forward be only > exclusively checking the schema for user keys in MapState, and allow value > schema evolution. >

Re: State Migration with RocksDB MapState

2019-04-25 Thread Tzu-Li (Gordon) Tai
Hi Cliff, Thanks for bringing this up again. I think it would make sense to at least move this forward be only exclusively checking the schema for user keys in MapState, and allow value schema evolution. I'll comment on the JIRA about this, and also make it a blocker for 1.9.0 to make sure it

Re: State Migration with RocksDB MapState

2019-04-24 Thread Cliff Resnick
Hi Gordon, I noticed there has been no movement on this issue and I'm wondering if I can find some way to work around this. My MapState value is a case class container of Avro-generated SpecificRecords. If one SpecificRecord changes I am stuck. >From the issue It seems like the blocker is around

Re: State Migration with RocksDB MapState

2019-03-17 Thread Tzu-Li (Gordon) Tai
Hi Cliff, Thanks for bringing this up! AFAIK, this wouldn't be a long-term blocker. I've just opened a JIRA to track this [1]. As explained in the JIRA ticket, the main reason this is disallowed in the initial support for state schema evolution was due to how migration was implemented in the

State Migration with RocksDB MapState

2019-03-17 Thread Cliff Resnick
After trying out state migration in 1.8 rc2 I ran into this hard stop below. The comment does not give an indication why rocksdb map state cannot be migrated, and I'm wondering what the status is, since we do need this functionality and would like to know if this is a long-term blocker or not.