<?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 Hi I am trying to change datatype of DOB column from stringtype to DateType but getting issue in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/hi-i-am-trying-to-change-datatype-of-dob-column-from-stringtype/m-p/76189#M7612</link>
    <description>&lt;P&gt;Hi I am trying to change datatype of DOB column from String type to DateType but getting issue&lt;BR /&gt;"&lt;SPAN&gt;SparkUpgradeException: [] You may get a different result due to the upgrading to Spark &amp;gt;= 3.0: Caused by: DateTimeParseException: Text '7/8/1972' could not be parsed at index 0"&lt;BR /&gt;&lt;BR /&gt;I have attached screenshots for your reference. Can someone help. I know this is a silly doubt but help is really appreciated ! Thanks in advance&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-06-30 at 6.50.42 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9045i379BB65986353AAC/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-30 at 6.50.42 PM.png" alt="Screenshot 2024-06-30 at 6.50.42 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-06-30 at 6.50.57 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9044i0938A7ED47AAEA31/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-30 at 6.50.57 PM.png" alt="Screenshot 2024-06-30 at 6.50.57 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-06-30 at 6.51.01 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9048i0C514E6240E0C87F/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-30 at 6.51.01 PM.png" alt="Screenshot 2024-06-30 at 6.51.01 PM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 30 Jun 2024 13:33:55 GMT</pubDate>
    <dc:creator>parakh17</dc:creator>
    <dc:date>2024-06-30T13:33:55Z</dc:date>
    <item>
      <title>Hi I am trying to change datatype of DOB column from stringtype to DateType but getting issue</title>
      <link>https://community.databricks.com/t5/get-started-discussions/hi-i-am-trying-to-change-datatype-of-dob-column-from-stringtype/m-p/76189#M7612</link>
      <description>&lt;P&gt;Hi I am trying to change datatype of DOB column from String type to DateType but getting issue&lt;BR /&gt;"&lt;SPAN&gt;SparkUpgradeException: [] You may get a different result due to the upgrading to Spark &amp;gt;= 3.0: Caused by: DateTimeParseException: Text '7/8/1972' could not be parsed at index 0"&lt;BR /&gt;&lt;BR /&gt;I have attached screenshots for your reference. Can someone help. I know this is a silly doubt but help is really appreciated ! Thanks in advance&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-06-30 at 6.50.42 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9045i379BB65986353AAC/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-30 at 6.50.42 PM.png" alt="Screenshot 2024-06-30 at 6.50.42 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-06-30 at 6.50.57 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9044i0938A7ED47AAEA31/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-30 at 6.50.57 PM.png" alt="Screenshot 2024-06-30 at 6.50.57 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-06-30 at 6.51.01 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9048i0C514E6240E0C87F/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-30 at 6.51.01 PM.png" alt="Screenshot 2024-06-30 at 6.51.01 PM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jun 2024 13:33:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/hi-i-am-trying-to-change-datatype-of-dob-column-from-stringtype/m-p/76189#M7612</guid>
      <dc:creator>parakh17</dc:creator>
      <dc:date>2024-06-30T13:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Hi I am trying to change datatype of DOB column from stringtype to DateType but getting issue</title>
      <link>https://community.databricks.com/t5/get-started-discussions/hi-i-am-trying-to-change-datatype-of-dob-column-from-stringtype/m-p/76230#M7613</link>
      <description>&lt;P&gt;It's because the format you're using it wrong. Use `&lt;SPAN&gt;'M/d/yyyy'` instead.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 08:24:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/hi-i-am-trying-to-change-datatype-of-dob-column-from-stringtype/m-p/76230#M7613</guid>
      <dc:creator>Witold</dc:creator>
      <dc:date>2024-07-01T08:24:22Z</dc:date>
    </item>
  </channel>
</rss>

