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

ASF GitHub Bot commented on NIFI-2465:
--------------------------------------

Github user bbende commented on the issue:

    https://github.com/apache/nifi/pull/863
  
    I made one small change to also evaluate the record name and num records to 
analyze when doing JSON, but other than that looks good and merged to master, 
thanks!


> InferAvroSchema not evaluating EL against incoming FlowFile
> -----------------------------------------------------------
>
>                 Key: NIFI-2465
>                 URL: https://issues.apache.org/jira/browse/NIFI-2465
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 0.5.0, 0.5.1, 0.7.0, 0.6.1
>            Reporter: Bryan Bende
>            Assignee: Simon Elliston Ball
>            Priority: Minor
>             Fix For: 1.1.0
>
>
> Many of the properties in InferAvroSchema support expression language, but 
> don't evaluate it against an incoming flow file. 
> Some examples:
> {code}
> context.getProperty(RECORD_NAME).evaluateAttributeExpressions().getValue()
> context.getProperty(HEADER_LINE_SKIP_COUNT).evaluateAttributeExpressions().asInteger()
> context.getProperty(ESCAPE_STRING).evaluateAttributeExpressions().getValue()  
>    
> context.getProperty(QUOTE_STRING).evaluateAttributeExpressions().getValue()
> {code}
> These should all use the incoming flow file.



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

Reply via email to