SpinTheMic
Pro

Explain it in 60 seconds

Auto Loader schema evolution and rescued data

Data Engineering · Databricks · Intermediate

How does Auto Loader handle schema changes in incoming files?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Schema is inferred and stored at cloudFiles.schemaLocation.
  • Default mode addNewColumns stops the stream on new columns, then restarts with the updated schema.
  • Other modes: rescue, failOnNewColumns, none.
  • The _rescued_data column captures values that don't match the schema.
  • Schema hints let you fix types for known columns.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics