<?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 Latest partition in sql  query in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Latest-partition-in-sql-query/m-p/1806514#M65598</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating an app with KPI's. Iam using a HIVE database. I have three fields in my table Year, Month , Date. I want to find the latest partition daily from these three fields.(year,month,date).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to find the max of all the three fields and write a SQL query to obtain the result. Please do help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried like,&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;SQL Select * from HIVE.''.'';&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;load max(year) as maxyear,&lt;/P&gt;&lt;P&gt;max(month) as maxmonth,&lt;/P&gt;&lt;P&gt;max(date) as maxdate&lt;/P&gt;&lt;P&gt;resident table;&lt;/P&gt;&lt;P&gt;SQL select * from HIVE.''.'' where....&lt;/P&gt;&lt;P&gt;I am not sure how to obtain the result using WHERE clause.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please any help. thanks.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 May 2021 08:57:43 GMT</pubDate>
    <dc:creator>qlikuser22</dc:creator>
    <dc:date>2021-05-10T08:57:43Z</dc:date>
    <item>
      <title>Latest partition in sql  query</title>
      <link>https://community.qlik.com/t5/App-Development/Latest-partition-in-sql-query/m-p/1806514#M65598</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating an app with KPI's. Iam using a HIVE database. I have three fields in my table Year, Month , Date. I want to find the latest partition daily from these three fields.(year,month,date).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to find the max of all the three fields and write a SQL query to obtain the result. Please do help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried like,&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;SQL Select * from HIVE.''.'';&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;load max(year) as maxyear,&lt;/P&gt;&lt;P&gt;max(month) as maxmonth,&lt;/P&gt;&lt;P&gt;max(date) as maxdate&lt;/P&gt;&lt;P&gt;resident table;&lt;/P&gt;&lt;P&gt;SQL select * from HIVE.''.'' where....&lt;/P&gt;&lt;P&gt;I am not sure how to obtain the result using WHERE clause.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please any help. thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 08:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Latest-partition-in-sql-query/m-p/1806514#M65598</guid>
      <dc:creator>qlikuser22</dc:creator>
      <dc:date>2021-05-10T08:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Latest partition in sql  query</title>
      <link>https://community.qlik.com/t5/App-Development/Latest-partition-in-sql-query/m-p/1806611#M65604</link>
      <description>&lt;P&gt;Ány document on Incremental load using SQL query. ?? DO help&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 13:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Latest-partition-in-sql-query/m-p/1806611#M65604</guid>
      <dc:creator>qlikuser22</dc:creator>
      <dc:date>2021-05-10T13:14:37Z</dc:date>
    </item>
  </channel>
</rss>

