<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to Extract  only  header of a csv file in NiFi ? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-Extract-only-header-of-a-csv-file-in-NiFi/m-p/321762#M228553</link>
    <description>&lt;P&gt;&lt;SPAN&gt;why do we need ReplaceText processor here, could you please explain?&amp;nbsp; .I just want to extract the header (1st row) . and do not want to replace the header with any other text.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jul 2021 06:43:13 GMT</pubDate>
    <dc:creator>Paul012</dc:creator>
    <dc:date>2021-07-30T06:43:13Z</dc:date>
    <item>
      <title>How to Extract  only  header of a csv file in NiFi ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Extract-only-header-of-a-csv-file-in-NiFi/m-p/321756#M228550</link>
      <description>&lt;P&gt;which processor can be used to extract(read) only the header( 1st row of the file) of a csv file.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 06:59:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Extract-only-header-of-a-csv-file-in-NiFi/m-p/321756#M228550</guid>
      <dc:creator>Paul012</dc:creator>
      <dc:date>2021-07-30T06:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to Extract  only  header of a csv file in NiFi ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Extract-only-header-of-a-csv-file-in-NiFi/m-p/321759#M228552</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can refer here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/55070778/extract-only-the-columns-header-from-the-csv-file-using-nifi" target="_blank"&gt;https://stackoverflow.com/questions/55070778/extract-only-the-columns-header-from-the-csv-file-using-nifi&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 06:36:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Extract-only-header-of-a-csv-file-in-NiFi/m-p/321759#M228552</guid>
      <dc:creator>Daming Xue</dc:creator>
      <dc:date>2021-07-30T06:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to Extract  only  header of a csv file in NiFi ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Extract-only-header-of-a-csv-file-in-NiFi/m-p/321762#M228553</link>
      <description>&lt;P&gt;&lt;SPAN&gt;why do we need ReplaceText processor here, could you please explain?&amp;nbsp; .I just want to extract the header (1st row) . and do not want to replace the header with any other text.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 06:43:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Extract-only-header-of-a-csv-file-in-NiFi/m-p/321762#M228553</guid>
      <dc:creator>Paul012</dc:creator>
      <dc:date>2021-07-30T06:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to Extract  only  header of a csv file in NiFi ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Extract-only-header-of-a-csv-file-in-NiFi/m-p/321858#M228576</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Once you extracted the header into Flowfile attribute using ExtractText processor, next you are going to convert the header flowfile attribute&amp;nbsp; into Flow file content OR you can keep the header value as in attribute ..The stack overflow explains about extracting header into flowfile attribute and next they have pass the headers as file into destination .To convert flowfile attribute to file/flowfile content ,we will have to use ReplaceText processor where you can pass flowfile attributes .. The success relationship of ReplaceText will only contains header in flowfile content and the original csv file will be replaced with header as content . The flowfile content, you can transfer to destination or next processor in the flow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this information you are looking for ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 20:12:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Extract-only-header-of-a-csv-file-in-NiFi/m-p/321858#M228576</guid>
      <dc:creator>adhishankarit</dc:creator>
      <dc:date>2021-07-30T20:12:02Z</dc:date>
    </item>
  </channel>
</rss>

