<?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 QueryDatabaseTable --&amp;gt; SplitAvro NiFi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/QueryDatabaseTable-gt-SplitAvro-NiFi/m-p/240952#M202756</link>
    <description>&lt;P&gt;I want to read a MS SQL database. I'm using a QueryDatabaseTable to make de query and then SplitAvro, because the output of QueryDatabaseTable is an avro file. But my problem is that the query does not arrive to SplitAvro processor. Can someone help me with the configuration of this processors?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/108874-qdt.png"&gt;qdt.PNG&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/108912-splitavro.png"&gt;splitavro.PNG&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2019 20:15:59 GMT</pubDate>
    <dc:creator>rafael_alvarez</dc:creator>
    <dc:date>2019-05-23T20:15:59Z</dc:date>
    <item>
      <title>QueryDatabaseTable --&gt; SplitAvro NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/QueryDatabaseTable-gt-SplitAvro-NiFi/m-p/240952#M202756</link>
      <description>&lt;P&gt;I want to read a MS SQL database. I'm using a QueryDatabaseTable to make de query and then SplitAvro, because the output of QueryDatabaseTable is an avro file. But my problem is that the query does not arrive to SplitAvro processor. Can someone help me with the configuration of this processors?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/108874-qdt.png"&gt;qdt.PNG&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/108912-splitavro.png"&gt;splitavro.PNG&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 20:15:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/QueryDatabaseTable-gt-SplitAvro-NiFi/m-p/240952#M202756</guid>
      <dc:creator>rafael_alvarez</dc:creator>
      <dc:date>2019-05-23T20:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: QueryDatabaseTable --&gt; SplitAvro NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/QueryDatabaseTable-gt-SplitAvro-NiFi/m-p/240953#M202757</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/114213/rafaelalvarez.html" nodeid="114213"&gt;@Alvarez Rafa&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer noopener noreferrer" href="https://community.hortonworks.com/articles/51902/incremental-fetch-in-nifi-with-querydatabasetable.html" target="_blank"&gt;QueryDatabaseTable&lt;/A&gt; processor &lt;STRONG&gt;stores the state&lt;/STRONG&gt; when processor ran for the first time based on &lt;STRONG&gt;Max value column(idmovil)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;For the &lt;STRONG&gt;next run&lt;/STRONG&gt; processor only pulls the changes from the table based on &lt;STRONG&gt;idMovil&lt;/STRONG&gt; column.&lt;/P&gt;&lt;P&gt;You can check the last state value by &lt;STRONG&gt;RightClick on processor&lt;/STRONG&gt;&lt;STRONG&gt; -&amp;gt; View State&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;To clear the state stop the processor and &lt;STRONG&gt;RightClick on processor&lt;/STRONG&gt;&lt;STRONG&gt; -&amp;gt; View State &lt;/STRONG&gt;and then clear state.&lt;/P&gt;&lt;P&gt;Once we clear the state then processor pulls all records from the table.&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;If you are not facing this issue then please attach your &lt;STRONG&gt;f&lt;/STRONG&gt;&lt;STRONG&gt;low screenshot&lt;/STRONG&gt; and &lt;STRONG&gt;scheduling&lt;/STRONG&gt; on &lt;STRONG&gt;QueryDatabaseTable&lt;/STRONG&gt; processor.&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 10:49:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/QueryDatabaseTable-gt-SplitAvro-NiFi/m-p/240953#M202757</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-05-24T10:49:21Z</dc:date>
    </item>
  </channel>
</rss>

