[
https://issues.apache.org/jira/browse/NIFI-8269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18043699#comment-18043699
]
Matt Burgess edited comment on NIFI-8269 at 12/9/25 4:17 PM:
-------------------------------------------------------------
I'm getting an error with ForkRecord on my input (flow def attached above)
about casting DataType to ArrayDataType. This is when I add a user-defined
property "/workflow/sessionTask". If I use "//sessionTask" it works correctly,
but is that expected? I would think in my input both should resolve to the same
array? [~markap14]
was (Author: mattyb149):
Not sure if it's my setup or not, but I'm getting an error with ForkRecord on
my input about casting DataType to ArrayDataType.
> Improve ForkRecord to inherit schema from the array being forked
> ----------------------------------------------------------------
>
> Key: NIFI-8269
> URL: https://issues.apache.org/jira/browse/NIFI-8269
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Pierre Villard
> Assignee: Pierre Villard
> Priority: Major
> Attachments: NIFI-8269_array_error.json
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> At the moment the ForkRecord processor will require the writer to be
> configured with a schema corresponding to what will be output. We could make
> things more clever to inherit the schema from the reader and change it based
> on the operation being performed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)