<?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 not detecting changes/updated values for xml file in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/autoloader-not-detecting-changes-updated-values-for-xml-file/m-p/64312#M32530</link>
    <description>&lt;P&gt;&lt;SPAN&gt; It seems that the issue you're experiencing with Autoloader not detecting changes in XML files might be related to how Autoloader handles schema inference and evolution.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Autoloader can automatically detect the schema of loaded XML data, allowing you to initialize tables without explicitly declaring the data schema and evolve the table schema as new columns are introduced. However, when Autoloader detects a new column, the stream stops with an UnknownFieldException. This behavior is designed to prevent data loss due to schema changes that Autoloader might not handle correctly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In your case, when you update the value in XML or delete/remove a column or property in XML, Autoloader might not be able to detect these changes because it's not designed to handle schema changes beyond the addition of new columns.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;As a workaround, you could manually set the schema in the Autoloader.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Mar 2024 16:50:07 GMT</pubDate>
    <dc:creator>Walter_C</dc:creator>
    <dc:date>2024-03-21T16:50:07Z</dc:date>
    <item>
      <title>Autoloader not detecting changes/updated values for xml file</title>
      <link>https://community.databricks.com/t5/data-engineering/autoloader-not-detecting-changes-updated-values-for-xml-file/m-p/64266#M32511</link>
      <description>&lt;P&gt;if i update the value in xml then autoloader not detecting the changes.&lt;BR /&gt;same for delete/remove column or property in xml.&amp;nbsp; So request to you please help me to fix this issue&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 10:03:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/autoloader-not-detecting-changes-updated-values-for-xml-file/m-p/64266#M32511</guid>
      <dc:creator>test_123</dc:creator>
      <dc:date>2024-03-21T10:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Autoloader not detecting changes/updated values for xml file</title>
      <link>https://community.databricks.com/t5/data-engineering/autoloader-not-detecting-changes-updated-values-for-xml-file/m-p/64312#M32530</link>
      <description>&lt;P&gt;&lt;SPAN&gt; It seems that the issue you're experiencing with Autoloader not detecting changes in XML files might be related to how Autoloader handles schema inference and evolution.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Autoloader can automatically detect the schema of loaded XML data, allowing you to initialize tables without explicitly declaring the data schema and evolve the table schema as new columns are introduced. However, when Autoloader detects a new column, the stream stops with an UnknownFieldException. This behavior is designed to prevent data loss due to schema changes that Autoloader might not handle correctly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In your case, when you update the value in XML or delete/remove a column or property in XML, Autoloader might not be able to detect these changes because it's not designed to handle schema changes beyond the addition of new columns.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;As a workaround, you could manually set the schema in the Autoloader.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 16:50:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/autoloader-not-detecting-changes-updated-values-for-xml-file/m-p/64312#M32530</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-03-21T16:50:07Z</dc:date>
    </item>
  </channel>
</rss>

