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/11/01 18:50:00 UTC
[jira] [Updated] (NIFI-4552) Add mime.type and record.count to
@WritesAttributes doc for QueryRecord
[ https://issues.apache.org/jira/browse/NIFI-4552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Burgess updated NIFI-4552:
-------------------------------
Status: Patch Available (was: Open)
> 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
> Priority: Major
>
> 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)