<?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 Impala - bug timestamp in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-bug-timestamp/m-p/23992#M4729</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By doing these 2 queries I get the same result (1412640000):&lt;/P&gt;&lt;P&gt;select unix_timestamp(&lt;STRONG&gt;'2014-10-07 00:00:00.209'&lt;/STRONG&gt;,'yyyy-MM-dd HH:mm:ss.SSS') as date_event from&amp;nbsp;myTable;&lt;/P&gt;&lt;P&gt;select unix_timestamp(&lt;STRONG&gt;'2014-10-07 00:00:00.100'&lt;/STRONG&gt;,'yyyy-MM-dd HH:mm:ss.SSS') as date_event from&amp;nbsp;&lt;SPAN&gt;myTable;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, by doing I get&amp;nbsp;1412640001&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;select unix_timestamp(&lt;STRONG&gt;'2014-10-07 00:00:01.100'&lt;/STRONG&gt;,'yyyy-MM-dd HH:mm:ss.SSS') as date_event from&amp;nbsp;&lt;SPAN&gt;myTable; the timestamp changes well;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have the feeling that the seconds are not taken into account,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My Impalad version is 2.1.0-cdh5&amp;nbsp;(build e48c2b48c53ea9601b8f47a39373aa83ff7ca6e2)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 09:20:06 GMT</pubDate>
    <dc:creator>AlinaGHERMAN</dc:creator>
    <dc:date>2022-09-16T09:20:06Z</dc:date>
    <item>
      <title>Impala - bug timestamp</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-bug-timestamp/m-p/23992#M4729</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By doing these 2 queries I get the same result (1412640000):&lt;/P&gt;&lt;P&gt;select unix_timestamp(&lt;STRONG&gt;'2014-10-07 00:00:00.209'&lt;/STRONG&gt;,'yyyy-MM-dd HH:mm:ss.SSS') as date_event from&amp;nbsp;myTable;&lt;/P&gt;&lt;P&gt;select unix_timestamp(&lt;STRONG&gt;'2014-10-07 00:00:00.100'&lt;/STRONG&gt;,'yyyy-MM-dd HH:mm:ss.SSS') as date_event from&amp;nbsp;&lt;SPAN&gt;myTable;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, by doing I get&amp;nbsp;1412640001&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;select unix_timestamp(&lt;STRONG&gt;'2014-10-07 00:00:01.100'&lt;/STRONG&gt;,'yyyy-MM-dd HH:mm:ss.SSS') as date_event from&amp;nbsp;&lt;SPAN&gt;myTable; the timestamp changes well;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have the feeling that the seconds are not taken into account,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My Impalad version is 2.1.0-cdh5&amp;nbsp;(build e48c2b48c53ea9601b8f47a39373aa83ff7ca6e2)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:20:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-bug-timestamp/m-p/23992#M4729</guid>
      <dc:creator>AlinaGHERMAN</dc:creator>
      <dc:date>2022-09-16T09:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Impala - bug timestamp</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-bug-timestamp/m-p/23997#M4730</link>
      <description>&lt;P&gt;Hi, Alina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;S&lt;SPAN&gt;econds are taken into unix times, not miliseconds.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;select unix_timestamp('2014-10-07 00:00:00.999','yyyy-MM-dd HH:mm:ss.SSS') = unix_timestamp('2014-10-07 00:00:00.100','yyyy-MM-dd HH:mm:ss.SSS')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Result: True&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can check it here&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.onlineconversion.com/unix_time.htm"&gt;http://www.onlineconversion.com/unix_time.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FYI&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://en.wikipedia.org/wiki/Unix_time"&gt;http://en.wikipedia.org/wiki/Unix_time&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2015 14:19:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-bug-timestamp/m-p/23997#M4730</guid>
      <dc:creator>UkrZilla</dc:creator>
      <dc:date>2015-01-23T14:19:54Z</dc:date>
    </item>
  </channel>
</rss>

