cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

How to read a local file using Databricks( file stored in your own computer)

andrew0117
Contributor

without uploading the file into dbfs? Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

Hubert-Dudek
Esteemed Contributor III

In my opinion, it doesn't make sense, but...

you can Mount SMB Azure file share on a Windows Machine https://learn.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows and then mount the same folder on databricks using pip install azure-storage-file

This VSCode extension has Dbfs integration, so you can use it from your local machine (but the file will anyway finish on dbfs) https://marketplace.visualstudio.com/items?itemName=paiqo.databricks-vscode.

View solution in original post

1 REPLY 1

Hubert-Dudek
Esteemed Contributor III

In my opinion, it doesn't make sense, but...

you can Mount SMB Azure file share on a Windows Machine https://learn.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows and then mount the same folder on databricks using pip install azure-storage-file

This VSCode extension has Dbfs integration, so you can use it from your local machine (but the file will anyway finish on dbfs) https://marketplace.visualstudio.com/items?itemName=paiqo.databricks-vscode.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.