<?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 ETL  lookup transformation equivalent in Nifi in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ETL-lookup-transformation-equivalent-in-Nifi/m-p/154938#M44748</link>
    <description>&lt;P&gt;I am evaluating Apache Nifi for moving data to Hive instance in HDP. While moving the data to Hive, I am having a requirement to mask/transform some of the data attributes using a lookup table similar to what can be done in traditional ETL lookup transformations. How can I achieve the same in Nifi ?&lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2016 16:57:58 GMT</pubDate>
    <dc:creator>vmaroli</dc:creator>
    <dc:date>2016-10-28T16:57:58Z</dc:date>
    <item>
      <title>ETL  lookup transformation equivalent in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ETL-lookup-transformation-equivalent-in-Nifi/m-p/154938#M44748</link>
      <description>&lt;P&gt;I am evaluating Apache Nifi for moving data to Hive instance in HDP. While moving the data to Hive, I am having a requirement to mask/transform some of the data attributes using a lookup table similar to what can be done in traditional ETL lookup transformations. How can I achieve the same in Nifi ?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 16:57:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ETL-lookup-transformation-equivalent-in-Nifi/m-p/154938#M44748</guid>
      <dc:creator>vmaroli</dc:creator>
      <dc:date>2016-10-28T16:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: ETL  lookup transformation equivalent in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ETL-lookup-transformation-equivalent-in-Nifi/m-p/154939#M44749</link>
      <description>&lt;P&gt;did you find anything on this?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 17:35:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ETL-lookup-transformation-equivalent-in-Nifi/m-p/154939#M44749</guid>
      <dc:creator>anubhav_r_raika</dc:creator>
      <dc:date>2016-11-23T17:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: ETL  lookup transformation equivalent in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ETL-lookup-transformation-equivalent-in-Nifi/m-p/154940#M44750</link>
      <description>&lt;P&gt;one easy way to do this is to wrap lookups in a REST API and call it as a step. (InvokeHTTP)&lt;/P&gt;&lt;P&gt;another way is to wrap lookups in a command line call and call it as a step (ExecuteStreamCommand)&lt;/P&gt;&lt;P&gt;Another option is with a custom processor&lt;/P&gt;&lt;P&gt;Another option is to create a custom UDF function in Hive that converts data and then run that.&lt;/P&gt;&lt;P&gt;Another option is to do ETL lookup transformations in Spark, Storm, Flink and call via Site-To-Site or Kafka&lt;/P&gt;&lt;P&gt;Load the lookup values into the DistributedMapCache and use them for replacements&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.PutDistributedMapCache/index.html"&gt;PutDistributedMapCache&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;FetchDistributedMapCache&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Load lookup tables via SQL&lt;/P&gt;&lt;P&gt;ExecuteScript or ExecuteCommand for looking up data to replace&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.ReplaceTextWithMapping/index.html" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.ReplaceTextWithMapping/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;to pull mappings from a file created from your tables.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/36464/how-to-use-nifi-to-incrementally-ingest-data-from.html" target="_blank"&gt;https://community.hortonworks.com/questions/36464/how-to-use-nifi-to-incrementally-ingest-data-from.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Or &lt;A href="https://community.hortonworks.com/questions/37733/which-nifi-processor-can-send-a-flowfile-to-a-runn.html" target="_blank"&gt;https://community.hortonworks.com/questions/37733/which-nifi-processor-can-send-a-flowfile-to-a-runn.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Lookup Table Service&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/aperepel/nifi-csv-bundle/blob/master/nifi-csv-processors/src/main/java/org/apache/nifi/processors/lookup/GetLookupTable.java" target="_blank"&gt;https://github.com/aperepel/nifi-csv-bundle/blob/master/nifi-csv-processors/src/main/java/org/apache/nifi/processors/lookup/GetLookupTable.java&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Use HBase for your lookups&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.hbase.GetHBase/" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.hbase.GetHBase/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 05:31:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ETL-lookup-transformation-equivalent-in-Nifi/m-p/154940#M44750</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-11-24T05:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: ETL  lookup transformation equivalent in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ETL-lookup-transformation-equivalent-in-Nifi/m-p/154941#M44751</link>
      <description>&lt;P&gt;Hi Timothy,&lt;/P&gt;&lt;P&gt;I am trying to Lookup with Cache method.&lt;/P&gt;&lt;P&gt;Load the lookup values into the DistributedMapCache and use them for replacements&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.PutDistributedMapCache/index.html"&gt;PutDistributedMapCache&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;FetchDistributedMapCache&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-----------&lt;/P&gt;&lt;P&gt;It doesnt seem to be working for me.&lt;/P&gt;&lt;P&gt;When i try to compare values between 2 flows.. it doesnt compare them.&lt;/P&gt;&lt;P&gt;I have a RouteOnAttribute which uses an Expression like this: ${DEPT_NO:equals(${LKP_DEPT_NO})}&lt;/P&gt;&lt;P&gt;It doesnt send out anything. I checked the UpStream queues. They have correct values.&lt;/P&gt;&lt;P&gt;Can you please suggest how to compare the incoming attributes from 2 flows?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 17:40:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ETL-lookup-transformation-equivalent-in-Nifi/m-p/154941#M44751</guid>
      <dc:creator>anubhav_r_raika</dc:creator>
      <dc:date>2016-12-02T17:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: ETL  lookup transformation equivalent in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ETL-lookup-transformation-equivalent-in-Nifi/m-p/154942#M44752</link>
      <description>&lt;P&gt;I tried one more time and it worked for me.. thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 17:44:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ETL-lookup-transformation-equivalent-in-Nifi/m-p/154942#M44752</guid>
      <dc:creator>anubhav_r_raika</dc:creator>
      <dc:date>2016-12-05T17:44:22Z</dc:date>
    </item>
  </channel>
</rss>

