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: How to find and then replace multiple words using ONE ReplaceText processor

NiFi: How to find and then replace multiple words using ONE ReplaceText processor

@Shu @Matt Burgess @Geoffrey Shelton Okot

Hi,

Requirement: How to find and then replace multiple words using ONE ReplaceText processor

Scenario:

  • We have a .csv file coming from source with 2500 columns and, NOTE, the placement of columns are not fix.
  • We need to change names of the columns
  • We have achieved it by using one ReplaceText processor, each, to search for each column name, as it can come any where, and then replace it with requirement column name.

Aim:

  • Aim is to use ONE ReplaceText processor to achieve above i.e find all the columns and replace all in one go.

Looking forward for a quick solution.

Cheers

Don't have an account?
Coming from Hortonworks? Activate your account here