<?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: Dataframe to update subset of fields in table... in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/dataframe-to-update-subset-of-fields-in-table/m-p/29463#M21189</link>
    <description>&lt;P&gt;Read your CSV as a dataframe and than make update using Merge (upsert).&lt;/P&gt;</description>
    <pubDate>Tue, 11 Oct 2022 14:07:22 GMT</pubDate>
    <dc:creator>Hubert-Dudek</dc:creator>
    <dc:date>2022-10-11T14:07:22Z</dc:date>
    <item>
      <title>Dataframe to update subset of fields in table...</title>
      <link>https://community.databricks.com/t5/data-engineering/dataframe-to-update-subset-of-fields-in-table/m-p/29462#M21188</link>
      <description>&lt;P&gt;I have a table that I'll update with multiple inputs (csv).  Is there a simple way to update my target when the source fields won't be a 1:1 match?  Another challenge I've run into is that my sources don't have a header field, though I guess I could rename the columns if this would be beneficial. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point, I've created a blank dataframe based on a schema and then tried to .copy the source columns into the empty df.  However, when I do this I get a warning from DB telling me that this is inefficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 20:23:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dataframe-to-update-subset-of-fields-in-table/m-p/29462#M21188</guid>
      <dc:creator>plynton</dc:creator>
      <dc:date>2022-10-03T20:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dataframe to update subset of fields in table...</title>
      <link>https://community.databricks.com/t5/data-engineering/dataframe-to-update-subset-of-fields-in-table/m-p/29463#M21189</link>
      <description>&lt;P&gt;Read your CSV as a dataframe and than make update using Merge (upsert).&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 14:07:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dataframe-to-update-subset-of-fields-in-table/m-p/29463#M21189</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-10-11T14:07:22Z</dc:date>
    </item>
  </channel>
</rss>

