[
https://issues.apache.org/jira/browse/NIFI-4552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16227153#comment-16227153
]
ASF GitHub Bot commented on NIFI-4552:
--------------------------------------
GitHub user andrewmlim opened a pull request:
https://github.com/apache/nifi/pull/2242
NIFI-4552 Add mime.type and record.count Write Attributes to QueryRec…
…ord doc
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/andrewmlim/nifi NIFI-4552
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/2242.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 #2242
----
commit 9d77f4c484ef80fd5c55b9d1bd46b9f03f961871
Author: Andrew Lim <[email protected]>
Date: 2017-10-31T17:24:16Z
NIFI-4552 Add mime.type and record.count Write Attributes to QueryRecord doc
----
> Add mime.type and record.count to @WritesAttributes doc for QueryRecord
> -----------------------------------------------------------------------
>
> Key: NIFI-4552
> URL: https://issues.apache.org/jira/browse/NIFI-4552
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: Matt Burgess
> Assignee: Andrew Lim
>
> Currently (NiFi 1.4.0) QueryRecord 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 QueryRecord 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 QueryRecord.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)