<?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 Re: Direct discovery: multiple tables with Cloudera ODBC driver for Impala in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Direct-discovery-multiple-tables-with-Cloudera-ODBC-driver-for/m-p/722563#M259384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I imagine it would be something like the following.&amp;nbsp;&amp;nbsp; Can you post the join syntax you have tried already ?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DIRECT QUERY&lt;BR /&gt;DIMENSION&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Field_ID&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MEASURE&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;measureA,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;measureB&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from ImpalaTableA, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ImpalaTableB&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ImpalaTableA.Field_ID= &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ImpalaTableB.Field_ID;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Sep 2014 17:40:43 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2014-09-05T17:40:43Z</dc:date>
    <item>
      <title>Direct discovery: multiple tables with Cloudera ODBC driver for Impala</title>
      <link>https://community.qlik.com/t5/QlikView/Direct-discovery-multiple-tables-with-Cloudera-ODBC-driver-for/m-p/722562#M259383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I'm using Qlikview 11.2 SR7 and Cludera ODBC Driver for IMPALA v2.5.13.&amp;nbsp; &lt;/P&gt;&lt;P&gt;How can I use the direct discovery to laod two tables with a common field (this field must be a DIMENSION as a foreign key that link the two table)??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXAMPLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLEA:&lt;/P&gt;&lt;P&gt;DIRECT QUERY&lt;BR /&gt;DIMENSION &lt;/P&gt;&lt;P&gt;Field_ID&lt;/P&gt;&lt;P&gt;MEASURE&lt;/P&gt;&lt;P&gt;measureA&lt;/P&gt;&lt;P&gt;from ImpalaTableA;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLEB:&lt;/P&gt;&lt;P&gt;DIRECT QUERY&lt;BR /&gt;DIMENSION &lt;/P&gt;&lt;P&gt;Field_ID&lt;/P&gt;&lt;P&gt;MEASURE&lt;/P&gt;&lt;P&gt;measureB&lt;/P&gt;&lt;P&gt;from ImpalaTableB;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using&amp;nbsp; JOIN and WHERE, as described in the document of direct discovery but the script gives me an error.&lt;/P&gt;&lt;P&gt;Do you have any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matteo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 16:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Direct-discovery-multiple-tables-with-Cloudera-ODBC-driver-for/m-p/722562#M259383</guid>
      <dc:creator>matteogm</dc:creator>
      <dc:date>2014-09-05T16:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Direct discovery: multiple tables with Cloudera ODBC driver for Impala</title>
      <link>https://community.qlik.com/t5/QlikView/Direct-discovery-multiple-tables-with-Cloudera-ODBC-driver-for/m-p/722563#M259384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I imagine it would be something like the following.&amp;nbsp;&amp;nbsp; Can you post the join syntax you have tried already ?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DIRECT QUERY&lt;BR /&gt;DIMENSION&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Field_ID&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MEASURE&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;measureA,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;measureB&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from ImpalaTableA, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ImpalaTableB&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ImpalaTableA.Field_ID= &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ImpalaTableB.Field_ID;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 17:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Direct-discovery-multiple-tables-with-Cloudera-ODBC-driver-for/m-p/722563#M259384</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-05T17:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Direct discovery: multiple tables with Cloudera ODBC driver for Impala</title>
      <link>https://community.qlik.com/t5/QlikView/Direct-discovery-multiple-tables-with-Cloudera-ODBC-driver-for/m-p/722564#M259385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan,&lt;/P&gt;&lt;P&gt;I've solved. It was necessary to include alias and the table reference for the field Field_id, like this:&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DIRECT QUERY&lt;BR /&gt;DIMENSION&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;ImpalaTableA.Field_ID as Field_ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;lt;----HERE&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MEASURE&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;measureA,&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;measureB&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;from ImpalaTableA, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ImpalaTableB&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ImpalaTableA.Field_ID= &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ImpalaTableB.Field_ID;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;But now there is another problem, it seems that the join is not done properly. Even using the following code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DIRECT QUERY&lt;BR /&gt;DIMENSION&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ImpalaTableA.Field_ID as Field_ID&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MEASURE&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;measureA,&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;measureB&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;from ImpalaTableA join &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ImpalaTableB&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;on &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ImpalaTableA.Field_ID= &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ImpalaTableB.Field_ID;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;It is performed the Cartesian product of all rows, even if the two tables have the same Field_ID.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Do you have any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 09:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Direct-discovery-multiple-tables-with-Cloudera-ODBC-driver-for/m-p/722564#M259385</guid>
      <dc:creator>matteogm</dc:creator>
      <dc:date>2014-09-08T09:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Direct discovery: multiple tables with Cloudera ODBC driver for Impala</title>
      <link>https://community.qlik.com/t5/QlikView/Direct-discovery-multiple-tables-with-Cloudera-ODBC-driver-for/m-p/722565#M259386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Now the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;join&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;between the two tables&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is done&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;properly.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Joining two or more table, &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;informations&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;belonging to an&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;original table&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;are multiplied (&lt;SPAN class="hps"&gt;repeating fields&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;with the same value)&lt;/SPAN&gt;&lt;/SPAN&gt;. &lt;SPAN class="hps"&gt;T&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;able&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;box component&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;that shows&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;these fields&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;can not&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;unify&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;equal row from the DIRECT DISCOVERY.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;This should be a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;known issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 13:19:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Direct-discovery-multiple-tables-with-Cloudera-ODBC-driver-for/m-p/722565#M259386</guid>
      <dc:creator>matteogm</dc:creator>
      <dc:date>2014-09-11T13:19:11Z</dc:date>
    </item>
  </channel>
</rss>

