I am using Azure Databricks to make a delta table in Azure Blob Storage using ADLS Gen2 but i am getting the error "Failure to initialize configurationInvalid configuration value detected for fs.azure.account.key" on last line
%scala
spark.conf.set(
"fs.azure.account.oauth2.client.secret",
"<storage-account-access-key>")
friends = spark.read.csv('myfile/fakefriends-header.csv',
inferSchema = True, header = True)
friends.write.format("delta").mode('overwrite')\
.save("abfss://[email protected]/myfile/friends_new")
Please help me out how can i avoid this error
storage access key
could be used only when you're usingwasbs
; how did you derive the info? I know wasbs is not recommended to be used any more. – Cosmonaut