CDC for Unstructured data
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2024 05:48 AM
Hi All,
how we can handle CDC for unstructured data in Databricks. What are some best practices we should follow to make this work effectively?
Regards,
Phani
Labels:
- Labels:
-
Access Delta Tables
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2024 06:11 AM
Hi @Phani1 ,
Handling CDC for unstructured data—such as audio, images, or video files—in Databricks involves efficiently detecting and processing changes to these files as they occur.
Here's how you can approach this:
- Use Databricks Autoloader: Autoloader can incrementally and efficiently process new and changed files from cloud storage like Azure Data Lake. It uses a checkpointing mechanism to track which files have been processed.
- Since delta format allows binary data can be stored in a Delta table, you may read the files with its metadata attribures (modification timestamps, checksums) and store as Delta table. The files uploaded by the autoloader may be then compared against their checksums to recognize duplicates etc.

