<?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>topic Re: TIME data type in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/time-data-type/m-p/99108#M39907</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/115261"&gt;@TamD&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Basically, it's just like you've written. There is no TIME data type, so you have 2 options which you already mentioned:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;you can use Timestamp data type&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;and ignore its date part&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;nbsp; store it as string and do conversion each time you need it&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2024 10:02:09 GMT</pubDate>
    <dc:creator>szymon_dybczak</dc:creator>
    <dc:date>2024-11-18T10:02:09Z</dc:date>
    <item>
      <title>TIME data type</title>
      <link>https://community.databricks.com/t5/data-engineering/time-data-type/m-p/99058#M39898</link>
      <description>&lt;P&gt;Our business does a LOT of reporting and analysis by time-of-day and clock times, independent of day or date.&amp;nbsp; Databricks does not seem to support the TIME data type, that I can see.&amp;nbsp; If I attempt to import data recorded as a time (eg., 02:59:59.000), Databricks appends today's date to it.&amp;nbsp; The docco for the TIMESTAMP data type does not offer any options that don't have a DATE component.&lt;/P&gt;&lt;P&gt;The only alternative seems to be to import as a string, and then do some kind of conversion &lt;EM&gt;every single time&lt;/EM&gt; that data gets used anywhere -- and it's going to be used just about &lt;EM&gt;everywhere.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Does anyone have a clean solution for this?&amp;nbsp; Have I missed something obvious?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 00:48:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/time-data-type/m-p/99058#M39898</guid>
      <dc:creator>TamD</dc:creator>
      <dc:date>2024-11-18T00:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: TIME data type</title>
      <link>https://community.databricks.com/t5/data-engineering/time-data-type/m-p/99108#M39907</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/115261"&gt;@TamD&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Basically, it's just like you've written. There is no TIME data type, so you have 2 options which you already mentioned:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;you can use Timestamp data type&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;and ignore its date part&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;nbsp; store it as string and do conversion each time you need it&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 10:02:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/time-data-type/m-p/99108#M39907</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-11-18T10:02:09Z</dc:date>
    </item>
  </channel>
</rss>

