<?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: [Nifi] How do I split  comma separrated text file  not for one line, but for a several line files? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-How-do-I-split-comma-separrated-text-file-not-for-one/m-p/343291#M233892</link>
    <description>&lt;P&gt;Hello! tank you for such a detailed answer. Will it work if I have a .txt file as a source? Or should I convert it to csv somethow first?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 May 2022 06:04:56 GMT</pubDate>
    <dc:creator>Brenigan</dc:creator>
    <dc:date>2022-05-06T06:04:56Z</dc:date>
    <item>
      <title>[Nifi] How do I split  comma separrated text file  not for one line, but for a several line files?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-How-do-I-split-comma-separrated-text-file-not-for-one/m-p/343234#M233877</link>
      <description>&lt;P&gt;Hello! Sorry for my english. I am completely new to nifi and I am learning SplitText processor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So here's the case. I have the comma separated txt file, something like this:&lt;/P&gt;&lt;P&gt;KeyWord, SomeInformation&amp;nbsp; &amp;nbsp;&amp;lt;---1st line is schema.&lt;/P&gt;&lt;P&gt;KeyWord1, "information"&lt;/P&gt;&lt;P&gt;KeyWord2, "information"&lt;/P&gt;&lt;P&gt;KeyWord1, "another information"&lt;/P&gt;&lt;P&gt;KeyWord2, "another information"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and so on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the question is how can I split this file on a few files based on KeyWord? So the every line with KeyWord1 go to one file, every line with KeyWord2 go to another file and so on?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you beforehand!&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 16:09:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-How-do-I-split-comma-separrated-text-file-not-for-one/m-p/343234#M233877</guid>
      <dc:creator>Brenigan</dc:creator>
      <dc:date>2022-05-05T16:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: [Nifi] How do I split  comma separrated text file  not for one line, but for a several line files?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-How-do-I-split-comma-separrated-text-file-not-for-one/m-p/343241#M233880</link>
      <description>&lt;P&gt;if this is a csv file where the first line is the header, you can easily split the source into two flowfiles: one containing all keyword1 rows and another containing all keyword2 rows using QueryRecord Processor. After you set you record writer\reader to CSV you can create two dynamic properties representing each keyword,&amp;nbsp; and set the query as follows:&lt;/P&gt;&lt;P&gt;Keyword1: SELECT * FROM FLOWFILE WHERE KeyWord like 'KeyWord1'&lt;/P&gt;&lt;P&gt;Keyword2: SELECT * FROM FLOWFILE WHERE KeyWord like 'KeyWord2'&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 19:48:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-How-do-I-split-comma-separrated-text-file-not-for-one/m-p/343241#M233880</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2022-05-05T19:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: [Nifi] How do I split  comma separrated text file  not for one line, but for a several line files?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-How-do-I-split-comma-separrated-text-file-not-for-one/m-p/343291#M233892</link>
      <description>&lt;P&gt;Hello! tank you for such a detailed answer. Will it work if I have a .txt file as a source? Or should I convert it to csv somethow first?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 06:04:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-How-do-I-split-comma-separrated-text-file-not-for-one/m-p/343291#M233892</guid>
      <dc:creator>Brenigan</dc:creator>
      <dc:date>2022-05-06T06:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: [Nifi] How do I split  comma separrated text file  not for one line, but for a several line files?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-How-do-I-split-comma-separrated-text-file-not-for-one/m-p/343342#M233902</link>
      <description>&lt;P&gt;It should not matter if the format of the text inside is like csv.&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 13:11:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-How-do-I-split-comma-separrated-text-file-not-for-one/m-p/343342#M233902</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2022-05-06T13:11:47Z</dc:date>
    </item>
  </channel>
</rss>

