<?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: Cast string to decimal in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/cast-string-to-decimal/m-p/65982#M32980</link>
    <description>&lt;P&gt;Hi Kaniz,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;I',m expecting that the new column should be populated as NULL after the decimal conversion, if it has any characters as below example. But it is not happening when I use the same casting in my original file.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Apr 2024 08:56:04 GMT</pubDate>
    <dc:creator>_Raju</dc:creator>
    <dc:date>2024-04-10T08:56:04Z</dc:date>
    <item>
      <title>Cast string to decimal</title>
      <link>https://community.databricks.com/t5/data-engineering/cast-string-to-decimal/m-p/65796#M32922</link>
      <description>&lt;P&gt;Hello, can anyone help me with the below error.&lt;/P&gt;&lt;P&gt;I'm trying to cast the string column into decimal. When I try to do that I'm getting the "&lt;STRONG&gt;&lt;SPAN class=""&gt;Py4JJavaError: &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;An error occurred while calling t.addCustomDisplayData. : java.sql.SQLException: Status of query associated with resultSet is FAILED_WITH_ERROR. Numeric value 'WVL383' is not recognized Results not generated.&lt;/STRONG&gt;" error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The dataframe and error details are attached.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 10:52:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/cast-string-to-decimal/m-p/65796#M32922</guid>
      <dc:creator>_Raju</dc:creator>
      <dc:date>2024-04-08T10:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cast string to decimal</title>
      <link>https://community.databricks.com/t5/data-engineering/cast-string-to-decimal/m-p/65982#M32980</link>
      <description>&lt;P&gt;Hi Kaniz,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;I',m expecting that the new column should be populated as NULL after the decimal conversion, if it has any characters as below example. But it is not happening when I use the same casting in my original file.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 08:56:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/cast-string-to-decimal/m-p/65982#M32980</guid>
      <dc:creator>_Raju</dc:creator>
      <dc:date>2024-04-10T08:56:04Z</dc:date>
    </item>
  </channel>
</rss>

