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

Matt Burgess commented on NIFI-962:
-----------------------------------

Even Avro itself doesn't have this yet: 
https://issues.apache.org/jira/browse/AVRO-992.  Perhaps we should work with 
Avro folks on the spec.

> Create a processor to evaluate Avro paths
> -----------------------------------------
>
>                 Key: NIFI-962
>                 URL: https://issues.apache.org/jira/browse/NIFI-962
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Bryan Bende
>            Assignee: Bryan Bende
>            Priority: Minor
>
> Evaluate a set of Avro paths against an incoming file, and extract the 
> results to FlowFile attributes, or to the content of the FlowFile, similar to 
> EvaluateJsonPath. This would allow downstream processors to easily make 
> decisions based on values in an Avro record, such as RouteOnAttribute.
> This would be particularly useful to use in conjunction with SplitAvro 
> (NIFI-919) to make routing decisions on bare avro records.
> Flume has a similar concept in Morphlines that may be useful to look at:
> https://github.com/cloudera/cdk/blob/master/cdk-morphlines/cdk-morphlines-avro/src/main/java/com/cloudera/cdk/morphline/avro/ExtractAvroPathsBuilder.java



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

Reply via email to