Hi,
It is possible to use ConvertRecord with a CSVRecordSetWriter.
There is a property "include header line" true/false on that processor.
hope that helps.
Carl

On Wed, Aug 2, 2017 at 2:36 AM, mayank rathi <mayank.ra...@gmail.com> 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