<?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 Re: Impala - Is Not Null Doesn't Work for Views in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Impala-Is-Not-Null-Doesn-t-Work-for-Views/m-p/67145#M13773</link>
    <description>&lt;P&gt;The IS NOT NULL predicate is not placed correcly in the execution plan, that's why the result are wrong. We've fied many similar issues, chances are this one is known and fixed. I will need to confirm. What version of Impala are you running?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might be able to work around the issue like this.&lt;/P&gt;&lt;P&gt;Instead of "&lt;SPAN&gt;where company_name is not null" use "where coalesce(company_name, aais_company_number) is not null".&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You might need to "cast(aais_company_number as string)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand it's not pretty but hopefully it does the trick.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 May 2018 21:49:10 GMT</pubDate>
    <dc:creator>alex.behm</dc:creator>
    <dc:date>2018-05-10T21:49:10Z</dc:date>
  </channel>
</rss>

