Matt Burgess created NIFI-4560:
----------------------------------

             Summary: Add mime.type and record.count to @WritesAttributes doc 
for ValidateRecord
                 Key: NIFI-4560
                 URL: https://issues.apache.org/jira/browse/NIFI-4560
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Extensions
    Affects Versions: 1.4.0
            Reporter: Matt Burgess


Currently (NiFi 1.4.0) ValidateRecord will transfer any attributes from the 
WriteResult to the outgoing FlowFile, but I don't think there are any (for a 
query) at the time of this writing. However the ValidateRecord processor also 
updates the "mime.type" attribute based on the RecordSetWriter chosen, and also 
sets the "record.count" attribute to the number of records that match the query.

None of the aforementioned are in the processor documentation; if the 
WriteResult ones are premature to mention that's ok, but we should add the 
mime.type and record.count attributes to the documentation for ValidateRecord.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to