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: 

Delete files from databricks Volumes based on trigger

amitkamthane
New Contributor II

Hi,

I noticed there's a file arrival trigger option in the workflow but cant see delete trigger option. However, let's say I want to delete files from the Databricks volume based on this trigger, and also remove the corresponding records from the bronze, silver, gold, and vector search index tables. How can we achieve this using the trigger mechanism?

3 REPLIES 3

BigRoux
Databricks Employee
Databricks Employee

Currently, Databricks doesn’t offer a built-in file deletion trigger mechanism similar to the file arrival trigger. The file arrival trigger only monitors for new files being added to a location, not for files being deleted.

Yes,  thats correct but how to do it if we want to implement delete trigger on databricks volume?

 

BigRoux
Databricks Employee
Databricks Employee

You can't at this time. It is not a feature in Databricks.  Cheers, Louis.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now