You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Timothy Fleming (Jira)" <ji...@apache.org> on 2020/08/11 19:27:00 UTC
[jira] [Created] (NIFI-7729) ScriptedTransformRecord doesn't update
record with inferred schema
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)