Skip to main content
Jacccs
Bronze ⭐️⭐️⭐️
September 1, 2022
Solved

Extract a column from csv

I have a csv with 50 columns, is there a way to grab a specific column by it's header name and move it in a separate flow file for further processing?

SAMSAL
SAMSALAnswer
Platinum ⭐️⭐️⭐️
September 1, 2022

Hi ,

 

you can use QueryRecord Processor. For more information please see:

https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.12.1/org.apache.nifi.processors.standard.QueryRecord/additionalDetails.html

If you find this helpful please accept solution. Thanks

1 reply

SAMSAL
SAMSALAnswer
Platinum ⭐️⭐️⭐️
September 1, 2022

Hi ,

 

you can use QueryRecord Processor. For more information please see:

https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.12.1/org.apache.nifi.processors.standard.QueryRecord/additionalDetails.html

If you find this helpful please accept solution. Thanks

Translate