I have an avro schema that I can get from a registry:
{
"name": "bar_tbl",
"fields": [
{ "name": "foo1", "type": "string" },
{ "name": "foo2", "type": "string" }
]
}
I know how to use `EvaluateJsonPath` and get `name` and `fields`.
I'd like to set an attribute with `UpdateAttribute` to equal:
select foo1, foo2 from bar_tbl
to use it later downstream in another processor.
How can I achieve this?
Or, more directly, I have a REST api that takes an url-encoded sql statement. How can I feed the sql statement to `InvokeHttp`?