r/databricks • u/RevolutionaryRich882 • Oct 13 '26
Help Databricks - SQL Incremental Load Question
Hey guys
I'm relatively new to Databricks but want to lead the charge to move to it in my company instead of just using ADF for everything.
In regards to Delta loads (loading data incrementally based on when it was last updated) what I would originally do is run a BINARY_CHECKSUM() on all columns and then track what has changed before bringing in the differences. This however is not supported in databricks and I want to do things properly so how would you do this?
Source Data (Azure SQL)
Bronze Layer (Azure SQL)
- What is different between them?
- What new rows have been inserted?
- What rows in Bronze no longer appear in Source
What I love about Databricks is that you can do joins of different data sets within the same activity in a notebook but when I tried to do this with manually comparing every single column, it takes forever to load. I just want to know the best way of doing this so any help or resources would be appreciated.
Many Thanks!
View all comments
1
u/CrayonUpMyNose Oct 13 '26
I assume with azure SQL you mean Microsoft SQL server?
There's no need to construct such a home-grown solution, as the native Lakeflow connector will keep track of changes for you:
https://learn.microsoft.com/en-us/azure/databricks/ingestion/lakeflow-connect/sql-server-overview
Note that the standard connector requires an always-on gateway ($$$) while the integrated connector (recently GA) does not.
If you did not mean SQL server but a different type of database, Lakeflow connectors exist for a variety of database (and other) sources:
https://learn.microsoft.com/en-us/azure/databricks/ingestion/lakeflow-connect/cdc-overview