cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Autoloader not detecting changes/updated values for xml file

test_123
New Contributor

if i update the value in xml then autoloader not detecting the changes.
same for delete/remove column or property in xml.  So request to you please help me to fix this issue

1 REPLY 1

Walter_C
Valued Contributor II
Valued Contributor II

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.

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.

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.

As a workaround, you could manually set the schema in the Autoloader.