You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2020/08/11 20:40:00 UTC
[jira] [Updated] (NIFI-7729) ScriptedTransformRecord doesn't update
record with inferred schema
[ https://issues.apache.org/jira/browse/NIFI-7729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Payne updated NIFI-7729:
-----------------------------
Fix Version/s: 1.12.0
Status: Patch Available (was: Open)
> 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
> Assignee: Mark Payne
> Priority: Major
> Fix For: 1.12.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)