Checking your account

You can read the lesson while its saved answers and constructions load. Learning controls will open once that work is ready.

A Retried File Should Not Become New Training Data

Why Finding a File Was Not the Same as Finishing It

BOTIE

As cloud storage filled with incoming files, repeatedly listing every directory became an expensive way to discover the next input. Teams also had to remember which discoveries had actually reached their output after failures and retries.

Databricks announced Auto Loader in public preview in February 2020 to handle incremental discovery and loading of files from cloud storage. It is a file source used with Spark streaming, with checkpointed progress so a restarted query can continue. A checkpoint is the durable recovery record for that query; it has to work with the destination’s commit behaviour.

That distinction is what we will build. A discovery says there is a file to consider. A completed-file record says its effect belongs in the committed output. Keeping the output rows and progress together prevents a lost acknowledgement from becoming a second copy of the observations.

Sources for this history