<?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 where xxx in () list operator not working correctly in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-where-xxx-in-list-operator-not-working-correctly/m-p/22437#M4005</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;running a simple query where in the WHERE condition is a column IN ( ) condition and the list contains 13 elements (numbers).&lt;/P&gt;&lt;P&gt;The column is type of int.&lt;/P&gt;&lt;P&gt;Every time I run a query I got a different result, sometimes 5 rows, sometimes 2 rows, sometimes 10 rows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course I checked ID by ID that all elements are in the table...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is this a known bug or I am missing something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;select * from tmp_ext_item where item_id in ( 3040607, 5645020, 69772482, 2030547, 1753459, 9972822, 1846553, 6098104, 1874789, 1834370, 1829598, 1779239, 7932306 )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;T.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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 09:14:46 GMT</pubDate>
    <dc:creator>TomasTF</dc:creator>
    <dc:date>2022-09-16T09:14:46Z</dc:date>
    <item>
      <title>Impala where xxx in () list operator not working correctly</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-where-xxx-in-list-operator-not-working-correctly/m-p/22437#M4005</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;running a simple query where in the WHERE condition is a column IN ( ) condition and the list contains 13 elements (numbers).&lt;/P&gt;&lt;P&gt;The column is type of int.&lt;/P&gt;&lt;P&gt;Every time I run a query I got a different result, sometimes 5 rows, sometimes 2 rows, sometimes 10 rows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course I checked ID by ID that all elements are in the table...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is this a known bug or I am missing something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;select * from tmp_ext_item where item_id in ( 3040607, 5645020, 69772482, 2030547, 1753459, 9972822, 1846553, 6098104, 1874789, 1834370, 1829598, 1779239, 7932306 )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;T.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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 09:14:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-where-xxx-in-list-operator-not-working-correctly/m-p/22437#M4005</guid>
      <dc:creator>TomasTF</dc:creator>
      <dc:date>2022-09-16T09:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Impala where xxx in () list operator not working correctly</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-where-xxx-in-list-operator-not-working-correctly/m-p/22538#M4006</link>
      <description>&lt;P&gt;During my test I came to one (maybe not correct) conclusion.&lt;/P&gt;&lt;P&gt;The table is big and partitioned, and maybe Impala just limits the query to a subset of a table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because if I change the query like&amp;nbsp;&lt;/P&gt;&lt;P&gt;create table result as&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;select * from tmp_ext_item where item_id in ( 3040607, 5645020, 69772482, 2030547, 1753459, 9972822, 1846553, 6098104, 1874789, 1834370, 1829598, 1779239, 7932306 )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;then it runs correctly and returns all items with the specified item_id.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2014 12:59:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-where-xxx-in-list-operator-not-working-correctly/m-p/22538#M4006</guid>
      <dc:creator>TomasTF</dc:creator>
      <dc:date>2014-12-10T12:59:31Z</dc:date>
    </item>
  </channel>
</rss>

