<?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 aggregate csv or json data in Nifi? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-aggregate-csv-or-json-data-in-Nifi/m-p/219700#M66730</link>
    <description>&lt;P&gt;It worked! thank you so much.&lt;BR /&gt;can this query record make aggregation in real time manner?&lt;BR /&gt;like ill accept data every second then go save it in hbase, but i always should update the data in hbase.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Aug 2017 10:09:12 GMT</pubDate>
    <dc:creator>regie_canada</dc:creator>
    <dc:date>2017-08-17T10:09:12Z</dc:date>
    <item>
      <title>How to aggregate csv or json data in Nifi?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-aggregate-csv-or-json-data-in-Nifi/m-p/219698#M66728</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How can i aggregate my csv data in nifi? Can you please give me options.&lt;/P&gt;&lt;P&gt;I have csv coming every hour.&lt;/P&gt;&lt;P&gt;For example my csv data is:&lt;/P&gt;&lt;P&gt;Name, Subject&lt;/P&gt;&lt;P&gt;stud1, math&lt;/P&gt;&lt;P&gt;stud2, english&lt;/P&gt;&lt;P&gt;stud3, math&lt;/P&gt;&lt;P&gt;stud4, math&lt;/P&gt;&lt;P&gt;stud5, english&lt;/P&gt;&lt;P&gt;stud6, science&lt;/P&gt;&lt;P&gt;My needed output is: &lt;/P&gt;&lt;P&gt;math, 3&lt;/P&gt;&lt;P&gt;english, 2&lt;/P&gt;&lt;P&gt;science, 1&lt;/P&gt;&lt;P&gt;Can i make this without using any execute scripts?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 16:53:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-aggregate-csv-or-json-data-in-Nifi/m-p/219698#M66728</guid>
      <dc:creator>regie_canada</dc:creator>
      <dc:date>2017-08-16T16:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to aggregate csv or json data in Nifi?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-aggregate-csv-or-json-data-in-Nifi/m-p/219699#M66729</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think you can do that with the QueryRecord processor. Add a new property, whatever the name and the content may be something like "select Subject, count(Name) as nb from flowfile group by Subject".&lt;/P&gt;&lt;P&gt;Set correctly the schemas for the reader and the writer and you will find the result of the query as a new relationship of your processor. (A new relationship with the name of your property will appear)&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 20:59:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-aggregate-csv-or-json-data-in-Nifi/m-p/219699#M66729</guid>
      <dc:creator>quentin_toulou</dc:creator>
      <dc:date>2017-08-16T20:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to aggregate csv or json data in Nifi?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-aggregate-csv-or-json-data-in-Nifi/m-p/219700#M66730</link>
      <description>&lt;P&gt;It worked! thank you so much.&lt;BR /&gt;can this query record make aggregation in real time manner?&lt;BR /&gt;like ill accept data every second then go save it in hbase, but i always should update the data in hbase.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 10:09:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-aggregate-csv-or-json-data-in-Nifi/m-p/219700#M66730</guid>
      <dc:creator>regie_canada</dc:creator>
      <dc:date>2017-08-17T10:09:12Z</dc:date>
    </item>
  </channel>
</rss>

