<?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 Direct Query with Impala Db in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Direct-Query-with-Impala-Db/m-p/1352608#M616646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use direct query with Impala ODBC.&lt;/P&gt;&lt;P&gt;I have connected to the db, and using the following Syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DIRECT QUERY&lt;/P&gt;&lt;P&gt;DIMENSION&lt;/P&gt;&lt;P&gt;`Field1`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MEASURE&lt;/P&gt;&lt;P&gt;`Field2`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM IMPALA.db.TableA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also SET DirectUnicodeStrings=TRUE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the above query is not getting executed.&lt;/P&gt;&lt;P&gt;I am getting this error: &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #333333; font-family: Merriweather, serif; font-size: 14px;"&gt;[Cloudera][ImpalaODBC] (110) Error while executing a query in Impala: [HY000] : AnalysisException: all DISTINCT aggregate functions need to have the same set of parameters as COUNT(DISTINCT &amp;lt;filed-name&amp;gt;); deviating function: COUNT(DISTINCT &amp;lt;field-name&amp;gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with this? Am I using the correct syntax?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 May 2017 13:54:12 GMT</pubDate>
    <dc:creator>sampada0810</dc:creator>
    <dc:date>2017-05-29T13:54:12Z</dc:date>
    <item>
      <title>Direct Query with Impala Db</title>
      <link>https://community.qlik.com/t5/QlikView/Direct-Query-with-Impala-Db/m-p/1352608#M616646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use direct query with Impala ODBC.&lt;/P&gt;&lt;P&gt;I have connected to the db, and using the following Syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DIRECT QUERY&lt;/P&gt;&lt;P&gt;DIMENSION&lt;/P&gt;&lt;P&gt;`Field1`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MEASURE&lt;/P&gt;&lt;P&gt;`Field2`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM IMPALA.db.TableA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also SET DirectUnicodeStrings=TRUE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the above query is not getting executed.&lt;/P&gt;&lt;P&gt;I am getting this error: &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #333333; font-family: Merriweather, serif; font-size: 14px;"&gt;[Cloudera][ImpalaODBC] (110) Error while executing a query in Impala: [HY000] : AnalysisException: all DISTINCT aggregate functions need to have the same set of parameters as COUNT(DISTINCT &amp;lt;filed-name&amp;gt;); deviating function: COUNT(DISTINCT &amp;lt;field-name&amp;gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with this? Am I using the correct syntax?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2017 13:54:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Direct-Query-with-Impala-Db/m-p/1352608#M616646</guid>
      <dc:creator>sampada0810</dc:creator>
      <dc:date>2017-05-29T13:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Query with Impala Db</title>
      <link>https://community.qlik.com/t5/QlikView/Direct-Query-with-Impala-Db/m-p/1352609#M616647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How is your function and script looks like. And That Measure consider as Data points only in Direct Discovery. And Can you share application sample with out connection string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CUSTOM CONNECT TO *******;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[DDQ]:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DIRECT QUERY&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dimension&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"last_name",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"first_name"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;detail&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"country"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;measure &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"contact_id"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM "public"."DDQ";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SET DirectUnicodeStrings = TRUE;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note - For me this is working, Can you check from your end whether where you did mistake &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2017 14:17:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Direct-Query-with-Impala-Db/m-p/1352609#M616647</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-29T14:17:00Z</dc:date>
    </item>
  </channel>
</rss>

