<?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 Data extraction from Hive in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Data-extraction-from-Hive/m-p/1751161#M57826</link>
    <description>&lt;P&gt;Hi all,&lt;BR /&gt;I need help regarding filtering Hive data on Hive side while loading it to Qlik Sense.&lt;/P&gt;&lt;P&gt;I'm connected to database, I can see and extract the data if I'm not using any filters. However if I apply some Where clauses I'm getting errors. For example if I put filter on field opco on database side I'm getting error:&lt;/P&gt;&lt;P&gt;LIB CONNECT TO 'db_Hive';&lt;/P&gt;&lt;P&gt;[kpis_daily_summary]:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&lt;BR /&gt;opco,&lt;BR /&gt;platform,&lt;BR /&gt;eventdate;&lt;/P&gt;&lt;P&gt;SELECT&lt;BR /&gt;opco,&lt;BR /&gt;platform,&lt;BR /&gt;eventdate&lt;BR /&gt;FROM mplus.[kpis_daily_summary]&lt;BR /&gt;Where opco = 'DE';&lt;BR /&gt;&lt;BR /&gt;But if I use the where clause on Qlik side it works. I also tried using Where opco LIKE '%DE%' and still didn't work.&lt;/P&gt;&lt;P&gt;On the other hand the only filter that seems to work is on eventdate if i put it like this Where eventdate = '2020-01-30' but it is looking at it as a string and not date field.&lt;BR /&gt;And that leads me to next problem.&amp;nbsp;&amp;nbsp;"eventdate" is a date field in Hive table and for some reason is imported as string to Qlik and for me to filter it again on Hive side I can't because no converting string to date function works there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason I want to perform the filtering on Hive side is because it is a huge data set multi billion records and I want to import only what I need to Qlik and let Hive do a hard part.&lt;BR /&gt;&lt;BR /&gt;Can someone help me with this issue?&lt;BR /&gt;&lt;BR /&gt;Thank you in advance.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 17:59:32 GMT</pubDate>
    <dc:creator>mayhem2001</dc:creator>
    <dc:date>2024-11-16T17:59:32Z</dc:date>
    <item>
      <title>Data extraction from Hive</title>
      <link>https://community.qlik.com/t5/App-Development/Data-extraction-from-Hive/m-p/1751161#M57826</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;I need help regarding filtering Hive data on Hive side while loading it to Qlik Sense.&lt;/P&gt;&lt;P&gt;I'm connected to database, I can see and extract the data if I'm not using any filters. However if I apply some Where clauses I'm getting errors. For example if I put filter on field opco on database side I'm getting error:&lt;/P&gt;&lt;P&gt;LIB CONNECT TO 'db_Hive';&lt;/P&gt;&lt;P&gt;[kpis_daily_summary]:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&lt;BR /&gt;opco,&lt;BR /&gt;platform,&lt;BR /&gt;eventdate;&lt;/P&gt;&lt;P&gt;SELECT&lt;BR /&gt;opco,&lt;BR /&gt;platform,&lt;BR /&gt;eventdate&lt;BR /&gt;FROM mplus.[kpis_daily_summary]&lt;BR /&gt;Where opco = 'DE';&lt;BR /&gt;&lt;BR /&gt;But if I use the where clause on Qlik side it works. I also tried using Where opco LIKE '%DE%' and still didn't work.&lt;/P&gt;&lt;P&gt;On the other hand the only filter that seems to work is on eventdate if i put it like this Where eventdate = '2020-01-30' but it is looking at it as a string and not date field.&lt;BR /&gt;And that leads me to next problem.&amp;nbsp;&amp;nbsp;"eventdate" is a date field in Hive table and for some reason is imported as string to Qlik and for me to filter it again on Hive side I can't because no converting string to date function works there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason I want to perform the filtering on Hive side is because it is a huge data set multi billion records and I want to import only what I need to Qlik and let Hive do a hard part.&lt;BR /&gt;&lt;BR /&gt;Can someone help me with this issue?&lt;BR /&gt;&lt;BR /&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:59:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-extraction-from-Hive/m-p/1751161#M57826</guid>
      <dc:creator>mayhem2001</dc:creator>
      <dc:date>2024-11-16T17:59:32Z</dc:date>
    </item>
  </channel>
</rss>

