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 Pass Data to a Databricks App?

adam_mich
New Contributor II

I am developing a Databricks application using the Streamlit package. I was able to get a "hello world" app deployed successfully, but now I am trying to pass data that exists in the dbfs on the same instance. I try to read a csv saved to the dbfs but get a file not found error. I am assuming there is a virtual environment being setup during deployment and there is an additional step I need to do to configure the path. Thanks in advance.

18 REPLIES 18

Snentley
New Contributor II

I donโ€™t understand, there still seems to be no solution for this.
If we canโ€™t read/write files from DBFS, volumes, or workspace, whatโ€™s the point?

Yes, SQL connectors work, but what if we need to do anything beyond that?
Even saving a simple edited file becomes impossible.

These issues have been reported for over 8 months and still no progress.
Why is this still unresolved?

I used Azure Blob Storage, and this resolved the issue. Our app now contains Python files in the Databricks app environment that have access to Azure Blob Storage using Azure credentials.

old_student
New Contributor II

I used Azure Blob Storage, and this resolved the issue. Our app now contains Python files in the Databricks environment app that have access to Azure Blob Storage using Azure credentials.

swarnavenu
New Contributor II

How did you use blob storage and how did it worked?