<?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 NIFI - SQL Server Lookup in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NIFI-SQL-Server-Lookup/m-p/277563#M207613</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am in need of SQL Server lookup, found this library&amp;nbsp;&lt;A href="https://github.com/mrcsparker/nifi-sqllookup-services-bundle" target="_blank"&gt;https://github.com/mrcsparker/nifi-sqllookup-services-bundle&lt;/A&gt;&amp;nbsp; &amp;nbsp; but there are no good examples especially when dealing with incoming CSV text file.&amp;nbsp; Appreciate if anybody can point me to an article or sample workflow that does something similar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2019 22:39:33 GMT</pubDate>
    <dc:creator>budati</dc:creator>
    <dc:date>2019-09-17T22:39:33Z</dc:date>
    <item>
      <title>NIFI - SQL Server Lookup</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-SQL-Server-Lookup/m-p/277563#M207613</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am in need of SQL Server lookup, found this library&amp;nbsp;&lt;A href="https://github.com/mrcsparker/nifi-sqllookup-services-bundle" target="_blank"&gt;https://github.com/mrcsparker/nifi-sqllookup-services-bundle&lt;/A&gt;&amp;nbsp; &amp;nbsp; but there are no good examples especially when dealing with incoming CSV text file.&amp;nbsp; Appreciate if anybody can point me to an article or sample workflow that does something similar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 22:39:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-SQL-Server-Lookup/m-p/277563#M207613</guid>
      <dc:creator>budati</dc:creator>
      <dc:date>2019-09-17T22:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI - SQL Server Lookup</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-SQL-Server-Lookup/m-p/277574#M207617</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/69319"&gt;@budati&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you tried using NiFi &lt;U&gt;&lt;STRONG&gt;DBCPConnectionLookup&lt;/STRONG&gt;&lt;/U&gt; service and we can make Dynamic lookup from RDBMS.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Please refer to &lt;A href="https://community.cloudera.com/t5/Support-Questions/Nifi-Multiple-databases-same-query-how-do-pass-database-name/m-p/240252" target="_self"&gt;this&lt;/A&gt; link for more details regards to LookupService.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 04:40:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-SQL-Server-Lookup/m-p/277574#M207617</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-09-18T04:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI - SQL Server Lookup</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-SQL-Server-Lookup/m-p/277716#M207651</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/55311"&gt;@Shu_ashu&lt;/a&gt;&amp;nbsp; : Thank you so much for the link, it covers part of my need.&lt;/P&gt;&lt;P&gt;The other thing is to assign the lookup value to attribute so I think the solution is&amp;nbsp;&lt;/P&gt;&lt;P&gt;ExecuteSQL -&amp;gt; ConvertAvroToJson -&amp;gt; EvaluateJsonPath&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can we do it in one step instead of 3 like above?&amp;nbsp; All I am pulling is one field from the database table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Query: select id from table A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 20:46:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-SQL-Server-Lookup/m-p/277716#M207651</guid>
      <dc:creator>budati</dc:creator>
      <dc:date>2019-09-18T20:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI - SQL Server Lookup</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-SQL-Server-Lookup/m-p/277858#M207693</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/69319"&gt;@budati&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i don't think there is a way to combine all 3 processors into one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We still need to use&amp;nbsp;&lt;STRONG&gt;ExecuteSQL -&amp;gt; ConvertAvroToJson -&amp;gt; EvaluateJsonPath &lt;/STRONG&gt;to extract the values from the flowfile.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the answer was helpful to resolve your issue, Accept the answer to close the thread &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 14:11:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-SQL-Server-Lookup/m-p/277858#M207693</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-09-19T14:11:08Z</dc:date>
    </item>
  </channel>
</rss>

