<?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 Timestamp - non-zero padded issue in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Timestamp-non-zero-padded-issue/m-p/49619#M43552</link>
    <description>&lt;P&gt;Thanks! We wrote a UDF, to handle this date convertion. It worked out well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2017 15:07:39 GMT</pubDate>
    <dc:creator>krishnat</dc:creator>
    <dc:date>2017-01-18T15:07:39Z</dc:date>
    <item>
      <title>Impala Timestamp - non-zero padded issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Timestamp-non-zero-padded-issue/m-p/46309#M43550</link>
      <description>&lt;P&gt;Hey Guys - we have data, where the timestamp field is of datatype string, the values are non-zero padded timestamps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Example:&lt;/P&gt;&lt;P&gt;1/1/2015 1:34:45 PM&lt;/P&gt;&lt;P&gt;1/10/2014 1:02:45 AM&lt;/P&gt;&lt;P&gt;11/1/2014 11:04:45 AM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When we do a cast as timestamp, we get NULL result - reason begin, impala expects the day and month values to be 2 digit, that is zero-padded. Is there a Regex function that will allow me to parse these non-zero padded timestamp to zero-padded and then convert to timestamp datatype?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:44:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Timestamp-non-zero-padded-issue/m-p/46309#M43550</guid>
      <dc:creator>krishnat</dc:creator>
      <dc:date>2022-09-16T10:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Impala Timestamp - non-zero padded issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Timestamp-non-zero-padded-issue/m-p/49579#M43551</link>
      <description>&lt;P&gt;&lt;SPAN&gt;When Hive stores a timestamp value into Parquet format, it converts local time into UTC time, and when it reads data out, it converts back to local time.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 01:46:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Timestamp-non-zero-padded-issue/m-p/49579#M43551</guid>
      <dc:creator>ZachRoes</dc:creator>
      <dc:date>2017-01-18T01:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Impala Timestamp - non-zero padded issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Timestamp-non-zero-padded-issue/m-p/49619#M43552</link>
      <description>&lt;P&gt;Thanks! We wrote a UDF, to handle this date convertion. It worked out well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 15:07:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Timestamp-non-zero-padded-issue/m-p/49619#M43552</guid>
      <dc:creator>krishnat</dc:creator>
      <dc:date>2017-01-18T15:07:39Z</dc:date>
    </item>
  </channel>
</rss>

