<?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: Hive problem with predicate pushdown in subqueries and views while using window functions in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-problem-with-predicate-pushdown-in-subqueries-and-views/m-p/179405#M141651</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/43270/kebous.html" nodeid="43270"&gt;@Christian EL HAKIM&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;We also faced a similar issue and this approach helped me to push down subquery even having "WITH" clause. This even works in Hive 1.2.1&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/13523049/hive-sql-find-the-latest-record" target="_blank"&gt;https://stackoverflow.com/questions/13523049/hive-sql-find-the-latest-record&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The limitation is that this is&lt;/P&gt;&lt;P&gt;a) only useful for MAX logic.&lt;/P&gt;&lt;P&gt;b) We can't have the flexibility of having windowing different ORDERS, .ie. col1 desc, col2 asc, col3 desc etc&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sarath&lt;/P&gt;</description>
    <pubDate>Thu, 13 Sep 2018 06:22:55 GMT</pubDate>
    <dc:creator>sarsasid</dc:creator>
    <dc:date>2018-09-13T06:22:55Z</dc:date>
  </channel>
</rss>

