Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

NiFi 1.3+ Multiple Schemas

avatar
Master Guru

Can I have one schema for read and one for write on an UpdateRecord processor?

1 ACCEPTED SOLUTION

avatar
@Timothy Spann

You can change schema between read and write for UpdateRecord processor. You just need to use different schemas for your reader/writer and reference the new fields in your processor to set their values.

There's an example in additional info section of the doc : https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.4.0/org.apache...

In the given example you can see that field gender has been added

View solution in original post

2 REPLIES 2

avatar
New Member

Yes, you can use one schema for read and a different one for write

avatar
@Timothy Spann

You can change schema between read and write for UpdateRecord processor. You just need to use different schemas for your reader/writer and reference the new fields in your processor to set their values.

There's an example in additional info section of the doc : https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.4.0/org.apache...

In the given example you can see that field gender has been added