Hi, I'm having 2 issues with output schema definition:
- I can't make
transformations.unwindwork, the table only showsundefinedvalues -> Is there a working example I can check somewhere? - When instead using
transformations.flatten, it seems the table can't show fields witharrayorobjectformat, it showsundefinedinstead. Am I missing something here?
For reference, my result is formatted like this, and i want to unwind/flatten the data part:
[
{
"metadata": {
"timestamp": "2024-07-08T09:51:31.942Z",
"run_id": "lWmckTaBAlbeKTM33"
},
"data": {
"url": "some_url.com",
"title": "some title",
"attributes": ["a", "b"]
}
},
{...}
]
And I'd like the table to show the columns:
- "metadata" as
object(this works) - "url" as
link(works only when usingflatten, notunwind) - "title" as
text(same) - "attributes" as
array(showsundefined)
Here is the docs I've been using https://docs.apify.com/platform/actors/development/actor-definition/output-schema