To read data from Azure Storage

bchaubey
Contributor II

Hi Team,

May i know how to read Azure storage data in Databricks through Python.

bchaubey
Contributor II

@Kaniz Fatma​  how can find value of mountPoint = "/mnt/<mount-name>"

bchaubey
Contributor II

%scala

df = spark.read.csv("dbfs:/mnt/country_classification.csv")

 display(df)

may i know how can find dbfs:/mnt

bchaubey
Contributor II

Hi @Kaniz Fatma​  I am facing issue during read the data. Please see the attachment

bchaubey
Contributor II

@Kaniz Fatma​  i have added correct key

@Kaniz Fatma​  I am using your code. no any error. But data is still not showing

Geoff123
New Contributor III

Kaniz,

I kept getting "org.apache.spark.SparkSecurityException: [INSUFFICIENT_PERMISSIONS] Insufficient privileges:" with the same codes.  Do you know why?

Thanks!

bchaubey
Contributor II

@Kaniz Fatma​  now it is working fine. Thank you so much @Kaniz Fatma​ 

bchaubey
Contributor II

@Kaniz Fatma​  need full syllabus of Azure Databricks