cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

I'd like to ingest data into my ADLS from sql server in an incremental manner using Delta Live Tables.

ravinchi
New Contributor III

I'd like to ingest data into my ADLS from sql server in an incremental manner using Delta Live Tables. I do not want to use any staging tables. I was using CDC, While I call dlt.apply_changes, its asking me to specify source and target. SInce source here is a DLT table, so I need to create a dlt table first (intermediate) by reading from sql server source and then use it as source and apply CDC functionality on that table and load data into target table. But isn't it like full load from source everytime to an intermediate table in ADLS and then load to target table using CDC ? How can we achieve it without having an intermediate table ?

Is there any other way we can achieve incremental in DLT from sql server source ?

4 REPLIES 4

Geeta1
Valued Contributor

Hey @Ravindra Ch​ , even we have SAP sources and are loading currently to intermediate delta tables to move to target. I don't think there is any other way to directly move the data to target.

ravinchi
New Contributor III

Thanks @Geeta Sai Boddu​ for your suggestion. Can you share some thoughts on the approach you follwed in using CDC with an intermediate table to ingest tables dynamically if you don't mind?

Sandeep
Contributor III

Llop
New Contributor II

In our case we are trying since some weeks ago implementing a data flow ingestion pipeline via DLT which is currently done in other technologies.

We are not succeeding in use CDC. It looks to be very limited and the source data for the APPLY CHANGES INTO function doesn't allow UNIONs, some kind of JOINs, doing any intermediate action with side effects... I am thinking about posting a question here but first will investigate and see if I find any help.

Our issue resides in trying to delete gold before inserting but there's apparently no way.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group