[
https://issues.apache.org/jira/browse/NIFI-4560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16237056#comment-16237056
]
ASF GitHub Bot commented on NIFI-4560:
--------------------------------------
GitHub user andrewmlim opened a pull request:
https://github.com/apache/nifi/pull/2249
NIFI-4560 Added mime.type and record.count Write Attributes to Valida…
…teRecord doc
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/andrewmlim/nifi NIFI-4560
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/2249.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2249
----
commit a635e6049191981af11c32b12250e3302316439a
Author: Andrew Lim <[email protected]>
Date: 2017-11-03T03:53:05Z
NIFI-4560 Added mime.type and record.count Write Attributes to
ValidateRecord doc
----
> 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
> Assignee: Andrew Lim
> Priority: Major
>
> 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)