How to do simple data manipulation or enrichment?
Usually, in a pipeline, you do with DataFlow job, but are there options in Cloud Workflows to do that sort of thing?
How to do simple data manipulation or enrichment?
Usually, in a pipeline, you do with DataFlow job, but are there options in Cloud Workflows to do that sort of thing?
You can achieve this functionality by declaring a
Dictionary
and reusing to collect things on the go.The caveat is that you need to retype all the keys again when you add a new value, as variable reference, merge keys, or YAML anchors are not yet implemented.
So if you start with:
you could later add a key from another result, like from Wikipedia like this:
here is a full
wikipedia_enrichment.yaml
sequence for you.