[ 
https://issues.apache.org/jira/browse/NIFI-8252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tamas Palfy updated NIFI-8252:
------------------------------
    Description: 
*ForkRecord* can extract sub-records from an array field of a record.
If the _Mode_ property is set to _Extract_ it should extract the sub-records 
and write only those to the _fork_ relationship.
However the result shows records with the original schema with all the fields 
set to _null_.

The issue is probably that the RecordSetWriter is created with the original 
schema.

Attached template. 

  was:
*ForkRecord* can extract sub-records from an array field of a record.
If the _Mode_ property is set to _Extract_ it should extract the sub-records 
and write only those to the _fork_ relationship.
However the result shows record with the original schema with all the fields 
set to _null_.

The issue is probably that the RecordSetWriter is created with the original 
schema.

Attached template. 


> ForkRecord with Extract Mode produces null results
> --------------------------------------------------
>
>                 Key: NIFI-8252
>                 URL: https://issues.apache.org/jira/browse/NIFI-8252
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Tamas Palfy
>            Priority: Major
>         Attachments: fork_record_bug.xml
>
>
> *ForkRecord* can extract sub-records from an array field of a record.
> If the _Mode_ property is set to _Extract_ it should extract the sub-records 
> and write only those to the _fork_ relationship.
> However the result shows records with the original schema with all the fields 
> set to _null_.
> The issue is probably that the RecordSetWriter is created with the original 
> schema.
> Attached template. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to