<?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: Where condition not working in HIVE connection in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Where-condition-not-working-in-HIVE-connection/m-p/2090712#M89404</link>
    <description>&lt;P&gt;If querying an entire table without any transformation worked but not with a simple filtering like &amp;gt; date it indicates an issue with the driver (unable to handle the query properly) or too small responsive times within the network or an unsuitable configured data-base (queuing the task or waiting of finishing the complete query before providing the results, ...).&lt;/P&gt;
&lt;P&gt;Like above already hinted trying various queries with/without where-clauses and/or direct transformation in the query on different tables/fields would provide a lot of valuable hints to what worked or not and where and when (after which time) occur errors. If you have answers to a few dozens of such trials you may look for another driver and/or get in touch with the responsible data-base and network guys (they will probably ask the same questions to you respectively your attempts).&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jul 2023 12:45:30 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2023-07-05T12:45:30Z</dc:date>
    <item>
      <title>Where condition not working in HIVE connection</title>
      <link>https://community.qlik.com/t5/App-Development/Where-condition-not-working-in-HIVE-connection/m-p/2088747#M89234</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;I'm facing a very typical problem with &lt;STRONG&gt;where&lt;/STRONG&gt; condition in my Load Script.&amp;nbsp; Below load script i'm using, without where condition it is working fine but with where condition only it is getting failed, i'm using HIVE connection.&lt;/P&gt;
&lt;P&gt;I have tried by changing the&amp;nbsp;&lt;STRONG&gt;createdtime &lt;/STRONG&gt;datatype but no luck&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Load Script:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;LOAD createdtime&lt;/P&gt;
&lt;P&gt;from [Source_Table]&lt;/P&gt;
&lt;P&gt;Where createdtime&amp;gt;'$(latesttime)';&lt;/P&gt;
&lt;P&gt;It would be very helpful if someone guides me with the where condition.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:38:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Where-condition-not-working-in-HIVE-connection/m-p/2088747#M89234</guid>
      <dc:creator>vinodkumar</dc:creator>
      <dc:date>2024-11-15T21:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Where condition not working in HIVE connection</title>
      <link>https://community.qlik.com/t5/App-Development/Where-condition-not-working-in-HIVE-connection/m-p/2088775#M89238</link>
      <description>&lt;P&gt;At first replace the variable with a fixed value - of course with a valid value and with the right formatting/datatype for your createdtime. If this worked you could put a &lt;STRONG&gt;Trace '$(latesttime)';&lt;/STRONG&gt;&amp;nbsp;before the load-statement - if it's exactly the same like your fixed value the entire approach should work.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 14:48:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Where-condition-not-working-in-HIVE-connection/m-p/2088775#M89238</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-06-28T14:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Where condition not working in HIVE connection</title>
      <link>https://community.qlik.com/t5/App-Development/Where-condition-not-working-in-HIVE-connection/m-p/2088805#M89242</link>
      <description>&lt;P&gt;Thanks for the replay Marcus,&lt;/P&gt;
&lt;P&gt;Tried that way also, passed value instead of variable and the format also same, but not working, getting error like timeout error.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 15:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Where-condition-not-working-in-HIVE-connection/m-p/2088805#M89242</guid>
      <dc:creator>vinodkumar</dc:creator>
      <dc:date>2023-06-28T15:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Where condition not working in HIVE connection</title>
      <link>https://community.qlik.com/t5/App-Development/Where-condition-not-working-in-HIVE-connection/m-p/2088820#M89245</link>
      <description>&lt;P&gt;This could have several causes, for example the value/format/datatype isn't valid and/or the used driver/connector couldn't handle it properly respectively is the wrong one and/or also that the database needs to much time to return any data within the available time-frame. Such timeout may not be mandatory caused from the data-base or the Qlik side else it might be your network by terminating the connection after n seconds without any traffic.&lt;/P&gt;
&lt;P&gt;Before diving deeper in driver/network topics I would play with simple filters on other fields and/or applying any cast-statements, for example to filter against a year/month and/or using top/first statements to reduce the number of records. Each trial may give valuable hints to your current issue.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 15:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Where-condition-not-working-in-HIVE-connection/m-p/2088820#M89245</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-06-28T15:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Where condition not working in HIVE connection</title>
      <link>https://community.qlik.com/t5/App-Development/Where-condition-not-working-in-HIVE-connection/m-p/2090681#M89399</link>
      <description>&lt;P&gt;Hi Marcus,&lt;/P&gt;
&lt;P&gt;Thanks for replay, I have tried to pass different conditions like taken the other columns instead of datetime in where but that is also not working, getting below error.&lt;/P&gt;
&lt;P&gt;Error :&amp;nbsp;&lt;STRONG&gt;ERROR [HYT00] [Qlik][Hardy] (72) Query execution timeout expired.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 11:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Where-condition-not-working-in-HIVE-connection/m-p/2090681#M89399</guid>
      <dc:creator>vinodkumar</dc:creator>
      <dc:date>2023-07-05T11:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Where condition not working in HIVE connection</title>
      <link>https://community.qlik.com/t5/App-Development/Where-condition-not-working-in-HIVE-connection/m-p/2090712#M89404</link>
      <description>&lt;P&gt;If querying an entire table without any transformation worked but not with a simple filtering like &amp;gt; date it indicates an issue with the driver (unable to handle the query properly) or too small responsive times within the network or an unsuitable configured data-base (queuing the task or waiting of finishing the complete query before providing the results, ...).&lt;/P&gt;
&lt;P&gt;Like above already hinted trying various queries with/without where-clauses and/or direct transformation in the query on different tables/fields would provide a lot of valuable hints to what worked or not and where and when (after which time) occur errors. If you have answers to a few dozens of such trials you may look for another driver and/or get in touch with the responsible data-base and network guys (they will probably ask the same questions to you respectively your attempts).&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 12:45:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Where-condition-not-working-in-HIVE-connection/m-p/2090712#M89404</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-07-05T12:45:30Z</dc:date>
    </item>
  </channel>
</rss>

