cancel
Showing results for 
Search instead for 
Did you mean: 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

Ingesting Non-Incremental Data into Delta

anonymous_567
New Contributor II

Hello,

I have non-incremental data landing in a storage account. This data contains old data from before as well as new data. I would like to avoid doing a complete table deletion and table creation just to upload the data from storage and have an updated table. I want to be able to scan the data file, check where the new data begins, and ingest only the new data and append that to my existing delta table. Is there a method in which I can go about this type of data ingestion?

1 REPLY 1

AmanSehgal
Honored Contributor III

Well, if you know the conditions to separate new data from old data, then while reading the data in to your dataframe, use filter or where clause to select new data and ingest it in to your delta table.

This is how you can do in general. But if you have a complex use case, then please provide samples of your dataset.

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