VZLA
Databricks Employee
Databricks Employee
  • Ensure Unique Timestamps: Verify that each file update includes a unique modification timestamp, as this can help DLT detect and reprocess updated files.
  • Use cloudFiles.validateOptions: Set "cloudFiles.validateOptions": "true" to help DLT verify files more strictly against changes.
  • Monitor DLT Logs: Check the logs to confirm that DLT is detecting each file update. Any skipped file updates should log a reason, which may help pinpoint the cause.

This combination of Auto Loader caching, file deduplication, and potential concurrency overlap could be behind the ~2% miss rate you’re seeing. Checking and adjusting these areas should help improve re-insertion consistency.

If none of the above is feasible, I would like to suggest reaching out to our support team for a better use case evaluation and consider all possible options, as there many other aspects to consider here, e.g.: use of Photon, DBR release version, check if input files are mutated, the files update frequency, etc.