Github user olegz commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/1394#discussion_r101050962
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/SplitText.java
 ---
    @@ -326,6 +329,27 @@ public void process(InputStream in) throws IOException 
{
             return splitFlowFiles;
         }
     
    +    /**
    +     * Will merge the two files. This operation has different semantics 
then
    +     * sessioin.merge. Also, it always expects 2 and no more then 2 flow 
files,
    +     * so vararg signature primarily for simplification.
    +     */
    +    private FlowFile merge(ProcessSession session, FlowFile... flowFiles) {
    +        FlowFile mergedFlowFile = session.create();
    --- End diff --
    
    Koji, as you can see, there are no source/target files here. Just an array 
of FlowFiles that need to be concatenated in the order they were provided. It 
is a simple internal utility operation which requires no provenance. 
    The fact that I am storing header information in what essentially is a 
temporary FlowFile, does not mean I am deriving A from B. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to