<?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: Hive Null comparison not works properly in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Null-comparison-not-works-properly/m-p/157731#M57123</link>
    <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/1961/mramasami.html" nodeid="1961"&gt;@Murali Ramasami&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/2504/ssainath.html" nodeid="2504"&gt;@Sharmadha Sainath&lt;/A&gt; . It works for me now.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Mar 2017 12:39:37 GMT</pubDate>
    <dc:creator>gnanasekaran_g</dc:creator>
    <dc:date>2017-03-16T12:39:37Z</dc:date>
    <item>
      <title>Hive Null comparison not works properly</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Null-comparison-not-works-properly/m-p/157727#M57119</link>
      <description>&lt;P&gt;
	Hi,&lt;/P&gt;&lt;P&gt;
	I have below Hive query and its not giving me "equals" as output. Why?&lt;/P&gt;
&lt;PRE&gt;hive&amp;gt; select case when (NULL=NULL) then "equals" else "not equals" end as value;
OK
not equals
&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Mar 2017 16:44:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Null-comparison-not-works-properly/m-p/157727#M57119</guid>
      <dc:creator>gnanasekaran_g</dc:creator>
      <dc:date>2017-03-15T16:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Null comparison not works properly</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Null-comparison-not-works-properly/m-p/157728#M57120</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/12280/gnanasekarang.html" nodeid="12280"&gt;@Gnanasekaran G&lt;/A&gt;&lt;P&gt;check NULL is NULL instead of NULL = NULL. This worked for me.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 16:54:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Null-comparison-not-works-properly/m-p/157728#M57120</guid>
      <dc:creator>ssainath</dc:creator>
      <dc:date>2017-03-15T16:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Null comparison not works properly</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Null-comparison-not-works-properly/m-p/157729#M57121</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12280/gnanasekarang.html" nodeid="12280"&gt;@Gnanasekaran G&lt;/A&gt; Use the following ( &amp;lt;=&amp;gt;) operator instead of (=) operator&lt;/P&gt;&lt;P&gt;SELECT CASE WHEN (NULL&amp;lt;=&amp;gt;NULL)  THEN "equals" ELSE "not equals" end AS value;&lt;/P&gt;&lt;P&gt;Reference:&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-RelationalOperators" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-RelationalOperators&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 17:05:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Null-comparison-not-works-properly/m-p/157729#M57121</guid>
      <dc:creator>mramasami</dc:creator>
      <dc:date>2017-03-15T17:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Null comparison not works properly</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Null-comparison-not-works-properly/m-p/157730#M57122</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/12280/gnanasekarang.html"&gt;@Gnanasekaran G&lt;/A&gt; &lt;EM&gt;if this helped, please vote/accept best answer. we can close the thread&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 11:58:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Null-comparison-not-works-properly/m-p/157730#M57122</guid>
      <dc:creator>mramasami</dc:creator>
      <dc:date>2017-03-16T11:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Null comparison not works properly</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Null-comparison-not-works-properly/m-p/157731#M57123</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/1961/mramasami.html" nodeid="1961"&gt;@Murali Ramasami&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/2504/ssainath.html" nodeid="2504"&gt;@Sharmadha Sainath&lt;/A&gt; . It works for me now.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 12:39:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Null-comparison-not-works-properly/m-p/157731#M57123</guid>
      <dc:creator>gnanasekaran_g</dc:creator>
      <dc:date>2017-03-16T12:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Null comparison not works properly</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Null-comparison-not-works-properly/m-p/157732#M57124</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/12280/gnanasekarang.html" nodeid="12280"&gt;@Gnanasekaran G&lt;/A&gt; &lt;EM&gt;please accept best answer. we can close the thread&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 12:44:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Null-comparison-not-works-properly/m-p/157732#M57124</guid>
      <dc:creator>mramasami</dc:creator>
      <dc:date>2017-03-16T12:44:25Z</dc:date>
    </item>
  </channel>
</rss>

