Daniel Cave created NIFI-1933:
---------------------------------
Summary: SplitJson enhancements for flowfile names and additional
options
Key: NIFI-1933
URL: https://issues.apache.org/jira/browse/NIFI-1933
Project: Apache NiFi
Issue Type: Improvement
Components: Extensions
Reporter: Daniel Cave
Priority: Minor
Fix For: 1.0.0, 0.7.0
1) SplitJson output flowfiles are replicating the parent filename across all
children. This results in overwriting of failure if trying to write the files
without later renaming in another processor (that may or may not result in
meaningful names). SplitJson will now rename children with an appended index
number to the parent: <parent filename>-<child index>.json
2) SplitJson now has the option to include the split upon element as the new
root element of each split. This configurable and disabled by default to
conform with backwards compatibility.
3) SplitJson now will correctly handle single element splits and no longer
simply fail due to the element not being an array. Also configurable and
disabled by default.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)