11-07-2022 10:07 PM
Guys, I am using "Databricks Community" to study. I put some files in a Blob, granted all access but I have no ideia why DB is not reading. Please see the code below and thanks for helping!
thanks!
11-08-2022 01:45 PM
Guys, i found the problem! ****, databricks! Hhahaha
First i went to datalake and set all access to public/grant all user owner access..
I already mounted before.. So after this changes you will need to
Unmount and then Mount again!
Yeah, after that it let me read the CSV! Hope it helps someone one day! hahaha
UNMOUNT:
dbutils.fs.unmount("/mnt/formula1d4t4lake/raw")
MOUNT:
container_name = "raw"
dbutils.fs.mount(
source = f"abfss://{container_name}@{storage_account_name}.dfs.core.windows.net",
mount_point = f"/mnt/{storage_account_name}/{container_name}",
extra_configs = configs)
11-08-2022 01:58 AM
Hi @Fernando Rezende ,
can you please expand the whole error? It might be easier to find out why.
thanks,
Pat.
11-08-2022 07:20 AM
11-08-2022 01:45 PM
Guys, i found the problem! ****, databricks! Hhahaha
First i went to datalake and set all access to public/grant all user owner access..
I already mounted before.. So after this changes you will need to
Unmount and then Mount again!
Yeah, after that it let me read the CSV! Hope it helps someone one day! hahaha
UNMOUNT:
dbutils.fs.unmount("/mnt/formula1d4t4lake/raw")
MOUNT:
container_name = "raw"
dbutils.fs.mount(
source = f"abfss://{container_name}@{storage_account_name}.dfs.core.windows.net",
mount_point = f"/mnt/{storage_account_name}/{container_name}",
extra_configs = configs)
11-09-2022 07:08 AM
Hi @Fernando Rezende, Thank you for sharing the solution with us.
It would mean a lot if you could select the "Best Answer" to help others find the correct answer faster.
This makes that answer appear right after the question, so it's easier to find within a thread.
It also helps us mark the question as answered so we can have more eyes helping others with unanswered questions.
Can I count on you?
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.