PacktPublishing / Essential-PySpark-for-Scalable-Data-Analytics

Essential PySpark for Scalable Data Analytics, published by Packt
MIT License
41 stars 38 forks source link

Databricks FilesStore #1

Open kmsnyde opened 11 months ago

kmsnyde commented 11 months ago

How do I access the dbfs:/FileStore/... data in Databricks so that I may follow along with the book? When I try to find it list any of it I get an error like the following:

%fs ls dbfs:/FileStore/shared_uploads/images/ FileNotFoundException: /FileStore/shared_uploads/images

AnshuTrivedi commented 1 month ago

Hi @kmsnyde Go to upload File -> Upload data to DBFS you will see dir like this shared_uploads/anshutrivedik@gmail.com/ now remove email name it images now it becomes shared_uploads/images/ now upload any images files in this directory. You will be able to see these images.

Hope it helps you ! Happy Learning