You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Tamas Palfy (Jira)" <ji...@apache.org> on 2021/02/23 16:20:00 UTC

[jira] [Updated] (NIFI-8252) ForkRecord with Extract Mode produces null results

     [ 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 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. 


> 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)