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:ย 

Testing Databricks Auto Loader File Notification (File Event) in Public Preview - Spark Termination

dawn-dot-py
New Contributor II

I tried to test the Databricks Auto Loader file notification (file event) feature, which is currently in public preview, using a notebook for work purposes. However, when I ran display(df), Spark terminated and threw the error shown in the attached image.

Is the file event mode in the public preview phase currently not operational? I am still learning about Databricks, so I am asking here for help.

dawndotpy_0-1754542620496.png

1 ACCEPTED SOLUTION

Accepted Solutions

Advika
Databricks Employee
Databricks Employee

Hello @dawn-dot-py!

Auto Loaderโ€™s managed file events are indeed in Public Preview, but theyโ€™re available to allowlisted workspaces. The error you encountered means your workspace hasnโ€™t been enrolled in the preview, which is expected unless youโ€™ve been granted access.
To use this feature, you can reach out to Databricks Support or your account team to request enrollment. Until then, you can set cloudFiles.useManagedFileEvents=false.

https://docs.databricks.com/aws/en/ingestion/cloud-object-storage/auto-loader/file-notification-mode...

View solution in original post

1 REPLY 1

Advika
Databricks Employee
Databricks Employee

Hello @dawn-dot-py!

Auto Loaderโ€™s managed file events are indeed in Public Preview, but theyโ€™re available to allowlisted workspaces. The error you encountered means your workspace hasnโ€™t been enrolled in the preview, which is expected unless youโ€™ve been granted access.
To use this feature, you can reach out to Databricks Support or your account team to request enrollment. Until then, you can set cloudFiles.useManagedFileEvents=false.

https://docs.databricks.com/aws/en/ingestion/cloud-object-storage/auto-loader/file-notification-mode...