<?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 LAG, LEAD, and Other Analytic Functions in HiveQL in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/LAG-LEAD-and-Other-Analytic-Functions-in-HiveQL/m-p/3799#M642</link>
    <description>&lt;P&gt;I have manually installed Cloudera's Hadoop and Cloudera's Hive RPM on RHEL. I have Sqooped data into Hive and can run normal HiveQL queries on the data fine. However, I cannot run LAG or LEAD on it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This site suggests that it is possible: &lt;A target="_blank" href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.0.2/ds_Hive/language_manual/ptf-window.html"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.0.2/ds_Hive/language_manual/ptf-window.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this site says that Cloudera doesn't provide the version of Hive that comes with LAG, LEAD, etc.: &lt;A target="_blank" href="http://www.justinjworkman.com/big-data/hive-0-11-0-on-cloudera/#building"&gt;http://www.justinjworkman.com/big-data/hive-0-11-0-on-cloudera/#building&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any documentation on how to run these types of functions in HiveQL?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 08:51:01 GMT</pubDate>
    <dc:creator>MatthewMoisen</dc:creator>
    <dc:date>2022-09-16T08:51:01Z</dc:date>
    <item>
      <title>LAG, LEAD, and Other Analytic Functions in HiveQL</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/LAG-LEAD-and-Other-Analytic-Functions-in-HiveQL/m-p/3799#M642</link>
      <description>&lt;P&gt;I have manually installed Cloudera's Hadoop and Cloudera's Hive RPM on RHEL. I have Sqooped data into Hive and can run normal HiveQL queries on the data fine. However, I cannot run LAG or LEAD on it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This site suggests that it is possible: &lt;A target="_blank" href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.0.2/ds_Hive/language_manual/ptf-window.html"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.0.2/ds_Hive/language_manual/ptf-window.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this site says that Cloudera doesn't provide the version of Hive that comes with LAG, LEAD, etc.: &lt;A target="_blank" href="http://www.justinjworkman.com/big-data/hive-0-11-0-on-cloudera/#building"&gt;http://www.justinjworkman.com/big-data/hive-0-11-0-on-cloudera/#building&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any documentation on how to run these types of functions in HiveQL?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 08:51:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/LAG-LEAD-and-Other-Analytic-Functions-in-HiveQL/m-p/3799#M642</guid>
      <dc:creator>MatthewMoisen</dc:creator>
      <dc:date>2022-09-16T08:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: LAG, LEAD, and Other Analytic Functions in HiveQL</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/LAG-LEAD-and-Other-Analytic-Functions-in-HiveQL/m-p/4391#M643</link>
      <description>These are available in the base version of Apache Hive shipped with CDH5 (beta currently). The CDH4 equivalent is on a stable release launched before the features were added upstream.&lt;BR /&gt;&lt;BR /&gt;You could use Justin's guide to get a custom build of newer version of Hive running on your CDH4 cluster - this is possible to do.</description>
      <pubDate>Sun, 29 Dec 2013 05:22:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/LAG-LEAD-and-Other-Analytic-Functions-in-HiveQL/m-p/4391#M643</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2013-12-29T05:22:57Z</dc:date>
    </item>
  </channel>
</rss>

