Hello,

You should be able to do this with ReplaceText, using a Replacement Strategy
of Prepend. The Replacement Value would then be the header that you want to add 
to the
beginning of the file.

Thanks
-Mark


> On Aug 2, 2017, at 3:36 AM, mayank rathi <[email protected]> wrote:
> 
> Hello All,
> 
> I am working on a NiFi flow to read data from a database and dump it into a
> CSV file.
> 
> I will use ExecuteSQL to read data and PutFile to generate CSV file.
> 
> Which processor can I use to add header to this CSV file?
> 
> Thanks in advance
> MR
> 
> -- 
> NOTICE: This email message is for the sole use of the intended recipient(s)
> and may contain confidential and privileged information. Any unauthorized
> review, use, disclosure or distribution is prohibited. If you are not the
> intended recipient, please contact the sender by reply email and destroy
> all copies of the original message.

Reply via email to