<?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 Uploading Data into Databricks from CSV - Puts Amount column as a string in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/uploading-data-into-databricks-from-csv-puts-amount-column-as-a/m-p/48256#M28263</link>
    <description>&lt;P&gt;I am attempting in ingesting data into databricks via CSV, with the following statement below, this brings in my data looking perfect:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ethn_1-1696445292620.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4253iAA00D830338D8D75/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Ethn_1-1696445292620.png" alt="Ethn_1-1696445292620.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Although, the bad part is I have to group this data by summing highlighted amt field. Given it is string it spits out all kinds of nulls/0. I then try to change to integer I get the following, it seems as if any values with commas it nulls out (the sum should be displaying the amount of qty * UP):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ethn_4-1696445675049.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4256i9B224C068FE94899/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Ethn_4-1696445675049.png" alt="Ethn_4-1696445675049.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What statements would be helpful in fixing my issue of being able to change this from string to integer without messing up any values?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Oct 2023 18:56:50 GMT</pubDate>
    <dc:creator>Ethn</dc:creator>
    <dc:date>2023-10-04T18:56:50Z</dc:date>
    <item>
      <title>Uploading Data into Databricks from CSV - Puts Amount column as a string</title>
      <link>https://community.databricks.com/t5/data-engineering/uploading-data-into-databricks-from-csv-puts-amount-column-as-a/m-p/48256#M28263</link>
      <description>&lt;P&gt;I am attempting in ingesting data into databricks via CSV, with the following statement below, this brings in my data looking perfect:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ethn_1-1696445292620.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4253iAA00D830338D8D75/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Ethn_1-1696445292620.png" alt="Ethn_1-1696445292620.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Although, the bad part is I have to group this data by summing highlighted amt field. Given it is string it spits out all kinds of nulls/0. I then try to change to integer I get the following, it seems as if any values with commas it nulls out (the sum should be displaying the amount of qty * UP):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ethn_4-1696445675049.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4256i9B224C068FE94899/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Ethn_4-1696445675049.png" alt="Ethn_4-1696445675049.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What statements would be helpful in fixing my issue of being able to change this from string to integer without messing up any values?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 18:56:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/uploading-data-into-databricks-from-csv-puts-amount-column-as-a/m-p/48256#M28263</guid>
      <dc:creator>Ethn</dc:creator>
      <dc:date>2023-10-04T18:56:50Z</dc:date>
    </item>
  </channel>
</rss>

