<?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: Dynamic Initial Max Value on GenerateTableFetch in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Dynamic-Initial-Max-Value-on-GenerateTableFetch/m-p/375638#M242562</link>
    <description>&lt;P&gt;How often are you looking to run the GenerateFetchTable ? If its going to be a batch process then you can set up the a schedule on the top processor using processor config -&amp;gt; Scheduling tab and setting the Run Schedule value. By default this value is set to 0 secs which means its continuously running.&lt;/P&gt;</description>
    <pubDate>Sun, 27 Aug 2023 22:19:45 GMT</pubDate>
    <dc:creator>SAMSAL</dc:creator>
    <dc:date>2023-08-27T22:19:45Z</dc:date>
    <item>
      <title>Dynamic Initial Max Value on GenerateTableFetch</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Dynamic-Initial-Max-Value-on-GenerateTableFetch/m-p/375622#M242554</link>
      <description>&lt;P&gt;In a GenerateTableFetch i have set as&amp;nbsp;&lt;SPAN class="table-cell"&gt;Maximum-value Columns the column updated_at. In addition i have define the property "&lt;SPAN&gt;initial.maxvalue.updated_at" with an hard-code initial value. However i do not want to hardcode manual the initial value but instead grab it dynamically, like performing an SQL statement to get the max updated value from the table. How i could feed such information in "initial.maxvalue.updated_at" ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Aug 2023 11:35:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Dynamic-Initial-Max-Value-on-GenerateTableFetch/m-p/375622#M242554</guid>
      <dc:creator>TonyPath</dc:creator>
      <dc:date>2023-08-26T11:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Initial Max Value on GenerateTableFetch</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Dynamic-Initial-Max-Value-on-GenerateTableFetch/m-p/375627#M242555</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106694"&gt;@TonyPath&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed that the added dynamic property &lt;SPAN class="table-cell"&gt;&lt;SPAN&gt;initial.maxvalue.&amp;lt;max_column_name&amp;gt; accept expression language (EL) so since the GenerateTableFetch can take incoming relationship maybe you can use&amp;nbsp; &lt;STRONG&gt;ExecuteSQLRecord&lt;/STRONG&gt; to fetch the initial max value from sql into json format&amp;nbsp; then store it in a flow file attribute using &lt;STRONG&gt;EvaluateJsonPath&lt;/STRONG&gt; processor which you can reference to set&amp;nbsp; the initial.maxvalue.&amp;lt;max_column_name&amp;gt; property value as follows:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-cell"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAMSAL_0-1693057850866.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38305i137CDE297B32054F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SAMSAL_0-1693057850866.png" alt="SAMSAL_0-1693057850866.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ExecuteSQLRecord Config:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAMSAL_1-1693057896509.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38306i54DDBB7201B7A466/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SAMSAL_1-1693057896509.png" alt="SAMSAL_1-1693057896509.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EvaluateJsonPath Config:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAMSAL_2-1693057933983.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38307i715DEBF14FC4B209/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SAMSAL_2-1693057933983.png" alt="SAMSAL_2-1693057933983.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GenerateTableFetch Config:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAMSAL_3-1693057992347.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38308i64D273B705C74AB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SAMSAL_3-1693057992347.png" alt="SAMSAL_3-1693057992347.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If that helps &lt;STRONG&gt;please&lt;/STRONG&gt; accept solution.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Aug 2023 13:54:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Dynamic-Initial-Max-Value-on-GenerateTableFetch/m-p/375627#M242555</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2023-08-26T13:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Initial Max Value on GenerateTableFetch</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Dynamic-Initial-Max-Value-on-GenerateTableFetch/m-p/375632#M242559</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;, I haven't tried it yet but your proposal makes sense, but the execute sql record will run constantly and required manual intervention to stop it so to produce only one flow file. However this is another case&lt;/P&gt;</description>
      <pubDate>Sun, 27 Aug 2023 15:12:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Dynamic-Initial-Max-Value-on-GenerateTableFetch/m-p/375632#M242559</guid>
      <dc:creator>TonyPath</dc:creator>
      <dc:date>2023-08-27T15:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Initial Max Value on GenerateTableFetch</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Dynamic-Initial-Max-Value-on-GenerateTableFetch/m-p/375638#M242562</link>
      <description>&lt;P&gt;How often are you looking to run the GenerateFetchTable ? If its going to be a batch process then you can set up the a schedule on the top processor using processor config -&amp;gt; Scheduling tab and setting the Run Schedule value. By default this value is set to 0 secs which means its continuously running.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Aug 2023 22:19:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Dynamic-Initial-Max-Value-on-GenerateTableFetch/m-p/375638#M242562</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2023-08-27T22:19:45Z</dc:date>
    </item>
  </channel>
</rss>

