Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

NiFi 1.3+ Multiple Schemas

Solved Go to solution
Highlighted

NiFi 1.3+ Multiple Schemas

Super Guru

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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: NiFi 1.3+ Multiple Schemas

@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

2 REPLIES 2

Re: NiFi 1.3+ Multiple Schemas

New Contributor

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

Re: NiFi 1.3+ Multiple Schemas

@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