You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The given flow is not working since JQ filter requires a JsonNode to do its thing (which we get using Jackson readTree). We should transform resulting ObjectNodes / ArrayNodes into Map / List to allow Pebble reading attributes down the line
Expected Behavior
No response
Actual Behaviour
The given flow is not working since JQ filter requires a JsonNode to do its thing (which we get using Jackson readTree). We should transform resulting ObjectNodes / ArrayNodes into Map / List to allow Pebble reading attributes down the line
Steps To Reproduce
No response
Environment Information
Example flow
id: jq
namespace: io.kestra.bmu
tasks:
id: json
type: io.kestra.core.tasks.debugs.Return
format: |
{
"name": "test",
"checks": [
{ "table": "worker" },
{ "table": "employee" }
]
}
id: log_test
type: io.kestra.core.tasks.log.Log
message: |
{% for check in outputs['json'].value | jq('.checks[]') %}
{{ check.table }}
{% endfor %}
The text was updated successfully, but these errors were encountered: