The new state process API works great to bootstrap a state object in an operator. However, I could not find any example of how to bootstrap multiple states from a single operator. Looking at the code it appears to be not supported. Wonder if anyone has suggestion on how to solve this problem. My use case is that I have implemented a customized join operator that contains left and right state. I need to bootstrap both state with data from hive tables.
The only solution I can see would be to construct a single DataSet holding a type that can hold all the data, such as a Tuple or a Map (for each key), and then use that single compound DataSet to bootstrap all of the states.