<?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 Importing Timestamp values returning nulls in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Importing-Timestamp-values-returning-nulls/m-p/62250#M71858</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm attemtping to import a csv file into a table into Hadoop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file has imported but the fields with a timestamp field have returned as null for all rows (no nulls in original file).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've currently formatted the columns in the csv file as custom format yyyy-mm-dd hh:dd:ss&lt;/P&gt;&lt;P&gt;and set the field in the Hadoop table as a timestamp. Presumably the excel format isn't being recognised.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I resolve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 13:45:14 GMT</pubDate>
    <dc:creator>Stroop</dc:creator>
    <dc:date>2026-04-21T13:45:14Z</dc:date>
    <item>
      <title>Importing Timestamp values returning nulls</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Importing-Timestamp-values-returning-nulls/m-p/62250#M71858</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm attemtping to import a csv file into a table into Hadoop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file has imported but the fields with a timestamp field have returned as null for all rows (no nulls in original file).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've currently formatted the columns in the csv file as custom format yyyy-mm-dd hh:dd:ss&lt;/P&gt;&lt;P&gt;and set the field in the Hadoop table as a timestamp. Presumably the excel format isn't being recognised.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I resolve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 13:45:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Importing-Timestamp-values-returning-nulls/m-p/62250#M71858</guid>
      <dc:creator>Stroop</dc:creator>
      <dc:date>2026-04-21T13:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Timestamp values returning nulls</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Importing-Timestamp-values-returning-nulls/m-p/62270#M71859</link>
      <description>&lt;P&gt;The standard timestamp format is"&lt;SPAN&gt;yyyy-MM-dd HH:mm:ss[.SSSSSS]". Is there any warning printed when selecting from this table? Could you share a sample row&amp;nbsp;in the text file?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 22:39:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Importing-Timestamp-values-returning-nulls/m-p/62270#M71859</guid>
      <dc:creator>tianyiwang</dc:creator>
      <dc:date>2017-11-27T22:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Timestamp values returning nulls</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Importing-Timestamp-values-returning-nulls/m-p/62296#M71860</link>
      <description>&lt;P&gt;Example of the field is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;27/01/2016&amp;nbsp; 11:25:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;None of the fields have any second values. They're all 00.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Within the file it's formatted as&amp;nbsp;dd/mm/yyyy hh:mm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried changing it to yyyy-mm-dd hh:mm:ss but when I do that, save and re-open it's reverted to the original format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can upload into a text field (and it appears as &lt;SPAN&gt;27/01/2016&amp;nbsp; 11:25)&amp;nbsp;&lt;/SPAN&gt;but then if I cast the field as a timestamp it then returns null values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 14:04:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Importing-Timestamp-values-returning-nulls/m-p/62296#M71860</guid>
      <dc:creator>Stroop</dc:creator>
      <dc:date>2017-11-28T14:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Timestamp values returning nulls</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Importing-Timestamp-values-returning-nulls/m-p/62310#M71861</link>
      <description>&lt;P&gt;You can create a table with a text column first, and then use to_timestamp to convert it into a table with a timestamp column.&lt;/P&gt;&lt;PRE&gt;create table timestamp_table as select column_1, column_2, to_timestamp(column_3, "dd/MM/yyyy HH:mm") from text_table;&lt;/PRE&gt;&lt;P&gt;For documentations on timestamp-related functions, please visit&amp;nbsp;&lt;A href="https://impala.apache.org/docs/build/html/topics/impala_datetime_functions.html" target="_self"&gt;https://impala.apache.org/docs/build/html/topics/impala_datetime_functions.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 19:29:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Importing-Timestamp-values-returning-nulls/m-p/62310#M71861</guid>
      <dc:creator>tianyiwang</dc:creator>
      <dc:date>2017-11-28T19:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Timestamp values returning nulls</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Importing-Timestamp-values-returning-nulls/m-p/62411#M71862</link>
      <description>&lt;P&gt;Thanks, this function worked&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 11:52:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Importing-Timestamp-values-returning-nulls/m-p/62411#M71862</guid>
      <dc:creator>Stroop</dc:creator>
      <dc:date>2017-12-01T11:52:40Z</dc:date>
    </item>
  </channel>
</rss>

