<?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: Value in Date Column is NULL in HIVE in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Value-in-Date-Column-is-NULL-in-HIVE/m-p/31577#M7220</link>
    <description>&lt;P&gt;Congratulations on finding the solution. Thank you for sharing it in case others run across the same issue. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 06 Sep 2015 13:12:15 GMT</pubDate>
    <dc:creator>cjervis</dc:creator>
    <dc:date>2015-09-06T13:12:15Z</dc:date>
    <item>
      <title>Value in Date Column is NULL in HIVE</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Value-in-Date-Column-is-NULL-in-HIVE/m-p/31545#M7218</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have date column in PIG. I have converted the date column from string to Date using "ToDate" function in PIG. However, when I am trying to&lt;/P&gt;&lt;P&gt;import that data in HIVE, I am getting NULL values. I have checked the date format in PIG and HIVE they are different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So is their any way to make the date format same in PIG and HIVE. Or what could be the other way to store the Date into HIVE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My date format in text file is : 2014 10 15 17:10:13.728&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if any further information is required from my side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neeraj&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:39:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Value-in-Date-Column-is-NULL-in-HIVE/m-p/31545#M7218</guid>
      <dc:creator>Neeraj</dc:creator>
      <dc:date>2022-09-16T09:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Value in Date Column is NULL in HIVE</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Value-in-Date-Column-is-NULL-in-HIVE/m-p/31575#M7219</link>
      <description>&lt;P&gt;I Have found the solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have converted the string in desired format (which hive requires (yyyy-MM-dd HH:mm:ss)) and then imported that formatted&lt;/P&gt;&lt;P&gt;string into HIVE and it works pretty well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neeraj&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Sep 2015 15:44:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Value-in-Date-Column-is-NULL-in-HIVE/m-p/31575#M7219</guid>
      <dc:creator>Neeraj</dc:creator>
      <dc:date>2015-09-05T15:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Value in Date Column is NULL in HIVE</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Value-in-Date-Column-is-NULL-in-HIVE/m-p/31577#M7220</link>
      <description>&lt;P&gt;Congratulations on finding the solution. Thank you for sharing it in case others run across the same issue. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Sep 2015 13:12:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Value-in-Date-Column-is-NULL-in-HIVE/m-p/31577#M7220</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2015-09-06T13:12:15Z</dc:date>
    </item>
  </channel>
</rss>

