You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ronnie Dove (JIRA)" <ji...@apache.org> on 2016/11/25 19:18:58 UTC

[jira] [Updated] (NIFI-3102) JsonSplit Option To Copy All Attributes

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

Ronnie Dove updated NIFI-3102:
------------------------------
    Description: 
It would be nice if the newly splitted JSON flow file could include all the attributes from the source JSON file.  In order to add support, add the following line to SplitJson.java near line 210... perhaps wrapping it in an property that is true/false if copying is enabled for split flowfile output:

            split = processSession.putAllAttributes(split, original.getAttributes());


  was:
It would be nice if the newly splitted JSON could flow file could include all the attributes from the source JSON file.  In order to add support, add the following line to SplitJson.java near line 210... perhaps wrapping it in an property that is true/false if copying is enabled for split flowfile output:

            split = processSession.putAllAttributes(split, original.getAttributes());



> JsonSplit Option To Copy All Attributes
> ---------------------------------------
>
>                 Key: NIFI-3102
>                 URL: https://issues.apache.org/jira/browse/NIFI-3102
>             Project: Apache NiFi
>          Issue Type: Improvement
>    Affects Versions: 1.0.0
>            Reporter: Ronnie Dove
>            Priority: Minor
>
> It would be nice if the newly splitted JSON flow file could include all the attributes from the source JSON file.  In order to add support, add the following line to SplitJson.java near line 210... perhaps wrapping it in an property that is true/false if copying is enabled for split flowfile output:
>             split = processSession.putAllAttributes(split, original.getAttributes());



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)