Hi All,
when using the MergeContent processor I'm getting an avro.SchemaParseException due to $ characters in a nested attribute name ($.Snapshot.Events.['$values'][0].SportsUrn) in a json file. I have tried to fix it with the UpdateAttribute processor, but it won't work. What would be the best way to handle this exception?
Your support is highly appreciated!
Thanks
Created 12-09-2019 02:00 PM
You may want to use the replaceText processor to update your FlowFile's json content.
My suggestion would be to replace all occurrences of $ with either \$ or \\$
Hope this helps,
Matt
Created 12-09-2019 02:00 PM
You may want to use the replaceText processor to update your FlowFile's json content.
My suggestion would be to replace all occurrences of $ with either \$ or \\$
Hope this helps,
Matt
Created 12-10-2019 07:28 AM
Hi Matt, thanks - works fine for me!