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:13:58 UTC

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

Ronnie Dove created NIFI-3102:
---------------------------------

             Summary: 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 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());




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