I *think* you can return a map to updateStateByKey which would include your fields. Another approach would be to create a hash (like create a json version of the hash and return that.)
On Wed, Nov 30, 2016 at 12:30 PM, shyla deshpande <deshpandesh...@gmail.com> wrote: > updateStateByKey - Can this be used when the key is multi-column (like a > composite key ) and the value is not numeric. All the examples I have come > across is where the key is a simple String and the Value is numeric. > > Appreciate any help. > > Thanks >