Timothy Fleming created NIFI-7729:
-------------------------------------

             Summary: ScriptedTransformRecord doesn't update record with 
inferred schema
                 Key: NIFI-7729
                 URL: https://issues.apache.org/jira/browse/NIFI-7729
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework
    Affects Versions: 1.12.0
         Environment: Linux, 
            Reporter: Timothy Fleming


Using ScriptedTransformRecord with JsonTreeReader.  The Record schema is 
inferred from the json.  If I update the record in code, e.g.

{{record.setValue('newfieldname', 'newfieldvalue')}}

The JsonRecordSetWriter apparently doesn't update the schema and doesn't write 
the new field.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to