<?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: Autoloader creates columns not present in the source in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/autoloader-creates-columns-not-present-in-the-source/m-p/13847#M8434</link>
    <description>&lt;P&gt;Hi, Could you please provide a screenshot (before and after) and also, if possible, notebook content?&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jan 2023 20:05:19 GMT</pubDate>
    <dc:creator>Debayan</dc:creator>
    <dc:date>2023-01-09T20:05:19Z</dc:date>
    <item>
      <title>Autoloader creates columns not present in the source</title>
      <link>https://community.databricks.com/t5/data-engineering/autoloader-creates-columns-not-present-in-the-source/m-p/13846#M8433</link>
      <description>&lt;P&gt;I have been exploring Autoloader to ingest gzipped JSON files from an S3 source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The notebook fails in the first run due to schema mismatch, after re-running the notebook, the schema evolves and the ingestion runs successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On analysing the schema for the delta table created as a  result of the ingestion, I found there are two new columns `id` and `optionsDefaults`.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These columns are not there in the original data, nor do they contain any value and are just nulls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something I might be missing out on...?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 17:51:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/autoloader-creates-columns-not-present-in-the-source/m-p/13846#M8433</guid>
      <dc:creator>ks1248</dc:creator>
      <dc:date>2023-01-03T17:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Autoloader creates columns not present in the source</title>
      <link>https://community.databricks.com/t5/data-engineering/autoloader-creates-columns-not-present-in-the-source/m-p/13849#M8436</link>
      <description>&lt;P&gt;Hi @Debayan Mukherjee​&amp;nbsp;, @Kaniz Fatma​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for replying to my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to figure out the issue. I was creating the schema and checkpoint folders in the same path as the source location for the autoloader. This caused the schema to change every time the autoloader notebook ran as the source data now included schema and checkpoint metadata as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fixed this by providing a location for schema and checkpoint different from the source location.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 10:26:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/autoloader-creates-columns-not-present-in-the-source/m-p/13849#M8436</guid>
      <dc:creator>ks1248</dc:creator>
      <dc:date>2023-01-13T10:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Autoloader creates columns not present in the source</title>
      <link>https://community.databricks.com/t5/data-engineering/autoloader-creates-columns-not-present-in-the-source/m-p/13847#M8434</link>
      <description>&lt;P&gt;Hi, Could you please provide a screenshot (before and after) and also, if possible, notebook content?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 20:05:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/autoloader-creates-columns-not-present-in-the-source/m-p/13847#M8434</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2023-01-09T20:05:19Z</dc:date>
    </item>
  </channel>
</rss>

