You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (JIRA)" <ji...@apache.org> on 2017/10/31 00:58:00 UTC
[jira] [Created] (NIFI-4552) Add mime.type and record.count to
@WritesAttributes doc for QueryRecord
Matt Burgess created NIFI-4552:
----------------------------------
Summary: 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
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)