<?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>topic Get Max Date from Multiple Tables in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Get-Max-Date-from-Multiple-Tables/m-p/2257316#M39442</link>
    <description>&lt;P&gt;I have a few large tables in snowflake to which I would like to only do incremental load based on max date.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My goal is to get the max date from tables in snowflake, bring that back on premise or may be store them in global variable and iterate over it (which I am not sure if it is possible). Because there is no list transformation for snowflake like tMSSQLTableList.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For example if in table A - max date for StartDate is 2018-10-11 then I would like to only get the records from Table A where StartDate&amp;gt;2018-10-11.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What would be the most efficient way to accomplish this? I am guessing I can store the table name and the max date in a global variable - but can iterate over it? or bring that data back on -premise in a table form that looks like this&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;TableName MaxDate&lt;/P&gt; 
&lt;P&gt;TableA&amp;nbsp;&amp;nbsp; 2018-10-11&lt;/P&gt; 
&lt;P&gt;TableB 2018-10-10&lt;/P&gt; 
&lt;P&gt;TableC 2018-10-09&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Just trying to figure if there is a way where I can utilize the max dates in one flow - instead of getting max date for each table separately in separate flows.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Oct 2018 16:05:32 GMT</pubDate>
    <dc:creator>talendstar</dc:creator>
    <dc:date>2018-10-12T16:05:32Z</dc:date>
    <item>
      <title>Get Max Date from Multiple Tables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Max-Date-from-Multiple-Tables/m-p/2257316#M39442</link>
      <description>&lt;P&gt;I have a few large tables in snowflake to which I would like to only do incremental load based on max date.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My goal is to get the max date from tables in snowflake, bring that back on premise or may be store them in global variable and iterate over it (which I am not sure if it is possible). Because there is no list transformation for snowflake like tMSSQLTableList.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For example if in table A - max date for StartDate is 2018-10-11 then I would like to only get the records from Table A where StartDate&amp;gt;2018-10-11.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What would be the most efficient way to accomplish this? I am guessing I can store the table name and the max date in a global variable - but can iterate over it? or bring that data back on -premise in a table form that looks like this&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;TableName MaxDate&lt;/P&gt; 
&lt;P&gt;TableA&amp;nbsp;&amp;nbsp; 2018-10-11&lt;/P&gt; 
&lt;P&gt;TableB 2018-10-10&lt;/P&gt; 
&lt;P&gt;TableC 2018-10-09&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Just trying to figure if there is a way where I can utilize the max dates in one flow - instead of getting max date for each table separately in separate flows.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2018 16:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Max-Date-from-Multiple-Tables/m-p/2257316#M39442</guid>
      <dc:creator>talendstar</dc:creator>
      <dc:date>2018-10-12T16:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get Max Date from Multiple Tables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Max-Date-from-Multiple-Tables/m-p/2257317#M39443</link>
      <description>&lt;P&gt;You can check tDBRow (Snowflake)&lt;/P&gt;&lt;P&gt;and information from information schema -&amp;nbsp;&lt;A href="https://docs.snowflake.net/manuals/sql-reference/info-schema/tables.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.snowflake.net/manuals/sql-reference/info-schema/tables.html&lt;/A&gt; and&amp;nbsp;&lt;A href="https://docs.snowflake.net/manuals/sql-reference/info-schema/columns.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.snowflake.net/manuals/sql-reference/info-schema/columns.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then make a loop over tables with dates columns&lt;/P&gt;</description>
      <pubDate>Sat, 13 Oct 2018 05:04:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Max-Date-from-Multiple-Tables/m-p/2257317#M39443</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-10-13T05:04:13Z</dc:date>
    </item>
  </channel>
</rss>

