Bryan Bende created NIFI-2465:
---------------------------------

             Summary: 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.6.1, 0.7.0, 0.5.1, 0.5.0
            Reporter: Bryan Bende
            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