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

Joseph Witt commented on NIFI-4024:
-----------------------------------

[~champagst] A key consideration here is that a given flowfile can contain one 
or many records.  Extracting a given record field to the flowfile attribute 
then has a potential complexity of being a many to one challenge.  
Alternatively, and by intent, if you need to ensure that all records of a given 
flowfile have some shared characteristic or perhaps field value you can use the 
upcoming nifi 1.3.0 PartitionRecord processor to ensure that for a given 
flowfile all records do indeed have some matching value.  It is powered by 
RecordPath and it extracts that matched value to an attribute.

> Create EvaluateRecordPath processor
> -----------------------------------
>
>                 Key: NIFI-4024
>                 URL: https://issues.apache.org/jira/browse/NIFI-4024
>             Project: Apache NiFi
>          Issue Type: New Feature
>            Reporter: Steve Champagne
>            Priority: Minor
>
> With the new RecordPath DSL, it would be nice if there was a processor that 
> could pull fields into attributes of the flowfile based on a RecordPath. This 
> would be similar to the EvaluateJsonPath processor that currently exists, 
> except it could be used to pull fields from arbitrary record formats. My 
> current use case for it would be pulling fields out of Avro records while 
> skipping the steps of having to convert Avro to JSON, evaluate JsonPath, and 
> then converting back to Avro. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to