<?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: impala-shell in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell/m-p/77665#M81029</link>
    <description>&lt;P&gt;thank you for the solution, i have a sql query which has group by roll up clause and it goes like following.&lt;/P&gt;&lt;P&gt;from tablename group by rollup(decode(-----some expression here-----),decode(some expression here),decode (some expression here))&lt;/P&gt;&lt;P&gt;as i said i have to modify the query where the query work on kudu using impala shell,&lt;/P&gt;&lt;P&gt;when i performed the query i got the follwing exception,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: AnalysisException: default.rollup() unknown&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help me with what has to be done in this case&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jul 2018 20:59:00 GMT</pubDate>
    <dc:creator>HJ</dc:creator>
    <dc:date>2018-07-27T20:59:00Z</dc:date>
    <item>
      <title>impala-shell</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell/m-p/77388#M81027</link>
      <description>&lt;P&gt;i am trying to translate the query which is in sql working on oracle.&lt;/P&gt;&lt;P&gt;the query goes like this,&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;select MAX(NANVL(Column name,0)) OVER (partition by x, y) as z from table name &lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp; I would like to do the same using impala-shell on kudu-table because when i performed i got the following exception&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ERROR: AnalysisException: default.nanvl() unknown&lt;BR /&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:30:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell/m-p/77388#M81027</guid>
      <dc:creator>HJ</dc:creator>
      <dc:date>2022-09-16T13:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: impala-shell</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell/m-p/77613#M81028</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/27838"&gt;@HJ&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure which version of impala, CDH you are using&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NANVL in-build function is available in oracle but impala does not support (as of CDH 5.14 version)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the link for CDH 5.14 shows all the available conditional functions, which has NVL, NVL2 but not NANVL. You may need to write your custom function to meet this part&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/5-14-x/topics/impala_conditional_functions.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/5-14-x/topics/impala_conditional_functions.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 10:02:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell/m-p/77613#M81028</guid>
      <dc:creator>saranvisa</dc:creator>
      <dc:date>2018-07-26T10:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: impala-shell</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell/m-p/77665#M81029</link>
      <description>&lt;P&gt;thank you for the solution, i have a sql query which has group by roll up clause and it goes like following.&lt;/P&gt;&lt;P&gt;from tablename group by rollup(decode(-----some expression here-----),decode(some expression here),decode (some expression here))&lt;/P&gt;&lt;P&gt;as i said i have to modify the query where the query work on kudu using impala shell,&lt;/P&gt;&lt;P&gt;when i performed the query i got the follwing exception,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: AnalysisException: default.rollup() unknown&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help me with what has to be done in this case&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 20:59:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell/m-p/77665#M81029</guid>
      <dc:creator>HJ</dc:creator>
      <dc:date>2018-07-27T20:59:00Z</dc:date>
    </item>
  </channel>
</rss>

