<?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 Impala - set statement forever in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-set-statement-forever/m-p/38648#M22748</link>
    <description>&lt;P&gt;ello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to set the folowing to true for all my impala queries:&lt;/P&gt;&lt;PRE&gt;set APPX_COUNT_DISTINCT=true;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;and I can't find any way to do it...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need this, because I have some impala queries that I send over the Impala JDBC Driver and that I would like to optimize.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: this topic is somehow linked to &lt;A href="http://community.cloudera.com/t5/Interactive-Short-cycle-SQL/use-set-command-through-Impala-JDBC-Driver/td-p/37455" target="_blank"&gt;http://community.cloudera.com/t5/Interactive-Short-cycle-SQL/use-set-command-through-Impala-JDBC-Driver/td-p/37455&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:08:56 GMT</pubDate>
    <dc:creator>AlinaGHERMAN</dc:creator>
    <dc:date>2022-09-16T10:08:56Z</dc:date>
    <item>
      <title>Impala - set statement forever</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-set-statement-forever/m-p/38648#M22748</link>
      <description>&lt;P&gt;ello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to set the folowing to true for all my impala queries:&lt;/P&gt;&lt;PRE&gt;set APPX_COUNT_DISTINCT=true;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;and I can't find any way to do it...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need this, because I have some impala queries that I send over the Impala JDBC Driver and that I would like to optimize.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: this topic is somehow linked to &lt;A href="http://community.cloudera.com/t5/Interactive-Short-cycle-SQL/use-set-command-through-Impala-JDBC-Driver/td-p/37455" target="_blank"&gt;http://community.cloudera.com/t5/Interactive-Short-cycle-SQL/use-set-command-through-Impala-JDBC-Driver/td-p/37455&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:08:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-set-statement-forever/m-p/38648#M22748</guid>
      <dc:creator>AlinaGHERMAN</dc:creator>
      <dc:date>2022-09-16T10:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Impala - set statement forever</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-set-statement-forever/m-p/38651#M22749</link>
      <description>&lt;P&gt;Hi Alina,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can specify query options by appending them to the connection string for the JDBC driver, separated by semicolon. For example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;jdbc:impala://me.cloudera.com:21050/default;appx_count_distinct=1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Settings you add there will be active for all queries during that JDBC connection. If you want to change defaults for the impalad daemon lifetime you can do so by adjusting&amp;nbsp;&lt;SPAN&gt;IMPALA_SERVER_ARGS as described here:&amp;nbsp;&lt;A href="http://www.cloudera.com/documentation/enterprise/5-4-x/topics/impala_config_options.html" target="_blank"&gt;http://www.cloudera.com/documentation/enterprise/5-4-x/topics/impala_config_options.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Cheers, Lars&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 16:52:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-set-statement-forever/m-p/38651#M22749</guid>
      <dc:creator>Lars Volker</dc:creator>
      <dc:date>2016-03-14T16:52:11Z</dc:date>
    </item>
  </channel>
</rss>

