pgyori commented on pull request #5121:
URL: https://github.com/apache/nifi/pull/5121#issuecomment-854002406
At this point the PR is a draft.
NiFi Record handling has been enhanced to support the removal of fields.
At this point it supports:
- removal of fields from records
- removal of fields from nested records (deep structures are handled)
- removal of fields from schemas when actual data is not present in the
record
- only the handling of primitive types and type RECORD.
Not yet supported:
- the handling of the following types: MAP, CHOICE, ARRAY, ENUM.
The way field removal is triggered will be changed. Currently in
UpdateRecord, a new dynamic property needs to be added, the name of the
property should be the RecordPath to the field that needs to be removed and the
value should be marked empty. Also, Replacement Value Strategy needs to be set
to Record Path Value.
The unit tests have not yet been pushed. Those will arrive in a future
commit.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]