'Why does StateFul DoFn require KV tuple in python?
I am trying to read Json object from Pubsub, and after converting it to Python Dict, if I try to pass the Dict in my Stateful DoFn, I encounter this error. 'Input value to a stateful DoFn or KeyParam must be a KV tuple; ' Why is it required to assign a key to my existing dict for stateful DoFn?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
