<?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 How to merge data from 3 Flowfile as a UNION statement in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-merge-data-from-3-Flowfile-as-a-UNION-statement/m-p/411151#M252996</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello Folks,&lt;/P&gt;&lt;P&gt;I want to combine 3 FlowFiles using a UNION statement. I’ve already transformed the 3 FlowFiles to have the same schema and would like to merge them into a single content, structured like this:&lt;/P&gt;&lt;P&gt;FlowFile1 Content&lt;BR /&gt;UNION ALL&lt;BR /&gt;FlowFile2 Content&lt;BR /&gt;UNION ALL&lt;BR /&gt;FlowFile3 Content&lt;/P&gt;&lt;P&gt;I’d appreciate your help with this.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jul 2025 09:52:29 GMT</pubDate>
    <dc:creator>HoangNguyen</dc:creator>
    <dc:date>2025-07-03T09:52:29Z</dc:date>
    <item>
      <title>How to merge data from 3 Flowfile as a UNION statement</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-merge-data-from-3-Flowfile-as-a-UNION-statement/m-p/411151#M252996</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello Folks,&lt;/P&gt;&lt;P&gt;I want to combine 3 FlowFiles using a UNION statement. I’ve already transformed the 3 FlowFiles to have the same schema and would like to merge them into a single content, structured like this:&lt;/P&gt;&lt;P&gt;FlowFile1 Content&lt;BR /&gt;UNION ALL&lt;BR /&gt;FlowFile2 Content&lt;BR /&gt;UNION ALL&lt;BR /&gt;FlowFile3 Content&lt;/P&gt;&lt;P&gt;I’d appreciate your help with this.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 09:52:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-merge-data-from-3-Flowfile-as-a-UNION-statement/m-p/411151#M252996</guid>
      <dc:creator>HoangNguyen</dc:creator>
      <dc:date>2025-07-03T09:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge data from 3 Flowfile as a UNION statement</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-merge-data-from-3-Flowfile-as-a-UNION-statement/m-p/411159#M253001</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/128357"&gt;@HoangNguyen&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;There isn't an existing processor included with Apache NiFi capable of performing an UNION ALL against the contents of multiple FlowFiles. The JoinEnrichment is the only processor that can modify the contents of one FlowFile using the contents of another, but that only handles two FlowFiles (original FlowFile and enrichment FlowFile) in a single execution.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The other record orientated processor all perform actions against an individual record in a FlowFile.&lt;BR /&gt;&lt;BR /&gt;You may need to develop your own custom processor for such a task.&amp;nbsp; Something like the MergeRecord processor that bins like FlowFiles and then performs a UNION ALL on those binned FlowFiles.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You could also raise a Jira in Apache NiFi (&lt;A href="https://issues.apache.org/jira/browse/NIFI" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI&lt;/A&gt;) asking for a processor that can perform such an operation and maybe someone would attempt to build it if their us enough Apache Community interest.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You could also explore what Cloudera offers to its customers in terms of professional services that could help with building custom processors for Cloudera Flow Management offerings based off Apache NiFi.&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 13:36:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-merge-data-from-3-Flowfile-as-a-UNION-statement/m-p/411159#M253001</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-07-03T13:36:20Z</dc:date>
    </item>
  </channel>
</rss>

