<?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: Pivot one column to rows from CSV file  along with other fields in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Pivot-one-column-to-rows-from-CSV-file-along-with-other/m-p/278057#M207816</link>
    <description>&lt;P&gt;For this usecase the most natural solution is probably as follows:&lt;/P&gt;&lt;P&gt;1. Send message to a script for processing&lt;/P&gt;&lt;P&gt;2. Let the script turn your 1 row into an output of N rows&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Optional: Split the rows in Nifi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Sep 2019 16:07:55 GMT</pubDate>
    <dc:creator>DennisJaheruddi</dc:creator>
    <dc:date>2019-09-23T16:07:55Z</dc:date>
    <item>
      <title>Pivot one column to rows from CSV file  along with other fields</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Pivot-one-column-to-rows-from-CSV-file-along-with-other/m-p/277717#M207652</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a CSV file where the last column has pipe-delimited text which needs to be split up on pipe and I have to pivot it into rows. The last column can have any number of values with pipe-delimited and it varies by each row. How can we accomplish this in NIFI?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ex:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A, B,&amp;nbsp; C|D&lt;/P&gt;&lt;P&gt;X, Y,&amp;nbsp; X|Y|Z|B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above file has to be converted to&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A, B, C&lt;/P&gt;&lt;P&gt;A, B, D&lt;/P&gt;&lt;P&gt;X, Y, X&lt;/P&gt;&lt;P&gt;X, Y, Y&lt;/P&gt;&lt;P&gt;X, Y, Z&lt;/P&gt;&lt;P&gt;X, Y, B&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 22:47:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Pivot-one-column-to-rows-from-CSV-file-along-with-other/m-p/277717#M207652</guid>
      <dc:creator>budati</dc:creator>
      <dc:date>2019-09-18T22:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot one column to rows from CSV file  along with other fields</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Pivot-one-column-to-rows-from-CSV-file-along-with-other/m-p/278057#M207816</link>
      <description>&lt;P&gt;For this usecase the most natural solution is probably as follows:&lt;/P&gt;&lt;P&gt;1. Send message to a script for processing&lt;/P&gt;&lt;P&gt;2. Let the script turn your 1 row into an output of N rows&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Optional: Split the rows in Nifi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 16:07:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Pivot-one-column-to-rows-from-CSV-file-along-with-other/m-p/278057#M207816</guid>
      <dc:creator>DennisJaheruddi</dc:creator>
      <dc:date>2019-09-23T16:07:55Z</dc:date>
    </item>
  </channel>
</rss>

