[ 
https://issues.apache.org/jira/browse/NIFI-912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14737074#comment-14737074
 ] 

Bryan Bende commented on NIFI-912:
----------------------------------

Sean, good call on the documentation suggestions. 

I see what you mean about calling it "record count", maybe we can call it "item 
count" since Avro uses "item" in the Javadoc description for getBlockCount().
In the case of the array schema, you can still set "Count Records" to true, but 
it will be counting the number of arrays, not total number of entries in all 
arrays. 
In that test case it produces 1 because there was only 1 Array written.



> Support extracting metadata from Avro file headers
> --------------------------------------------------
>
>                 Key: NIFI-912
>                 URL: https://issues.apache.org/jira/browse/NIFI-912
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Bryan Bende
>            Assignee: Bryan Bende
>            Priority: Minor
>             Fix For: 0.4.0
>
>         Attachments: NIFI-912-2.patch, NIFI-912.patch
>
>
> Extract metadata from Avro file headers to FlowFile attributes so that 
> downstream processors can make decisions, such as merging together records of 
> compatible schemas (i.e. the correlation attribute).
> Information to extract:
> - Schema definition (full, not fp)
> - Schema fingerprint
> - Schema root record name (if schema is a record)
> - Key/value metadata, like compression codec



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to