re: dbfs on free edition

smpa01
Contributor

Thank you very much for the new free edition.

I have a question related to dbfs.

Am I to understand that dbfs is disabled in this edition and one needs to bring their own storage. I tried this and failed. What do I need to do in order to be able to use dbfs in the free edition.

dbutils.fs.mkdirs("dbfs:/test_folder")

# ExecutionError: Public DBFS root is disabled. Access is denied on path: /test_folder

Thank you very much in advance.

szymon_dybczak
Esteemed Contributor III

Hi @smpa01 ,

In Free Edition dbfs is disabled. You should use Unity Catalog for that purpose anyway. DBFS is depracated pattern of interacting with storage.

So, to use volume perform following steps:

Go to Catalgos (1) -> Click workspace catalog (2) -> Click default schema -> Clikc Create button (3)

On the Create button (3) you will have an option to create volume. Pick a name and then create volume.

szymon_dybczak_0-1752681384667.png

 

szymon_dybczak_1-1752681384811.png

 

If you did that, your new volume should appear in Unity Catalog under default schema. Now you will have an option to upload file to Volume:

 

szymon_dybczak_2-1752681384844.png

 

And here's an example of how to read csv from volume into dataframe:

 

szymon_dybczak_3-1752681384813.png

 

 

View solution in original post

smpa01
Contributor

Many thanks, I just realized after creating the post through resource 

 

 

szymon_dybczak
Esteemed Contributor III

Hi @smpa01 ,

No problem, happy to help