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

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.