[
https://issues.apache.org/jira/browse/NIFI-10998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Burgess reassigned NIFI-10998:
-----------------------------------
Assignee: Matt Burgess
> SplitJson does not honor latest setting for JsonPath Expression
> ---------------------------------------------------------------
>
> Key: NIFI-10998
> URL: https://issues.apache.org/jira/browse/NIFI-10998
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Matt Burgess
> Assignee: Matt Burgess
> Priority: Major
>
> Due to a behavior change in NIFI-10851 (being investigated separately as a
> possible regression), SplitJson will no longer recompile the latest setting
> for the JsonPath Expression property. This is due to a check in
> onPropertyModified() that oldValue not be null, but the new behavior is that
> oldValue is being set to null, preventing the cache from being cleared and
> the new expression compiled and cached.
> As this appears to be a very minor performance improvement (to not bother
> clearing the cache if it's the first time this property is set), I propose to
> clear the JsonPath Expression cache whenever the property is changed
> (regardless of its previous value).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)